Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

list rows present in a table passing #VALUE!

(0) ShareShare
ReportReport
Posted on by 129

good morning, i've created a flow to send out an email from a table with specific attachments dependant on the previous options selected. the name of the attachment is generated using if statements dependant on previous cells. this should then be passed to flow where the result of that is used as the name of the attachment, however instead of passing the results of the cell it just passes #value! i've tried using a 2nd cell that trims the output of the previous cell again whilst the cell contents look fine it is passing #value!. tried value to text but again nothing.

 

unfortunately #value! searches only come up with results for value which is quite a few.

 

Is there any known issues that would prevent the actual results being exported?

this is the formula in the cell (edited to hide identifying info but the logic is same)

 

=IF(
AND(B2="var1",L2="Yes"),
CONCAT(
"company var1 under 5GWh T&C- ",

IF(AND(F2>=DATEVALUE("1/11/2020"),F2<=DATEVALUE("25/07/2020")),"Nov 2020",
IF(AND(F2>=DATEVALUE("26/07/2020"),F2<=DATEVALUE("7/07/2022")),"July 2021",
IF(AND(F2>=DATEVALUE("8/07/2022"),F2<=DATEVALUE("8/05/2023")),"Nov 2022",
IF(F2>=DATEVALUE("9/05/2023"),"May 2023")))),
".pdf"),

IF(
AND(B2="var2",L2="Yes"),
CONCAT(
"company var2 under 2m T&Cs - ",

IF(AND(F2>=DATEVALUE("1/11/2020"),F2<=DATEVALUE("25/07/2020")),"Nov 2020",
IF(AND(F2>=DATEVALUE("26/07/2020"),F2<=DATEVALUE("7/07/2022")),"July 2021",IF(AND(F2>=DATEVALUE("8/07/2022"),F2<=DATEVALUE("8/05/2023")),"Nov 2022",
IF(F2>=DATEVALUE("9/05/2023"),"May 2023")))),".pdf"),

IF(
AND(B2="var1",F2<DATEVALUE("9/05/23"),OR(I2="Guard",I2="Fixed",I2="Standard",L2="No")),
"var1 Terms and Conditions - Fixed.pdf",IF(
AND(B2="var1",F2>=DATEVALUE("9/05/23"),OR(I2="Guard",I2="Fixed",I2="Standard",L2="No")),
"Fixed var1 Terms and Conditions - 09.05.23.pdf",
IF(
AND(B2="var2",L2="No",F2<DATEVALUE("9/05/23")),"var2 Terms and Conditions - Fixed.pdf",IF(
AND(B2="var2",L2="No",F2>=DATEVALUE("9/05/23")),"Fixed var2 Terms and Conditions - 09.05.23.pdf"
))))))

Thanks in advance. 

  • Alastairs Profile Picture
    129 on at
    Re: list rows present in a table passing #VALUE!

    Thanks for looking at this. i don't think its the dates causing the issue as they should be passed just a plain text field.

     

    however i've decided against trying to shoehorn in some one else's existing work (the excel part) and take the decisions into power automate.

  • R2D2CS Profile Picture
    9 on at
    Re: list rows present in a table passing #VALUE!

    Run the action of list rows present in a table and view the output in JSON, I think it might have something to do with UK dates, sorry I can't help more

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1