Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Help With Conting In A List

I have a table of information that I need to simplify into a summary table.

Column B = Name
Column F= Time
Column H = Status

I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. To
further complicate things, I need to count by individual names.

My Hope is to have the final table look something like this:

Billie (Under 24 Hours) [Number]
Billie (Over 24 Hours) [Number]

Jeremy (Under 24 Hours) [Number]
Jeremy (Over 24 hours) [Number]
There will also be names that are not on the list. I need those to return
Zero.

Please help.




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Help With Conting In A List

Assume your summary table starts with names in X2 on the same sheet,
and that you have 250 rows of data starting on row 2. It might look
better if you used column Y for under 24 hours and column Z for
greater than 24 hours, so put this formula in Y2:

=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250<1))

and this in Z2:

=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250=1))

Note the similarity of the formulae - you can copy from Y2 into Z2 and
just amend the end part. Adjust the ranges from 250 if you have more
data than this.

Not sure why you told us that column H is status, as we haven't used
that.

Hope this helps.

Pete

On Feb 11, 5:16*pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I have a table of information that I need to simplify into a summary table..

Column B = Name
Column F= Time
Column H = Status

I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. *To
further complicate things, I need to count by individual names.

My Hope is to have the final table look something like this:

Billie (Under 24 Hours) * * [Number]
Billie (Over 24 Hours) * [Number]

Jeremy (Under 24 Hours) * * [Number]
Jeremy (Over 24 hours) * * [Number]
There will also be names that are not on the list. *I need those to return
Zero.

Please help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Help With Conting In A List

I see what you're doing here, but I don't think it will give me what I need.
I am looking for how many times does the Name 'Billie" appear in Column B
when The corresponding cell in Column F is (greater and less than(2
formulas)) 24 and the corresponding cell in column H is Z9, I don't need
information on the other status after a second look.

"Pete_UK" wrote:

Assume your summary table starts with names in X2 on the same sheet,
and that you have 250 rows of data starting on row 2. It might look
better if you used column Y for under 24 hours and column Z for
greater than 24 hours, so put this formula in Y2:

=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250<1))

and this in Z2:

=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250=1))

Note the similarity of the formulae - you can copy from Y2 into Z2 and
just amend the end part. Adjust the ranges from 250 if you have more
data than this.

Not sure why you told us that column H is status, as we haven't used
that.

Hope this helps.

Pete

On Feb 11, 5:16 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I have a table of information that I need to simplify into a summary table..

Column B = Name
Column F= Time
Column H = Status

I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. To
further complicate things, I need to count by individual names.

My Hope is to have the final table look something like this:

Billie (Under 24 Hours) [Number]
Billie (Over 24 Hours) [Number]

Jeremy (Under 24 Hours) [Number]
Jeremy (Over 24 hours) [Number]
There will also be names that are not on the list. I need those to return
Zero.

Please help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Help With Conting In A List

Did you try the formulae?

If your times are in Excel time format, then 24 hours equates to a
value of 1, as times are stored internally as fractions of a 24-hour
day. Thus, comparing column F values with 1 is the same as comparing
them with 24 hours, and the other comparison is checking on the names
in column B being the same as the name in X2. When the formula is
copied down this changes to X3, X4 etc, i.e. it will take in the
different names you have listed (once) in column X.

Try it and see.

Pete

On Feb 11, 5:46*pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I see what you're doing here, but I don't think it will give me what I need. *
I am looking for how many times does the Name 'Billie" appear in Column B
when The corresponding cell in Column F is (greater and less than(2
formulas)) 24 and the corresponding cell in column H is Z9, I don't need
information on the other status after a second look.



"Pete_UK" wrote:
Assume your summary table starts with names in X2 on the same sheet,
and that you have 250 rows of data starting on row 2. It might look
better if you used column Y for under 24 hours and column Z for
greater than 24 hours, so put this formula in Y2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250<1))


and this in Z2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250=1))


Note the similarity of the formulae - you can copy from Y2 into Z2 and
just amend the end part. Adjust the ranges from 250 if you have more
data than this.


Not sure why you told us that column H is status, as we haven't used
that.


Hope this helps.


Pete


On Feb 11, 5:16 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I have a table of information that I need to simplify into a summary table..


Column B = Name
Column F= Time
Column H = Status


I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. *To
further complicate things, I need to count by individual names.


My Hope is to have the final table look something like this:


Billie (Under 24 Hours) * * [Number]
Billie (Over 24 Hours) * [Number]


Jeremy (Under 24 Hours) * * [Number]
Jeremy (Over 24 hours) * * [Number]
There will also be names that are not on the list. *I need those to return
Zero.


Please help.- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default Help With Conting In A List

Now it makes much more sense, and I think it works. Two final questions:

if I change it to
=SUMPRODUCT((($B$2:$B$300=$M8)*($F$2:$F$300<24)))* ($H$2:$H$300="Z9")

will that only count the items that have the Z9 Status in column H? There
are only 2 types of status in this report, Z9 and ZB. I do some other
manipulatin with the ZB orders. I only need to count the orders in Z9. You
will note that I changed your 1 to a 24. My data is in numbers.

Also, If make the range larger than the data, will this mess up the formula,
having empty cells?

"Pete_UK" wrote:

Did you try the formulae?

If your times are in Excel time format, then 24 hours equates to a
value of 1, as times are stored internally as fractions of a 24-hour
day. Thus, comparing column F values with 1 is the same as comparing
them with 24 hours, and the other comparison is checking on the names
in column B being the same as the name in X2. When the formula is
copied down this changes to X3, X4 etc, i.e. it will take in the
different names you have listed (once) in column X.

Try it and see.

Pete

On Feb 11, 5:46 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I see what you're doing here, but I don't think it will give me what I need.
I am looking for how many times does the Name 'Billie" appear in Column B
when The corresponding cell in Column F is (greater and less than(2
formulas)) 24 and the corresponding cell in column H is Z9, I don't need
information on the other status after a second look.



"Pete_UK" wrote:
Assume your summary table starts with names in X2 on the same sheet,
and that you have 250 rows of data starting on row 2. It might look
better if you used column Y for under 24 hours and column Z for
greater than 24 hours, so put this formula in Y2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250<1))


and this in Z2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250=1))


Note the similarity of the formulae - you can copy from Y2 into Z2 and
just amend the end part. Adjust the ranges from 250 if you have more
data than this.


Not sure why you told us that column H is status, as we haven't used
that.


Hope this helps.


Pete


On Feb 11, 5:16 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I have a table of information that I need to simplify into a summary table..


Column B = Name
Column F= Time
Column H = Status


I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. To
further complicate things, I need to count by individual names.


My Hope is to have the final table look something like this:


Billie (Under 24 Hours) [Number]
Billie (Over 24 Hours) [Number]


Jeremy (Under 24 Hours) [Number]
Jeremy (Over 24 hours) [Number]
There will also be names that are not on the list. I need those to return
Zero.


Please help.- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Help With Conting In A List

You will need to make it:

=SUMPRODUCT(($B$2:$B$300=$M8)*($F$2:$F$300<24)*($H $2:$H$300="Z9"))

Should be okay if you have less than 300 rows of data (in this case).

Hope this helps.

Pete

On Feb 11, 7:56*pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
Now it makes much more sense, and I think it works. *Two final questions:

if I change it to
=SUMPRODUCT((($B$2:$B$300=$M8)*($F$2:$F$300<24)))* ($H$2:$H$300="Z9")

will that only count the items that have the Z9 Status in column H? There
are only 2 types of status in this report, Z9 and ZB. *I do some other
manipulatin with the ZB orders. *I only need to count the orders in Z9. *You
will note that I changed your 1 to a 24. *My data is in numbers.

Also, If make the range larger than the data, will this mess up the formula,
having empty cells?



"Pete_UK" wrote:
Did you try the formulae?


If your times are in Excel time format, then 24 hours equates to a
value of 1, as times are stored internally as fractions of a 24-hour
day. Thus, comparing column F values with 1 is the same as comparing
them with 24 hours, and the other comparison is checking on the names
in column B being the same as the name in X2. When the formula is
copied down this changes to X3, X4 etc, i.e. it will take in the
different names you have listed (once) in column X.


Try it and see.


Pete


On Feb 11, 5:46 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I see what you're doing here, but I don't think it will give me what I need. *
I am looking for how many times does the Name 'Billie" appear in Column B
when The corresponding cell in Column F is (greater and less than(2
formulas)) 24 and the corresponding cell in column H is Z9, I don't need
information on the other status after a second look.


"Pete_UK" wrote:
Assume your summary table starts with names in X2 on the same sheet,
and that you have 250 rows of data starting on row 2. It might look
better if you used column Y for under 24 hours and column Z for
greater than 24 hours, so put this formula in Y2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250<1))


and this in Z2:


=SUMPRODUCT(($B$2:$B$250=$X2)*($F$2:$F$250=1))


Note the similarity of the formulae - you can copy from Y2 into Z2 and
just amend the end part. Adjust the ranges from 250 if you have more
data than this.


Not sure why you told us that column H is status, as we haven't used
that.


Hope this helps.


Pete


On Feb 11, 5:16 pm, Jeremy <jeremiah.a.reynolds @ gmail.com wrote:
I have a table of information that I need to simplify into a summary table..


Column B = Name
Column F= Time
Column H = Status


I need to count all of the the items that have a time of greater than 24
hours and all of the times that have a time of less than 24 hours. *To
further complicate things, I need to count by individual names.


My Hope is to have the final table look something like this:


Billie (Under 24 Hours) * * [Number]
Billie (Over 24 Hours) * [Number]


Jeremy (Under 24 Hours) * * [Number]
Jeremy (Over 24 hours) * * [Number]
There will also be names that are not on the list. *I need those to return
Zero.


Please help.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
conting cells? alberto Excel Worksheet Functions 2 April 1st 07 07:40 PM
validation list--list depends on the selection of first list Michael New Users to Excel 2 April 27th 06 10:23 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
sort list of players by team from player list on separate sheet Robert Excel Worksheet Functions 1 July 19th 05 01:57 AM


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