cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bsmith736464
Helper I
Helper I

Error Message: A value must be provided for item ID for Updating Excel Rows

I have an excel table where every other row has information in it and when I run the automation to Trim Names, it gives me an error and bad request for every row where there isn't any inputs. Is there any way to solve this issue?

 

Error on the left, flow on the right:

 

2020-02-20_10-11-19.jpg2020-02-20_10-19-21.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Jcook
MVP

Hello,

Consider defining a key column with a unique value that is always present, for example ID.

Technically you wouldn’t want a Key column to be empty. Because there would be no way to reference it.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @bsmith736464 

 

 

You can add an IF condition before the update action step to check whether Lastname is blank or not.

 

See this post

 

https://powerusers.microsoft.com/t5/Building-Flows/Delete-Excel-Row-with-Blank-Condition/m-p/475367#...

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Jcook
MVP

Hello,

Consider defining a key column with a unique value that is always present, for example ID.

Technically you wouldn’t want a Key column to be empty. Because there would be no way to reference it.

—Josh
If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,706)