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
Super User
Super User

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

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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,625)