M365 Excel (.gov.sg Agencies only)
What is M365 Excel?
M365 Excel is a spreadsheet program used to organize, format, and analyse data using tables, calculations, formulas and graphs. It's part of the Microsoft Office suite and is widely used for tasks like data entry, accounting, financial analysis, and more.
What to take note?
Storage is shared across all Plumber users, so please use this action with care. Old version history is cleared after 90 days of inactivity, but this only clears version history, not the file itself. Your Excel file and its current data are never deleted, no matter how long it goes untouched, so if a pipe is only used once a year (e.g. an annual event), the file will still be there and the pipe will still work.
Your file needs a sensitivity label of Restricted or Sensitive-Normal or lower. Files with no label, or a higher label (e.g. Sensitive-High), can't be used with the M365 Excel action.
Executions are queued to keep things fair. If many executions are running on the same file, your changes may take a bit longer to go through.
We may pause your pipe from using Excel if it:
runs a large number of actions in a short time, or
stores large files in your Plumber folder.
Need more than this? If you need large files (over 500MB) or more than 100 Excel actions per 10 minutes, contact us at go.gov.sg/plumber-support so we can help you avoid disruption.
Setting up M365 Excel connection (one-time)
To get started, you need to perform a one-time configuration to connect your Plumber account to M365. This will create a shared folder, known as your "Plumber folder," where you can place Excel files for Plumber to access.
Follow the steps below to set up the configuration.
Part 1: Configure on Plumber
Select "Add step" in the pipe editor

Select “M365 Excel” action

Then select the “Create table row” action (or any action you require)

Click on "Connect" and we will create a folder for you to use on the SharePoint site

Click on "Ok, got it!" and the connection is completed. You can now perform M365 excel actions on Plumber!

Part 2: Start creating or moving Excel files into your Plumber folder on the SharePoint site
Go to your OneDrive on the SG Govt SharePoint, and click on the “Shared” link

You will see a new folder named with your email. The subtitle of that folder will be Plumber (OGP). Any Excel files placed in this folder can be processed in a plumber pipe. We recommend that you star this folder for easy access.

You can create a new excel file via the “Add New” button, or move an existing excel file to this folder.


Available Actions
You’ll need a table to use any of the actions Please refer to Microsoft’s video here for instructions on creating a table.
Create Table Row
This action allows you to add rows to an Excel table.
Excel File
Sets the Excel file where your Table will reside in.
✔️
Table
This field will only appear after you select an Excel file.
Set the Excel table you want to create a row to.
✔️
New row data
These are the columns and the respective values you want to add when you create a row
✔️
Set up your Excel step by completing the required fields:
Excel File
Table
New row data
Click on Check step to save and create an Excel row in your table in the Excel file selected based on the row data you have set up.
Find Table Row
This action allows you to find a single table row by looking up a column value.
Excel File
Sets the Excel file where your Table will reside in.
✔️
Table
This field will only appear after you select an Excel file.
Set the Excel table you want to find a row in.
✔️
Lookup column
This is the column you will select to match with your lookup value to find the topmost row that matches.
✔️
Lookup value
This is the value you input for matching with the lookup column. If this is left empty, it will search for an empty value.
Set up your Excel step by completing the required fields:
Excel File
Table
Lookup column
Click on Check step to save and find an Excel row in your table in the Excel file selected based on the lookup column and value you have set up.
Update Table Row
This action allows you to update a single table row whose column matches a lookup value
Excel File
Sets the Excel file where your Table will reside in.
✔️
Table
This field will only appear after you select an Excel file.
Set the Excel table you want to update a row in.
✔️
Lookup column
This is the column you will select to match with your lookup value to find the topmost row that matches.
✔️
Lookup value
This is the value you input for matching with the lookup column. If this is left empty, it will search for an empty value.
Row data
These are the columns and the respective values you want to overwrite and update the found row with
✔️
Set up your Excel step by completing the required fields:
Excel File
Table
Lookup column
Row data
Click on Check step to save and update an Excel row in your table in the Excel file selected based on the lookup column and value you have set up.
Find Multiple Table Rows
This action allows you to find multiple table rows that match one or more lookup conditions.
Find Multiple Table Rows only supports tables that are smaller than 50,000 rows or 100,000 cells.
Returns up to 500 matching rows per execution. This is a return limit, not a read limit, your full worksheet stays untouched and accessible, only the action's output per execution is capped at 500 rows. If a lookup condition matches more than 500 rows, only the first 500 come through in that run, split into multiple lookup conditions or batches if you need the rest.
Leaving Lookup value blank searches for empty cells, it does not return every row. To match every row regardless of content, add a helper column with the same value in every row (e.g. a column named "Include" with "Yes" in every row) and use that as the lookup condition instead.
Lookup values are case sensitive and should exclude units or symbols (e.g. enter "5.2", not "$5.20").
Excel File
Sets the Excel file where your Table will reside in.
✔️
Table
This field will only appear after you select an Excel file. Set the Excel table you want to find rows in.
✔️
Lookup conditions
Select a Lookup column and Lookup value to match. Click "+ And" to add more conditions, each condition must use a different column, there's no OR logic within one column.
✔️
Set up your Excel step by completing the required fields (Excel File, Table, Lookup conditions), then click Check step to save and find matching Excel rows based on the lookup conditions you've set up.
List of agencies allowed for M365 integration
This list was last updated on 15 Sept 2026.
If you're user with the email domains "x.gov.sg" and you're not able to access M365 app, please raise a ticket with us at https://go.gov.sg/plumber-support
@tech.gov.sg
@schools.gov.sg
@sport.gov.sg
@defence.gov.sg
@mom.gov.sg
All .edu.sg (except @science.edu.sg)
@nlb.gov.sg
All healthcare institutions
@mnd.gov.sg
@singstat.gov.sg
@wsg.gov.sg
@bca.gov.sg
@spf.gov.sg
@thedigitalacademy.tech.gov.sg
@mas.gov.sg
@nea.gov.sg
@hdb.gov.sg
@moh.gov.sg
@mlaw.gov.sg
@judiciary.gov.sg
@nyc.gov.sg
@moe.gov.sg
@pub.gov.sg
@customs.gov.sg
@iras.gov.sg
@msf.gov.sg
@htx.gov.sg
@scdf.gov.sg
@mci.gov.sg
@mha.gov.sg
@stb.gov.sg
@jtc.gov.sg
@lta.gov.sg
@vital.gov.sg
@pris.gov.sg
@caas.gov.sg
@hsa.gov.sg
@gra.gov.sg
@ssg.gov.sg
@ica.gov.sg
@pa.gov.sg
@acra.gov.sg
@mfa.gov.sg
@cpf.gov.sg
@pmo.gov.sg
@toteboard.gov.sg
@csa.gov.sg
@hpb.gov.sg
@mddi.gov.sg
@mindef.gov.sg
@psd.gov.sg
@nparks.gov.sg
@mpa.gov.sg
@enterprisesg.gov.sg
@mti.gov.sg
@sfa.gov.sg
@muis.gov.sg
@ncss.gov.sg
@hta.gov.sg
@imda.gov.sg
@mccy.gov.sg
@edb.gov.sg
@cscollege.gov.sg
@nac.gov.sg
@ura.gov.sg
@agc.gov.sg
@agd.gov.sg
@cnb.gov.sg
@yellowribbon.gov.sg
@mof.gov.sg
@cda.gov.sg
@seab.gov.sg
@ptc.gov.sg
@gt.tech.gov.sg
@sentosa.gov.sg
@nrf.gov.sg
@science.edu.sg
@vendor.gov.sg
@ssg-wsg.gov.sg
@ccs.gov.sg
@parl.gov.sg
@mse.gov.sg
@swda.gov.sg
@nhb.gov.sg
@osc.gov.sg
@support.gov.sg
@ema.gov.sg
Common Errors
FAQ
Last updated
Was this helpful?

