Skip to main content
Minorvtypos
Source Link
Blindspots
  • 7.5k
  • 5
  • 20
  • 38

I'm trying to create a formula to generate a list of values in a dropdown.

  1. Each row contains a task that has a status, and a priority.
  2. The priority is set from a dropdown containing a list of numbers from 1-50.
  3. No two tasks can share the same priority so the dropdown must exclude any already in use.
  4. When a task's has a status="done", its priority is no longer considered in use and should once more be available in the dropdowns.

For example, in the table below,

  • the dropdowns are in column A
  • The priority 15 in A4 should not be excluded from dropdowns because C4="Done"
  • Therefore, the dropdown in A6, for example, could include 15 but would not include anyany of {24, 32, 49}
A B C
1 Priority Task Status
2 32 A task to complete In Progress
3 24 Another task In progress
4 15 A completed task Done
5 49 A postponed task On Hold
6 Another task awaiting prioritisation To Do

I'm able to eliminate any assigned priority from the dropdowns using the following formula, but I can't get to the next step, restoring used values to the dropdown if they are assigned to a task with status="done":

=ARRAYFORMULA(
   IF(
     COUNTIF(
       H2:H1000,A2:A1000)=0,
       H2:H1000,))

How would I reinstate a value that was used, such as in A4 of my example, if the status of that row is set to "Done"?

I'm trying to create a formula to generate a list of values in a dropdown.

  1. Each row contains a task that has a status, and a priority.
  2. The priority is set from a dropdown containing a list of numbers from 1-50.
  3. No two tasks can share the same priority so the dropdown must exclude any already in use.
  4. When a task's has a status="done", its priority is no longer considered in use and should once more be available in the dropdowns.

For example, in the table below,

  • the dropdowns are in column A
  • The priority 15 in A4 should not be excluded from dropdowns because C4="Done"
  • Therefore, the dropdown in A6 for example could include 15 but would not include any of {24, 32, 49}
A B C
1 Priority Task Status
2 32 A task to complete In Progress
3 24 Another task In progress
4 15 A completed task Done
5 49 A postponed task On Hold
6 Another task awaiting prioritisation To Do

I'm able to eliminate any assigned priority from the dropdowns using the following formula, but I can't get to the next step, restoring used values to the dropdown if they are assigned to a task with status="done":

=ARRAYFORMULA(
   IF(
     COUNTIF(
       H2:H1000,A2:A1000)=0,
       H2:H1000,))

How would I reinstate a value that was used, such as in A4 of my example, if the status of that row is set to "Done"?

I'm trying to create a formula to generate a list of values in a dropdown.

  1. Each row contains a task that has a status, and a priority.
  2. The priority is set from a dropdown containing a list of numbers from 1-50.
  3. No two tasks can share the same priority so the dropdown must exclude any already in use.
  4. When a task has a status="done", its priority is no longer considered in use and should once more be available in the dropdowns.

For example, in the table below,

  • the dropdowns are in column A
  • The priority 15 in A4 should not be excluded from dropdowns because C4="Done"
  • Therefore, the dropdown in A6, for example, could include 15 but would not include any of {24, 32, 49}
A B C
1 Priority Task Status
2 32 A task to complete In Progress
3 24 Another task In progress
4 15 A completed task Done
5 49 A postponed task On Hold
6 Another task awaiting prioritisation To Do

I'm able to eliminate any assigned priority from the dropdowns using the following formula, but I can't get to the next step, restoring used values to the dropdown if they are assigned to a task with status="done":

=ARRAYFORMULA(
   IF(
     COUNTIF(
       H2:H1000,A2:A1000)=0,
       H2:H1000,))

How would I reinstate a value that was used, such as in A4 of my example, if the status of that row is set to "Done"?

Edited for clarity. Change priority values in table to avoid confusion with row #s
Source Link
Blindspots
  • 7.5k
  • 5
  • 20
  • 38

I'm trying to create a formula to generate a list of values onin a dropdown. The purpose is to allow a customer to select a unique priority for a task on a given row unless the status for that task is Done.

I'm able to make the selection unique using =ArrayFormula(IF(countif(H2:H1000,A2:A1000)=0,H2:H1000,)) but I can't get to the next step - how would I reinstate a value that was used if the status of that row were set to "Done" ? I've made the output come up as TRUE or FALSE but that's not what I'm after, I'm using numbers from 1 to 50.

  1. Each row contains a task that has a status, and a priority.
  2. The priority is set from a dropdown containing a list of numbers from 1-50.
  3. No two tasks can share the same priority so the dropdown must exclude any already in use.
  4. When a task's has a status="done", its priority is no longer considered in use and should once more be available in the dropdowns.

For example: A customer selects priorities for a list of tasks and uses the values 1, 2, 3, 4. For the next row, those values would not be selectable as they would be hidden from the range by the formula above. What I want to do is add back any value that was selected but that also has a status of "Done" on the same row, so if I change the status of a task with priority 3 to Done, the number 3 would become available again in the dropdown.table below,

  • the dropdowns are in column A
  • The priority 15 in A4 should not be excluded from dropdowns because C4="Done"
  • Therefore, the dropdown in A6 for example could include 15 but would not include any of {24, 32, 49}
Priority TaskA StatusB C
11 PriorityTaskStatus
232A task to complete In Progress Progress
2324 Another task In progress
3415 A completed task DoneDone
45 49A postponed task On Hold
6 Another task awaiting prioritisation To Do

In the dropdown menu for the Priority column,I'm able to eliminate any assigned priority from the values 1, 2, 3, and 4 are currently hidden ondropdowns using the 5th row. Howeverfollowing formula, but I wantcan't get to the task in row 3next step, restoring used values to allow the numberdropdown if they are assigned to bea task with status="done":

=ARRAYFORMULA(
   IF(
     COUNTIF(
       H2:H1000,A2:A1000)=0,
       H2:H1000,))

How would I reinstate a value that was used again, such as in A4 of my example, if the task has been completed.status of that row is set to "Done"?

I'm trying to create a formula to generate a list of values on a dropdown. The purpose is to allow a customer to select a unique priority for a task on a given row unless the status for that task is Done.

I'm able to make the selection unique using =ArrayFormula(IF(countif(H2:H1000,A2:A1000)=0,H2:H1000,)) but I can't get to the next step - how would I reinstate a value that was used if the status of that row were set to "Done" ? I've made the output come up as TRUE or FALSE but that's not what I'm after, I'm using numbers from 1 to 50.

For example: A customer selects priorities for a list of tasks and uses the values 1, 2, 3, 4. For the next row, those values would not be selectable as they would be hidden from the range by the formula above. What I want to do is add back any value that was selected but that also has a status of "Done" on the same row, so if I change the status of a task with priority 3 to Done, the number 3 would become available again in the dropdown.

Priority Task Status
1 A task to complete In Progress
2 Another task In progress
3 A completed task Done
4 A postponed task On Hold
Another task awaiting prioritisation To Do

In the dropdown menu for the Priority column, the values 1, 2, 3, and 4 are currently hidden on the 5th row. However, I want the task in row 3 to allow the number to be used again as the task has been completed.

I'm trying to create a formula to generate a list of values in a dropdown.

  1. Each row contains a task that has a status, and a priority.
  2. The priority is set from a dropdown containing a list of numbers from 1-50.
  3. No two tasks can share the same priority so the dropdown must exclude any already in use.
  4. When a task's has a status="done", its priority is no longer considered in use and should once more be available in the dropdowns.

For example, in the table below,

  • the dropdowns are in column A
  • The priority 15 in A4 should not be excluded from dropdowns because C4="Done"
  • Therefore, the dropdown in A6 for example could include 15 but would not include any of {24, 32, 49}
A B C
1 PriorityTaskStatus
232A task to complete In Progress
324 Another task In progress
415 A completed task Done
5 49A postponed task On Hold
6 Another task awaiting prioritisation To Do

I'm able to eliminate any assigned priority from the dropdowns using the following formula, but I can't get to the next step, restoring used values to the dropdown if they are assigned to a task with status="done":

=ARRAYFORMULA(
   IF(
     COUNTIF(
       H2:H1000,A2:A1000)=0,
       H2:H1000,))

How would I reinstate a value that was used, such as in A4 of my example, if the status of that row is set to "Done"?

added 504 characters in body
Source Link

I'm trying to create a formula to generate a list of values on a dropdown. The purpose is to allow a customer to select a unique priority for a task on a given row unless the status for that task is Done.

I'm able to make the selection unique using =ArrayFormula(IF(countif(H2:H1000,A2:A1000)=0,H2:H1000,)) but I can't get to the next step - how would I reinstate a value that was used if the status of that row were set to "Done" ? I've made the output come up as TRUE or FALSE but that's not what I'm after, I'm using numbers from 1 to 50.

For example: A customer selects priorities for a list of tasks and uses the values 1, 2, 3, 4. For the next row, those values would not be selectable as they would be hidden from the range by the formula above. What I want to do is add back any value that was selected but that also has a status of "Done" on the same row, so if I change the status of a task with priority 3 to Done, the number 3 would become available again in the dropdown.

PriorityTaskStatus
1A task to completeIn Progress
2Another taskIn progress
3A completed taskDone
4A postponed taskOn Hold
Another task awaiting prioritisationTo Do

In the dropdown menu for the Priority column, the values 1, 2, 3, and 4 are currently hidden on the 5th row. However, I want the task in row 3 to allow the number to be used again as the task has been completed.

I'm trying to create a formula to generate a list of values on a dropdown. The purpose is to allow a customer to select a unique priority for a task on a given row unless the status for that task is Done.

I'm able to make the selection unique using =ArrayFormula(IF(countif(H2:H1000,A2:A1000)=0,H2:H1000,)) but I can't get to the next step - how would I reinstate a value that was used if the status of that row were set to "Done" ? I've made the output come up as TRUE or FALSE but that's not what I'm after, I'm using numbers from 1 to 50.

For example: A customer selects priorities for a list of tasks and uses the values 1, 2, 3, 4. For the next row, those values would not be selectable as they would be hidden from the range by the formula above. What I want to do is add back any value that was selected but that also has a status of "Done" on the same row, so if I change the status of a task with priority 3 to Done, the number 3 would become available again in the dropdown.

I'm trying to create a formula to generate a list of values on a dropdown. The purpose is to allow a customer to select a unique priority for a task on a given row unless the status for that task is Done.

I'm able to make the selection unique using =ArrayFormula(IF(countif(H2:H1000,A2:A1000)=0,H2:H1000,)) but I can't get to the next step - how would I reinstate a value that was used if the status of that row were set to "Done" ? I've made the output come up as TRUE or FALSE but that's not what I'm after, I'm using numbers from 1 to 50.

For example: A customer selects priorities for a list of tasks and uses the values 1, 2, 3, 4. For the next row, those values would not be selectable as they would be hidden from the range by the formula above. What I want to do is add back any value that was selected but that also has a status of "Done" on the same row, so if I change the status of a task with priority 3 to Done, the number 3 would become available again in the dropdown.

PriorityTaskStatus
1A task to completeIn Progress
2Another taskIn progress
3A completed taskDone
4A postponed taskOn Hold
Another task awaiting prioritisationTo Do

In the dropdown menu for the Priority column, the values 1, 2, 3, and 4 are currently hidden on the 5th row. However, I want the task in row 3 to allow the number to be used again as the task has been completed.

Source Link
Loading