web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Use formula for blank ...
Power Automate
Answered

Use formula for blank data in get excel rows

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have 2 separate excel workbooks, each with 1 table. 

Sheet1 table1 copy/pastes to Sheet2 table2 data.  

dpimart_0-1668392748568.png

I have monthly columns in each table and the data from each in ST1 gets copied over into the matching rows and columns of ST2. 

dpimart_1-1668392946713.png

However, if there are still months remaining in the year, then there will not be any data in ST1 to be copied over.  In that case, I need those blank month columns of ST2 to be a calculation which would be ((Plan - YTD Actuals) / # of remaining months).  

How do I add this in??

Categories:
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Assuming they are both date columns, you could use the dateDifference function. It returns a Time span.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard