Dear all, Here is a five if statement formula need to shorter way . currently I am doing all together but it looks big formula . is there any alternative small formula to solve my issue ?
![]()
Please Login or Register to view this content.
Dear all, Here is a five if statement formula need to shorter way . currently I am doing all together but it looks big formula . is there any alternative small formula to solve my issue ?
![]()
Please Login or Register to view this content.
What does your " big formula" look like?
Maybe:
=IFERROR(INDEX({"cd com","cd def","cd noo"," cu ope"," cd cdn"},MATCH(G2,B2:F2,0)),"")
Mine came out longer than I thought it would, but it works
Enter this Array Formula using Control + Shift + Enter
=IFERROR(CHOOSE(SUM((G2=B2:F2)*{1,2,3,4,5}),"cd com","cd def","cd noo"," cu ope"," cd cdn"),"")
You should hit F5, because chances are I've edited this post at least 5 times.
Example of Array Formulas
Click the * below on any post that helped you.
Hi Ragulduy & Speshul , both of your formula is working excellent . thanks for your time
As a third option:Formula:
Please Login or Register to view this content.
But probably no better than the options you have already.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Thanks for the rep.![]()
Or maybe a HLOOKUP formula?
<----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left
If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks