Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Help Counting 10 Columns * X Number of Rows

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 222
Default Help Counting 10 Columns * X Number of Rows

I would add another column to sum the range...for instance in AQ1 I would
enter:

=SUM(AC1:AM1)

....and copy that cell down. Now you have column you can do a simple COUNTIF
on:

=COUNTIF(AQ:AQ,10)

I'm sure there are some hefty arrays, but I like to keep the plumbing simple.
--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Rob" wrote:

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Help Counting 10 Columns * X Number of Rows

Thanks for the reply/suggestion. I was afraid that someone was going to
suggest that. I was and am hoping to avoid adding yet another column of
data/calculations. If I were to utilize that method then I would be adding
another 600+ cells of formulae to have evaluated on top of the one that will
count them all.

Hopefully there's another method. If not then I am destined to do just that
I suppose.


Thanks Again.



"JBeaucaire" wrote:

I would add another column to sum the range...for instance in AQ1 I would
enter:

=SUM(AC1:AM1)

...and copy that cell down. Now you have column you can do a simple COUNTIF
on:

=COUNTIF(AQ:AQ,10)

I'm sure there are some hefty arrays, but I like to keep the plumbing simple.
--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Rob" wrote:

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 222
Default Help Counting 10 Columns * X Number of Rows

I think you misunderstand. Putting the formula in 600 cells and copying down
once actually reduces overhead on your sheet. Simple fast functions like SUM
that can run once and aren't volatile keep your sheet peppy and happy.

SUM is basic and fast. Countif is, too.

To put ALL that plumbing into a single cell requires some heavy lifting.
Most really clever formulas of this kind do not reduce calculations, they
just cram them all into one cell.

Worse, many of them do it in a way that results in MORE calculations, not
less.

Just have to stop thinking that fewer cells = more efficient. My experience
is that elegant and efficient don't go hand in hand.

You could hide the ugly helper column if it bother you... hehe.

Hope that helps.
--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Rob" wrote:

Thanks for the reply/suggestion. I was afraid that someone was going to
suggest that. I was and am hoping to avoid adding yet another column of
data/calculations. If I were to utilize that method then I would be adding
another 600+ cells of formulae to have evaluated on top of the one that will
count them all.

Hopefully there's another method. If not then I am destined to do just that
I suppose.


Thanks Again.



"JBeaucaire" wrote:

I would add another column to sum the range...for instance in AQ1 I would
enter:

=SUM(AC1:AM1)

...and copy that cell down. Now you have column you can do a simple COUNTIF
on:

=COUNTIF(AQ:AQ,10)

I'm sure there are some hefty arrays, but I like to keep the plumbing simple.
--
"Actually, I *am* a rocket scientist." -- JB

Your feedback is appreciated, click YES if this post helped you.


"Rob" wrote:

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default Help Counting 10 Columns * X Number of Rows

Try...

=SUMPRODUCT(--(SUBTOTAL(9,OFFSET(AC2:AM100,ROW(AC2:AM100)-ROW(AC2),0,1))=
10))

Adjust the range accordingly.

Hope this helps!

http://www.xl-central.com

In article ,
Rob wrote:

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Help Counting 10 Columns * X Number of Rows

Awesome! Perfect! that works just like I was hoping for! Thank You Soo
Very much! Now If I only understood how you did it. :/


Thanks Very Much!

Rob


"Domenic" wrote:

Try...

=SUMPRODUCT(--(SUBTOTAL(9,OFFSET(AC2:AM100,ROW(AC2:AM100)-ROW(AC2),0,1))=
10))

Adjust the range accordingly.

Hope this helps!

http://www.xl-central.com

In article ,
Rob wrote:

I am trying to figure out how I can count the number of rows where Columns
AC:AM=10 when added together no matter what numbers/integers are in any of
those columns per row.


I'm certain that it is starring me in the face and laughing at me but seeing
as it's been an extremely long day I just cannot figure it out.

Can anyone please help me?


Thanks in Advance!
Rob


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
Counting number of rows Lynne Mawson New Users to Excel 1 May 8th 08 05:56 PM
Autofill counting up Columns and Rows! fantomet Excel Worksheet Functions 5 December 14th 06 12:57 PM
Counting the number of rows blurboiboi Excel Worksheet Functions 1 July 13th 05 11:20 AM
Counting rows of blanks across certain columns crossingboston New Users to Excel 1 May 26th 05 05:20 PM
Counting rows with 3 columns Tuc Excel Worksheet Functions 4 April 26th 05 06:46 PM


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