#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 106
Default IF function

I have an if function that relies on dates... the formula works every time
unless the value is = 0 .. then it displays -1.13687E-13 as the value... how
can i fix this?!?!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default IF function

What is your formula? And when the value is zero, what value are you
referring to?
--
John C


"Rebecca" wrote:

I have an if function that relies on dates... the formula works every time
unless the value is = 0 .. then it displays -1.13687E-13 as the value... how
can i fix this?!?!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default IF function

You can "nest" IF functions, so you could skip the current IF by
checking for 0.
Assuming that your date is in A5:
=IF(A5=0,"",[current if])
The "" piece inserts a null string if the test is true (which serves
to make the cell appear empty) - and note that there are 2 double
quotes in there and not 4 apostrophes.


On Jul 29, 11:03*am, John C <johnc@stateofdenial wrote:
What is your formula? And when the value is zero, what value are you
referring to?
--
John C

"Rebecca" wrote:
I have an if function that relies on dates... the formula works every time
unless the value is = 0 .. then it displays -1.13687E-13 as the value.... how
can i fix this?!?!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default IF function

OK, Rebecca, now you've got us interested. Is the next phase of the game
the one where we have to guess what your formula might be, or are you going
to give us a clue? :-)
--
David Biddulph

"Rebecca" wrote in message
...
I have an if function that relies on dates... the formula works every time
unless the value is = 0 .. then it displays -1.13687E-13 as the value...
how
can i fix this?!?!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default IF function

Or, to put it another way, =IF(ABS(your_formula)<1.2E-13,42,your_formula)
:-)
--
David Biddulph

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
OK, Rebecca, now you've got us interested. Is the next phase of the game
the one where we have to guess what your formula might be, or are you
going to give us a clue? :-)
--
David Biddulph

"Rebecca" wrote in message
...
I have an if function that relies on dates... the formula works every time
unless the value is = 0 .. then it displays -1.13687E-13 as the value...
how
can i fix this?!?!





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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 04:15 AM.

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"