# Updating a single cell value in multiple rows all at once

**URL:** https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335
**Category:** Feature Requests
**Created:** [September 24, 2020, 11:32pm UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335 "2020-09-24T23:32:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rlopin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rlopin/32/14164_2.png) [@rlopin](https://community.glideapps.com/u/rlopin)
#### Post date: [September 24, 2020, 11:32pm UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335/1 "2020-09-24T23:32:57Z")

</div>

I have an approval field (true/false) for each task performed by an employee.  
The manager is the only one who can check the approval box.  
They must currently do it one task at a time.

Is there anyway for the manager to check all the approval boxes in one action via some ‘approve all’ button on the screen?

I know how to filter so only all unapproved tasks are visible, for a given employee, grouped by date, but how to automatically update a single field in each row to the same value?

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 24, 2020, 11:46pm UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335/2 "2020-09-24T23:46:03Z")

</div>

I don’t know how you’re structuring your data, but you can use a single value column for that.

---

<div class="post-metadata">

### Author: ![rlopin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rlopin/32/14164_2.png) [@rlopin](https://community.glideapps.com/u/rlopin)
#### Post date: [September 25, 2020, 4:26am UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335/3 "2020-09-25T04:26:00Z")

</div>

The structure is very simple: Date, TaskName, EmployeeName, ApprovalFlag (true/false)

How to allow an approver to set all ApprovalFlags for a specific user on a specific date to true?

Right now they have to click each task in the app one at a time and set the approval to true

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [September 25, 2020, 5:03am UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335/4 "2020-09-25T05:03:20Z")

</div>

The checklist layout would make it easier without having to go into the details of each task. Still not an all-at-once option. I think something like that would require a google script of some sort to set all flags to true/false based on a master value.

---

<div class="post-metadata">

### Author: ![Pratik\_Shah](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pratik_shah/32/12416_2.png) [@Pratik\_Shah](https://community.glideapps.com/u/Pratik_Shah)
#### Post date: [September 25, 2020, 9:58am UTC](https://community.glideapps.com/t/updating-a-single-cell-value-in-multiple-rows-all-at-once/16335/5 "2020-09-25T09:58:48Z")

</div>

Have you tried IF ELSE THEN column?

In one of my App, I created two different Columns, one picks up value from individual “Switch Button” and another is picking it from “Group Switch Button”. So it will work in both ways.

If user want to approve individual task, then user will click “Individual Switch” and if user wants to approve all then, “Group Switch” can be used.

Condition will be set up like this.  
IF “Group Switch” is TRUE, THEN “Final Switch” should be TRUE, ELSE value of “Individual Switch”.

I am sorry if I could not explain this properly. I hope this might help.
