3 ifs in one statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to produce a formula that does the following:

If the value of (a+b+c+d) = 1 then cell e must show 500
if the value of (a+b+c+d) = 2 then cell e must show 1000
if the value of (a+b+c+d) <= 3 then cell e must show 1000+(((a+b+c+d)-2)*300)
How do I nest the ifs correctly to get this.

Thank you
JBS
 
=IF(SUM(A1:D1)=1,500,IF(SUM(A1:D1)=2,1000,1000+(SUM(A1:D1)-2)*3000))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Thank you. This is much neater and works better than what I was struggling
with.
 
I think there was a typo in Bob's response. Check this if you've
copied and pasted Bob's string. The last multiplier should be 300 not
3000.

Rgds



Thank you. This is much neater and works better than what I was struggling
with.

__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Scrabble Value calculation for Welsh words 0
min if horizontal 0
SUMPRODUCT 1
Sumproduct? 3
If statement 1
Excel Countifs/Sumproduct with mutil Or statement 3
If then request 1
multiple sheet looks up and match 4

Back
Top