Forum Discussion
Excel
- Mar 31, 2023
=IF(A1=3,3,IF(A1=4,2,IF(A1=5,1,IF(A1=1,5,IF(A1=2,4,"")))))=CHOOSE(A1,5,4,3,2,1)In cell A2 you can try any of these formulas.
=IF(A1=3,3,IF(A1=4,2,IF(A1=5,1,IF(A1=1,5,IF(A1=2,4,"")))))=CHOOSE(A1,5,4,3,2,1)In cell A2 you can try any of these formulas.
- Trev63Apr 03, 2023Copper Contributor
Hi, I have another!! In this, I have a list of names in one column and associated number in the next column. I've filtered the the numbers and associated names in order of highest number to the lowest but I want this order to change automatically if one or more of the numbers changes!
Can anyone add some light..... Please?
- EdHarrisApr 04, 2023Iron ContributorI'm happy to see so much activity. I believe the original question was answered, so won't you please consider making another thread for your new question? That helps keep things simple and organized and is good stewardship of the community platform.
- OliverScheurichApr 04, 2023Gold Contributor
=SORT(A2:B11,2,-1)Do you want to sort the numbers and associated names? Then you can try this formula if you have access to the SORT function. It's available in Office 365 and Excel 2021 and Excel for the web.
- Trev63Apr 04, 2023Copper ContributorMany thanks for looking at this for me its much appreciated. I have 365 but I cant seem to get this to work. Want you have set out is exactly what I need but when it type the formula I get a error message. I can relate to your reference to A2 & B11 in the formula as that is the range but what does the ;2;-1 relate to? This is my version of your formula =SORTIEREN(H32:J43;2;-1)
- Trev63Apr 02, 2023Copper Contributor
thank you for your suggestions and helpful tips. The first formula worked a treat. Just had to tweak it a little to add more numbers. Perfect, thanks again.