Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jay
 
Posts: n/a
Default Excel subtotals cells with a formula - HELP

I am subtotaling (using count) a few columns. When the column truly has
nothing in the cell the subtotal does not count it. However, if the cell has
a formula "=countif(xxxxxxx)" then it counts it in the subtotal - Why? I am
so confused and under pressure.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Excel subtotals cells with a formula - HELP

You could try

=SUMPRODUCT(--(rng<""))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"jay" wrote in message
...
I am subtotaling (using count) a few columns. When the column truly has
nothing in the cell the subtotal does not count it. However, if the cell

has
a formula "=countif(xxxxxxx)" then it counts it in the subtotal - Why? I

am
so confused and under pressure.



  #3   Report Post  
Rookie_User
 
Posts: n/a
Default Excel subtotals cells with a formula - HELP

Well I am not sure how/what that is - smile. I use the subtotal because we
use the "at each change in" field. Not sure how this one will work, but I
will try it. Do you know why its counting a cell that has a formula in it?

"Bob Phillips" wrote:

You could try

=SUMPRODUCT(--(rng<""))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"jay" wrote in message
...
I am subtotaling (using count) a few columns. When the column truly has
nothing in the cell the subtotal does not count it. However, if the cell

has
a formula "=countif(xxxxxxx)" then it counts it in the subtotal - Why? I

am
so confused and under pressure.




  #4   Report Post  
Rookie_User
 
Posts: n/a
Default Excel subtotals cells with a formula - HELP

This is the current subtotal forumula:
=SUBTOTAL(3,AH4175:AH4601)

And within this defined range I have this formula in those cells,
=IF(COUNTIF(October!A:A,P4584)0,"X","")

And if one of those cells is truly empty it works, if this formula is in the
cell then it counts the cell and it shouldn't.


"Rookie_User" wrote:

Well I am not sure how/what that is - smile. I use the subtotal because we
use the "at each change in" field. Not sure how this one will work, but I
will try it. Do you know why its counting a cell that has a formula in it?

"Bob Phillips" wrote:

You could try

=SUMPRODUCT(--(rng<""))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"jay" wrote in message
...
I am subtotaling (using count) a few columns. When the column truly has
nothing in the cell the subtotal does not count it. However, if the cell

has
a formula "=countif(xxxxxxx)" then it counts it in the subtotal - Why? I

am
so confused and under pressure.




  #5   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Excel subtotals cells with a formula - HELP

=SUMPRODUCT(--(AH4175:AH4601<""),(SUBTOTAL(3,OFFSET(AH4175,ROW( AH4175:AH460
1)-MIN(ROW(AH4175:AH4601)),,))))


--

Regards,

Peo Sjoblom

"Rookie_User" wrote in message
...
This is the current subtotal forumula:
=SUBTOTAL(3,AH4175:AH4601)

And within this defined range I have this formula in those cells,
=IF(COUNTIF(October!A:A,P4584)0,"X","")

And if one of those cells is truly empty it works, if this formula is in

the
cell then it counts the cell and it shouldn't.


"Rookie_User" wrote:

Well I am not sure how/what that is - smile. I use the subtotal because

we
use the "at each change in" field. Not sure how this one will work, but

I
will try it. Do you know why its counting a cell that has a formula in

it?

"Bob Phillips" wrote:

You could try

=SUMPRODUCT(--(rng<""))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"jay" wrote in message
...
I am subtotaling (using count) a few columns. When the column truly

has
nothing in the cell the subtotal does not count it. However, if the

cell
has
a formula "=countif(xxxxxxx)" then it counts it in the subtotal -

Why? I
am
so confused and under pressure.





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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
formula in excel to skip cells having - number and add only + anthonylaw Excel Worksheet Functions 3 October 25th 05 06:46 PM
Merging cells in Excel 2003 Bob Excel Discussion (Misc queries) 1 October 19th 05 07:10 PM
converting formula from lotus.123 to excel zaharah Excel Worksheet Functions 2 July 27th 05 03:04 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


All times are GMT +1. The time now is 08:25 PM.

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"