#1   Report Post  
Posted to microsoft.public.excel.misc
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Decimal Places

I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01 or
more?

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Decimal Places

try
=if(abs(c43-z42)0.01,c43-Z42,"")

"JHL" wrote:

I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01 or
more?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Decimal Places

maybe...
=if(abs(C43=Z42)<.01,"",C43-Z42)

You may want to add round to the else portion, too:
=if(abs(C43=Z42)<.01,"",round(C43-Z42,2))

(or not)




JHL wrote:

I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01 or
more?

Thanks.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Decimal Places

=if(ABS(C43-Z42)<0.01,"",C43-Z42)
--
David Biddulph

"JHL" wrote in message
...
I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01
or
more?

Thanks.



  #5   Report Post  
Posted to microsoft.public.excel.misc
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Decimal Places

Thanks for all the responses. David's suggestion works best.

Thank you

"David Biddulph" wrote:

=if(ABS(C43-Z42)<0.01,"",C43-Z42)
--
David Biddulph

"JHL" wrote in message
...
I have the following formula: =if(C43=Z42,"",(C43-Z42))
Sometimes the cell is blank, other times I have either -0.00 or 0.00 .
Further research shows I need to show 8 decimals places or more to get the
difference.

The cells C43 and Z42 are formulas, but I believe all calculations are
formatted for 2 decimal places.

How can I increase the formula result to just show differences of of .01
or
more?

Thanks.




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
Decimal Places Tafmutt Excel Discussion (Misc queries) 2 March 14th 07 10:22 PM
Subtracting two 2-decimal place numbers gives result 13-decimal places? [email protected] Excel Worksheet Functions 5 March 12th 07 11:38 PM
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. SUKYKITTY Excel Discussion (Misc queries) 3 July 6th 05 01:50 PM
decimal places HB Excel Discussion (Misc queries) 4 March 15th 05 03:19 AM
add 2 decimal places Bill M. Excel Discussion (Misc queries) 2 January 28th 05 11:21 PM


All times are GMT +1. The time now is 03:25 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"