Forum Discussion
Darin_Zimmerman
Nov 02, 2023Copper Contributor
Excel if /then functions help
I am making a very simple spreadsheet, I believe except I am applying a value for a rank of a participant. For example if you rank #1 then you are assigned points of 4, if rank #2 then you are assign...
Patrick2788
Nov 02, 2023Silver Contributor
If it's just a simple 1-4 system, you can use CHOOSE:
rank is A2:A5
=CHOOSE(rank,4,3,2,1)
If there are ranks outside of 1-4 that should not be awarded points, you could use SWITCH:
=SWITCH(rank,1,4,2,3,3,2,4,1,"")