#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Rounding

I have 2 values which I know equal however when I use the round function
below it states it does not equal

=IF(ROUND(BH3,3)<SUMPRODUCT(--('Jan Data'!$F$3:$F$12230)=$B3)*('Jan
Data'!$N$3:$N$12230=FALSE)*('Jan Data'!$I$3:$I$12230),"not balanced","")

What am I doing wrong

thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Rounding

1. Your parentheses are out of order. Try:
=IF(ROUND(BH3,3)<SUMPRODUCT(('Jan Data'!$F$3:$F$12230=$B3)*('Jan
Data'!$N$3:$N$12230=FALSE)*('Jan Data'!$I$3:$I$12230)),"not balanced","")
(BTW, in a Sumproduct, you either multiply with *, or use unary --, not
both)

2. I would think that you need to Round the Sumproduct result as well.

Regards,
Fred

"Curtis" wrote in message
...
I have 2 values which I know equal however when I use the round function
below it states it does not equal

=IF(ROUND(BH3,3)<SUMPRODUCT(--('Jan Data'!$F$3:$F$12230)=$B3)*('Jan
Data'!$N$3:$N$12230=FALSE)*('Jan Data'!$I$3:$I$12230),"not balanced","")

What am I doing wrong

thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 181
Default Rounding

Disregard....Figured it out...Thanks

"Curtis" wrote:

I have 2 values which I know equal however when I use the round function
below it states it does not equal

=IF(ROUND(BH3,3)<SUMPRODUCT(--('Jan Data'!$F$3:$F$12230)=$B3)*('Jan
Data'!$N$3:$N$12230=FALSE)*('Jan Data'!$I$3:$I$12230),"not balanced","")

What am I doing wrong

thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Rounding

You should round() the sumproduct(), too, to the same number of decimals

to troubleshoot this on your own you could put your sumproduct formula in a
cell by
itself and set the format to something with well over 3 decimals and you'd
almost certainly find that it is not equal to the comparison value.


"Curtis" wrote:

I have 2 values which I know equal however when I use the round function
below it states it does not equal

=IF(ROUND(BH3,3)<SUMPRODUCT(--('Jan Data'!$F$3:$F$12230)=$B3)*('Jan
Data'!$N$3:$N$12230=FALSE)*('Jan Data'!$I$3:$I$12230),"not balanced","")

What am I doing wrong

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
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
Rounding Esradekan Excel Worksheet Functions 5 October 31st 07 09:47 AM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
Rounding Down Kelly Excel Discussion (Misc queries) 2 March 31st 06 12:41 AM
Rounding LaraHubbs Excel Discussion (Misc queries) 2 June 21st 05 09:42 PM


All times are GMT +1. The time now is 01:36 AM.

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"