Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default HELP - If and but's formulas?

You left out the last one Sandy, 13.51.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Sandy Mann" wrote in message
...
Try:


=IF(B25="Y",1.58,IF(OR(B12=8.12,B12=7.08),6.25,IF( OR(B12=9.87,B12=3.42,B12=9
..7,B12=29.06,B12=15.13),4.52,0)))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"KLAbbott" wrote in message
...
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((B12=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.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default HELP - If and but's formulas?

You're quite right RD, thanks for the catch. Your array version is better
anyway. That is why I hang out in the NG's, having retired and therefore
not having many *live* spreadsheets to deal with, if I did not try to keep
my hand in here I would very quickly forget all these nuances of XL.

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ragdyer" wrote in message
...
You left out the last one Sandy, 13.51.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Sandy Mann" wrote in message
...
Try:


=IF(B25="Y",1.58,IF(OR(B12=8.12,B12=7.08),6.25,IF( OR(B12=9.87,B12=3.42,B12=9
.7,B12=29.06,B12=15.13),4.52,0)))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"KLAbbott" wrote in message
...
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((B12=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.







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default HELP - If and but's formulas?

Try this:

=IF(B25="Y",1.58,IF(OR(B12={8.12,7.08}),6.25,IF(OR (B12={9.87,3.42,9.7,29.06,
15.13,13.51}),4.52,"")))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"KLAbbott" wrote in message
...
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((B12=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.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default HELP - If and but's formulas?

Thank you both so much - I can now finish what I was trying to achieve!

"Ragdyer" wrote:

Try this:

=IF(B25="Y",1.58,IF(OR(B12={8.12,7.08}),6.25,IF(OR (B12={9.87,3.42,9.7,29.06,
15.13,13.51}),4.52,"")))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"KLAbbott" wrote in message
...
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((B12=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.



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default HELP - If and but's formulas?

We appreciate the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"KLAbbott" wrote in message
...
Thank you both so much - I can now finish what I was trying to achieve!

"Ragdyer" wrote:

Try this:

=IF(B25="Y",1.58,IF(OR(B12={8.12,7.08}),6.25,IF(OR (B12={9.87,3.42,9.7,29.06,
15.13,13.51}),4.52,"")))
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"KLAbbott" wrote in message
...
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((B12=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.





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
lookup formulas dependent upon lookup formulas Skibee Excel Worksheet Functions 1 July 20th 07 01:06 PM
automatically copy formulas down columns or copy formulas all the HowlingBlue Excel Worksheet Functions 1 March 16th 07 11:11 PM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM
formulas for changing formulas? creativeops Excel Discussion (Misc queries) 4 January 26th 06 03:07 AM


All times are GMT +1. The time now is 02:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"