Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How to count rows with changing data

I have an imported list on sheet2 and it is maybe 100 rows. Each day the
data is imported the dates change along with the type of record associated
with each date.

Say this week there are 25 rows with 11/13, 20 rows with 11/14 and 25 rows
with 11/15 and 30 rows with 11/16. Mixed in with this each of these dates
might have a different type of record (each type has 4 options.)

I need to be able to do the following:

1.) I need to count the number of occurrences for each date and not only
show the total count but also show the date that is counted as the label.

2.)count the rows by date and type so I would have potentially 16 results
with totals and be able to display the results along with the labels being
counted.

Example 11/13 --Live -- 20 records
11/13--drop--15 records
11/14 --live--15 records
11/14--drop--12 records

Keep in mind that each day the date range changes, so this would involve
variables or something and I cant figure it out.

Any help would be appreciated.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default How to count rows with changing data

Steve,

Use a pivot table based on your imported data - use date at the row field,
type as either a row field or a column field, and any data type as the data
field, set to count.

There are many sources of help for pivot tables - start with Excel help,
then search the web if you get stuck.

HTH,
Bernie
MS Excel MVP



"Steve in MN" wrote in message
...
I have an imported list on sheet2 and it is maybe 100 rows. Each day the
data is imported the dates change along with the type of record associated
with each date.

Say this week there are 25 rows with 11/13, 20 rows with 11/14 and 25 rows
with 11/15 and 30 rows with 11/16. Mixed in with this each of these dates
might have a different type of record (each type has 4 options.)

I need to be able to do the following:

1.) I need to count the number of occurrences for each date and not only
show the total count but also show the date that is counted as the label.

2.)count the rows by date and type so I would have potentially 16 results
with totals and be able to display the results along with the labels being
counted.

Example 11/13 --Live -- 20 records
11/13--drop--15 records
11/14 --live--15 records
11/14--drop--12 records

Keep in mind that each day the date range changes, so this would involve
variables or something and I cant figure it out.

Any help would be appreciated.

Thanks


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
Changing data in column for multiple rows Big Krackers Excel Discussion (Misc queries) 1 April 3rd 08 04:57 PM
Count all rows in column with data, Except rows 1-5 Gregory Day Excel Worksheet Functions 4 March 27th 08 02:58 PM
Regressions with data in (changing) rows Ying-Foon Chow Excel Discussion (Misc queries) 2 November 17th 07 08:17 PM
How do I sort or filter rows without column A data changing? Kesbutler Excel Discussion (Misc queries) 7 July 27th 07 10:57 PM
Sorting 4 rows of data and changing the text of the highest value. AbeAbeAbe Excel Discussion (Misc queries) 2 February 17th 07 05:54 PM


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