In this blog, you will learn how to handle null values in date and numeric fields from an Excel file and save the data in a SharePoint list using Power Automate.

Sample Excel File

Screenshot - 2026-02-06T154152.995

SharePoint List

Screenshot - 2026-02-06T154226.185

Stepwise Implementation

1 - Create manual or automated flow (based on your requirement)

2 - Get files from OneDrive or SharePoint document library (wherever you have saved file)

Screenshot - 2026-02-06T164005.537

3 - Get rows from excel file

Screenshot - 2026-02-06T164136.618

4 - Loop through rows and condition for fetching records where Name or Age is not blank

Screenshot - 2026-02-06T164408.386

5 - Add create item action on Yes part

Screenshot - 2026-02-06T164613.566

1 - Monthly Expression

if(equals(item()?['Monthly'], ''), 0, int(item()?['Monthly']))

2 - Annually Expression

mul(if(equals(item()?['Monthly'], ''), 0, int(item()?['Monthly'])), 12)

3 - Date Expression

if(empty(item()?['Date']),null,formatDateTime(addDays('1899-12-30', int(item()?['Date'])), 'yyyy-MM-dd'))

Run the flow & see result on List

Screenshot - 2026-02-06T165735.251