Autofill a column depending on two criteria

Roy Bass
โญโญโญ
Hoping someone can help. I am trying to autofill a status. Column A has a look up value, some of the lookup values are duplicated at least once.
When we enter the value in the status column against one value, we would like the same status to all matching look up values. Please see attached screen snip of the tables.
Answers
-
My favorite solution is to use RANKEQ.๐
- Rankeq: =RANKEQ([Row ID]@row, COLLECT([Row ID]:[Row ID], A:A, A@row), 1)
- Status: =IF(Rankeq@row > 1, "In Stock")
If I need all duplicates to be In Stock, I use COUNTIF.
- Countif: =COUNTIF(A:A, A@row)
- Status All:=IF(Countif@row > 1, "In Stock")
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!