Expanding an IF argument to checking condition in 3 different cells

I have a formula that populates cell F2 based on the contents of AA2:

=IF(AA2="","n/a",IF(AA2="Cancelled","n/a",IF(AA2="New","Need sign-off",IF(AA2="No change","n/a",""))))

I would like to expand this formula so that in addition to checking the contents of AA2, it also checks the contents of AQ2 and BG2. That is the only change to the formula that is required...all other elements would stay the same.

Thanks,
Andrea
AndreamaryAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CorinTackNetwork EngineerCommented:
The following formula should accomplish what you're looking for, if I understand you correctly, and will do so a bit more efficiently (fewer IF statements) using the OR option.

=IF(OR(AA2="",AA2="Cancelled",AA2="No change",AQ2="",AQ2="Cancelled",AQ2="No change",BG2="",BG2="Cancelled",BG2="No change"),"n/a",IF(OR(AA2="New",AQ2="New",BG2="New"),"Need sign-off"))
0
byundtMechanical EngineerCommented:
A little shorter formula using array constants:
=IF(SUM(COUNTIF(INDIRECT({"AA","AQ","BG"}&ROW(AA2)),{"","Cancelled","No change"})),"n/a",IF(OR(AA2="New",AQ2="New",BG2="New"),"Need sign-off",""))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AndreamaryAuthor Commented:
Thanks to both of you for answering my question so quickly! I tried both solutions, and this is the one that worked + it has the added bonus of being a shorter formula!
Cheers,
Andrea
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.