Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cat Cat is offline
external usenet poster
 
Posts: 63
Default how do I get a return count of one when there are multiple enteri.

I'm writing an extensive macro and one of the problems I'm encountering is
adding multiple rows of information that belong to the same record. Say my
record is User Name and Name appears on 5 lines. The lines are capturing data
pulled from a database. If I use the subtotal function then say count change
in user - I get subtotals that would say 5 becasue that's how many lines it's
in. The formula shows =subtotal(3,a1:a5) even though I told it to count. So
I highlight the fcolumn and tell it to mass replace subtotal with count and I
come up with the right answer of 1. I've been staring at this for hours - it
used to work - what am I doing wrong? I don't want to have to do a
workaround. Thanks so much - sometimes the littlest thing... "brain fart"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 461
Default how do I get a return count of one when there are multiple enteri.

Can you go in to the module that has the macro... find where it says
subtotal...

Then change it to count?

"Cat" wrote:

I'm writing an extensive macro and one of the problems I'm encountering is
adding multiple rows of information that belong to the same record. Say my
record is User Name and Name appears on 5 lines. The lines are capturing data
pulled from a database. If I use the subtotal function then say count change
in user - I get subtotals that would say 5 becasue that's how many lines it's
in. The formula shows =subtotal(3,a1:a5) even though I told it to count. So
I highlight the fcolumn and tell it to mass replace subtotal with count and I
come up with the right answer of 1. I've been staring at this for hours - it
used to work - what am I doing wrong? I don't want to have to do a
workaround. Thanks so much - sometimes the littlest thing... "brain fart"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Cat Cat is offline
external usenet poster
 
Posts: 63
Default how do I get a return count of one when there are multiple ent

Well - I said I was silly - that would work and here I went and wrote this
big ol replace deal. I still don't know why I can't get the right count on
non-number fields. I know I was able to do it in the past - but was upgraded
recently. The smallest things are getting to me - I've discovered way too
often that when they do a mass upgrade, somebody forgot to "buy" the whole
package. I'm diverting - thanks for getting back to me.

"AKphidelt" wrote:

Can you go in to the module that has the macro... find where it says
subtotal...

Then change it to count?

"Cat" wrote:

I'm writing an extensive macro and one of the problems I'm encountering is
adding multiple rows of information that belong to the same record. Say my
record is User Name and Name appears on 5 lines. The lines are capturing data
pulled from a database. If I use the subtotal function then say count change
in user - I get subtotals that would say 5 becasue that's how many lines it's
in. The formula shows =subtotal(3,a1:a5) even though I told it to count. So
I highlight the fcolumn and tell it to mass replace subtotal with count and I
come up with the right answer of 1. I've been staring at this for hours - it
used to work - what am I doing wrong? I don't want to have to do a
workaround. Thanks so much - sometimes the littlest thing... "brain fart"

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
Return Summed Count of Multiple Consecutive Numeric Values Sam via OfficeKB.com Excel Worksheet Functions 4 April 10th 06 10:35 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of 1 Numeric value in a Row and Return Count down Column Sam via OfficeKB.com Excel Worksheet Functions 8 October 4th 05 04:37 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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