Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default Sumif trying to Sum cells with Round Function

It appears that in certain circumstances when I do a sumif that includes
fields that contain a rounding function that the rounded numbers are omitted
from the sumif. Has anyone else experienced a similar situation and could
possibly shed light on this issue? Version 2003.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Sumif trying to Sum cells with Round Function

I have never seen that, I just tested a dummy range where I rounded
and used SUMIF and I got the result I expected?

--


Regards,


Peo Sjoblom

"Mike H." wrote in message
...
It appears that in certain circumstances when I do a sumif that includes
fields that contain a rounding function that the rounded numbers are
omitted
from the sumif. Has anyone else experienced a similar situation and could
possibly shed light on this issue? Version 2003.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default Sumif trying to Sum cells with Round Function

I forgot to mention that also some of the data with the round function in it
is filted out of sight. It doesn't always eliminate the data from being in
the sumif but sometimes it does. Not sure I can see a pattern or not.
Thanks.

"Peo Sjoblom" wrote:

I have never seen that, I just tested a dummy range where I rounded
and used SUMIF and I got the result I expected?

--


Regards,


Peo Sjoblom

"Mike H." wrote in message
...
It appears that in certain circumstances when I do a sumif that includes
fields that contain a rounding function that the rounded numbers are
omitted
from the sumif. Has anyone else experienced a similar situation and could
possibly shed light on this issue? Version 2003.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Sumif trying to Sum cells with Round Function

SUMIF will always include hidden or filtered data, you can use
a combination of SUMPRODUCT and SUBTOTAL plus some more function to just
criteria sum visible cells.

--


Regards,


Peo Sjoblom

"Mike H." wrote in message
...
I forgot to mention that also some of the data with the round function in
it
is filted out of sight. It doesn't always eliminate the data from being
in
the sumif but sometimes it does. Not sure I can see a pattern or not.
Thanks.

"Peo Sjoblom" wrote:

I have never seen that, I just tested a dummy range where I rounded
and used SUMIF and I got the result I expected?

--


Regards,


Peo Sjoblom

"Mike H." wrote in message
...
It appears that in certain circumstances when I do a sumif that
includes
fields that contain a rounding function that the rounded numbers are
omitted
from the sumif. Has anyone else experienced a similar situation and
could
possibly shed light on this issue? Version 2003.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Sumif trying to Sum cells with Round Function

Post your "Round" formula.

Something like this would cause you problems:

=ROUND(A1,2)&" LBS."

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Mike H." wrote in message
...
It appears that in certain circumstances when I do a sumif that includes
fields that contain a rounding function that the rounded numbers are
omitted
from the sumif. Has anyone else experienced a similar situation and could
possibly shed light on this issue? Version 2003.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default Sumif trying to Sum cells with Round Function

I figured out my problem. I had one cell that had a subtotal() function on
it. Then
in another cell I took that subtotal and rounded it. So when I filtered the
row out, the subtotal function would recalc and return 0, thus causing my
round to go to 0 and the sumif to sum to 0 also. Subtotal doesn't include
data if the cell is hidden, which I knew but forgot about checking as the
subtotal was not in the direct number I was sumiffing (is that a word).
Anyway, mystery solved.
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
How to use SUMIF function with non-adjacent cells KLaw Excel Worksheet Functions 5 October 19th 06 10:15 AM
Sumif function, nonadjacent cells HFWS Excel Worksheet Functions 5 March 3rd 06 05:18 PM
Sumif function does not add up cells, even when criteria is blank Beckster Excel Worksheet Functions 5 January 13th 06 06:24 PM
How can I apply the ROUND function to a range of cells in a workbo Ellemarr Excel Discussion (Misc queries) 5 June 11th 05 01:09 AM
how do i use the sumif function in non cons cells Kimbo Excel Worksheet Functions 1 November 16th 04 09:06 PM


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