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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,924)