We help IT Professionals succeed at work.
Get Started

Multiple (nested?) IF statements with AND / please help - Too many arguments

318 Views
Last Modified: 2017-03-14
I am trying to get this working, but getting too many arguments. I have tried searching on the forum and there are many entries, but have not found any with the use of multiple AND's

C11 is a number entry by the user. C12 is drop down with yes and no.
Based on the value of C11 that is entered and C12 (yes/No) selection , I want to display A1 through A6.
C11 value ranges that I need are :  <=500, between 500 & 2999 and >= 3000

This is the formula that I put in & 
=IF(AND(C11<=500,C12="yes"),A4,A1,       IF(AND(C11>500,C11<3000,C12="yes"),A5,A2,      IF(AND(C11>=3000,C12="yes"),A6,A3)))

PS: I have put some spacing between IF statements just to show some separation.
Comment
Watch Question
Rob HensonFinance Analyst
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 2 Answers and 8 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE