cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
brodosi
Frequent Visitor

Change value for all cells in a column?

I have an Excel file with a column "Status" and the status is set to Yes.  I need to automate any value set to yes, changed to no.  Any advice? 

 

This is what I used so far, however it only changes the value on the first row. 

 

Screen Shot 2021-04-07 at 11.38.38 AM.png

6 REPLIES 6
DamoBird365
Community Champion
Community Champion

Hi @brodosi 

 

With List rows, I would set a filter, where

 

Status eq 'Yes'

 

Then your apply to each should traverse through all "values" and update the row to No.

 

When you say it only updates 1 row, how have your built the apply to each and update row?

 

Does the get rows show more than one row in the output of the history?

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

NorthernChuck
Helper III
Helper III

NorthernChuck_0-1617810412130.png

Is the above a good example of the table your are working with? 

brodosi
Frequent Visitor

@NorthernChuck Yes, that it.  

 

Screen Shot 2021-04-07 at 11.52.29 AM.pngScreen Shot 2021-04-07 at 11.52.58 AM.pngScreen Shot 2021-04-07 at 11.52.49 AM.png

DamoBird365
Community Champion
Community Champion

Hi @brodosi 

 

I believe (but might be wrong) your filter query is wrong.

 

Should be 

Status eq 'Yes'

 

But also, your key column needs to be unique, i.e. 1,2,3,4,5,6  You cannot have multiple rows with the same key value as it will always find the first one and therefore only update ONE row.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

 

 

@brodosi - which error is it feeding? Looking at those screenshots that's basically where I was headed......

I'm pretty close, you can probably make due from here. The single ticks are apparently not needed. All cells marked "Yes" were updated to "Maybe'" in my spreadsheet (see below)

NorthernChuck_0-1617813022694.png

Here's the flow. 

NorthernChuck_1-1617813104738.png

 

NorthernChuck_2-1617813129415.png

 

 

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (52,805)