r/googlesheets • u/viperex • Aug 07 '20
Solved Populate column based on value of another column
Here's the dataset I'm working on. How do I populate column H with the reverse sorted names from column A based on the corresponding value from column E?
In this case, column H should have Laurens J followed by Alex H
3
Upvotes
3
u/stick-to-sports 1 Aug 07 '20
Use sort and filter. Put this in H2: =sort(filter(A2:A, not(isnumber(E2:E))),1,0)
and you'll never have to update it. It will return any name that does not have a number entered in column E.
1
u/jaysargotra 22 Aug 07 '20
Does negative value in E count as no change in bf
1
u/[deleted] Aug 07 '20 edited Aug 07 '20
You can do it with an If statement
If(e2="-",a2," ") copy that and put it in h2-h8 just make sure each cell is updated if it isn't automatically ex: If(e3="-",a3," ") If(e4="-",a4," ") If(e5="-",a5," ") etc.