Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 180
Default CONDITIONAL FORMATTING

I have a row that adds across, a column that a total figure is multiplied by
the tax rate, I want this figure to return a number if it does not balance to
return false. I have this working now

=IF(SUM(E17*8.75%)=SUM(B19:D19), SUM(B19:D19),"FALSE")

the only problem is that when the tax rate makes the figure $73.752 and the
figure across is 73.76 I want them to still be equel. Help please.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default CONDITIONAL FORMATTING

Let's begin with a minor item = the first SUM is not needed
=IF(E17*8.75%=SUM(B19:D19), SUM(B19:D19),"FALSE")

It is very likely that you are getting the well know "penny error". See
http://www.mcgimpsey.com/excel/pennyoff.html

If you are prepared to overlook a 1 cent difference then:
=IF( ABS(E17*8.75%-SUM(B19:D19)) <=0.01, SUM(B19:D19),"FALSE")

best wishes
--
Bernard Liengme
MVP Excel
http://people.stfx.ca/bliengme

"Donna" wrote in message
...
I have a row that adds across, a column that a total figure is multiplied
by
the tax rate, I want this figure to return a number if it does not balance
to
return false. I have this working now

=IF(SUM(E17*8.75%)=SUM(B19:D19), SUM(B19:D19),"FALSE")

the only problem is that when the tax rate makes the figure $73.752 and
the
figure across is 73.76 I want them to still be equel. Help please.


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
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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