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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / list rows present in a...
Power Automate
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. 

Categories:
I have the same question (0)
  • R2D2CS Profile Picture
    9 on at

    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

  • Alastairs Profile Picture
    129 on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard