Help with excel IF formula

Closed
kirstybill - Oct 8, 2009 at 08:33 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Oct 8, 2009 at 10:38 PM
Hello,

I am trying (hard) to work out the following but everytime I put a formula in I just can't seem to get it right so am looking for some help.

IF C2 >=£0.01 and <=£0.99 then "£0.00"
IF C2 >=£1.00 and <=£4.99 then "£0.15"
IF C2 >=£5.00 and <=£14.99 then "£0.25"
IF C2 >=£15.00 and <=£29.99 then "£0.50"
IF C2>=£30.00 and <=£99.99 then "£1.00"
IF C2>=£100 then £1.30

Thanks in advance.

Kirsty

2 responses

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Oct 8, 2009 at 10:38 PM
=IF(AND(C2>=0.01,C2<=0.99),0,IF(AND(C2>=1,C2<=4.99),0.15,IF(AND(C2>=5,C2<=14.99),0.25,IF(AND(C2>=15,C2<=29.99),0.5,IF(AND(C2>=30,C2<=99.99),1,IF(C1>100,1.3,0))))))

It is a long formula. study this formula with "and"s, brackets etc you can crate your own formula next time.

there are six ifs. in versions before excel 2007 there can be only maximum of seven ifs
2
sharpman Posts 1021 Registration date Saturday May 23, 2009 Status Contributor Last seen October 20, 2010 183
Oct 8, 2009 at 01:34 PM
do a search on google for nested if statements in excel
0