View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
KLAbbott KLAbbott is offline
external usenet poster
 
Posts: 2
Default HELP - If and but's formulas?

I have a spreadsheet which already contains the following formula:
=IF((B12=8.12),6.25,IF((B12=7.08),6.25,IF((B12=9.8 7),4.52,IF((B12=3.42),4.52,IF((B12=9.7),4.52,IF((B 12=29.06),4.52,IF((B12=15.13),4.52,IF((B12=13.51), 4.52,0))))))))
Now I want it to also say:
BUT IF B25 EQUALS 'Y' THEN OVERIDE ALL THE ABOVE AND ENTER 1.58

I am so stuck with this, it seems I cannot add another IF within the above,
and even if I do then because B12 still states one of the above figures then
even if B25 is a 'Y' then it won't overide it to say 1.52!

Grateful for all advice.