Nested IF
Hi
I am looking to do a nested if so if a value is x y is returned, see below details-;
- IF COM = A
- IF CR = B
- IF HAR = C
- IF ARF = D
- IF AR = E
- IF PSRF = F
- IF PSR = G
- IF 2020 PSR = L
I am having an issue with the below formula's (whichever way round I put it):
=IF(Type117 = "PSR", "G", IF(Type117, ="PSRF", "F", 0))
I am thinking it is because PSRF and PSR are similar - is there any way round this? Sorry if it doesnt make sense.
Thanks
Abbie
Comments
-
You have an extra comma in the second IF between the cell reference and it's criteria.
Because you have so many different possibilities, it may be easier to build a table (like the one in your OP) and use an INDEX/MATCH to pull the correct value. That will provide much more flexibility if you end up needing to change, add, or delete and of the values.
If you are interested, I can walk you through setting that up.
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives