Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Juliet
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0. When I
evaluate the formula through formula auditing the evaluation shows the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and none are
blank even if (for example) B43=0

Hope you can help

Juliet
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

Is B2 formatted as TEXT? It shouldn't be.
"Juliet" wrote in message
...
My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0. When I
evaluate the formula through formula auditing the evaluation shows the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and none are
blank even if (for example) B43=0

Hope you can help

Juliet



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Juliet
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

Thanks Barb,
the worksheet is in general numerical format, can I assume then that the
formula entered is numerical too and not text?
juliet


"Barb Reinhardt" wrote:

Is B2 formatted as TEXT? It shouldn't be.
"Juliet" wrote in message
...
My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0. When I
evaluate the formula through formula auditing the evaluation shows the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and none are
blank even if (for example) B43=0

Hope you can help

Juliet




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

You need to check that B2 is not formatted as Text - select B2 and
Format | Cells | Number (tab) - what format type is displayed? If it
Text then click General and OK. Double-click B2 for the change to take
place.

You might also check that B2 contains the number 1 and not the "text"
value '1.

Hope this helps.

Pete

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

Hi Julie

If the formula evaluation tool returns the correct result, then it
sounds as though calculation may be set to manual.
Try pressing F9 and see what happens.
If required ToolsOptionsCalculationAutomatic

--
Regards

Roger Govier


"Juliet" wrote in message
...
Thanks Barb,
the worksheet is in general numerical format, can I assume then that
the
formula entered is numerical too and not text?
juliet


"Barb Reinhardt" wrote:

Is B2 formatted as TEXT? It shouldn't be.
"Juliet" wrote in message
...
My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0.
When I
evaluate the formula through formula auditing the evaluation shows
the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned
around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and
none are
blank even if (for example) B43=0

Hope you can help

Juliet








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger H.
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

Hello Juliet...
Could you please state what occupies those cells : (v2+z2+ad2+af2) ? I see
nothing wrong with the syntax of your IF formula, so I'm suspecting the
problem lies in those four cells. Thank you... Roger H.
"Juliet" wrote in message
...
My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0. When I
evaluate the formula through formula auditing the evaluation shows the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and none are
blank even if (for example) B43=0

Hope you can help

Juliet



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sandy Mann
 
Posts: n/a
Default IF formula - evaluation shows it should work but...

Another possibility to add to the previous answers:

Is B1 a calculated result? it may be displaying 1 but be some value
slightly different - even off by 0.00000000001 would cause the test B2=1 to
fail.

Try just

=IF(B2,"",(v2+z2+ad2+af2))

--
HTH

Sandy

with @tiscali.co.uk


"Juliet" wrote in message
...
My formula is:

=IF(B2=1,"",(v2+z2+ad2+af2))

(B2 is either 0 or 1)

However, this gives a blank result for every cell, even when B#=0. When I
evaluate the formula through formula auditing the evaluation shows the
formula should work. Am stumped!

I have tried to re work the formula in several ways, if turned around
(B#=0,(#+#+#), "") it inserts the summed value in every cell and none are
blank even if (for example) B43=0

Hope you can help

Juliet



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
Making this formula work Kleev Excel Worksheet Functions 5 December 15th 05 12:42 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Cell shows formula and not the result of the formula. stumpy Excel Worksheet Functions 2 January 14th 05 04:44 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 07:53 PM.

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

About Us

"It's about Microsoft Excel"