Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Syahira
 
Posts: n/a
Default how to sum up or count based on dates

Let say I have this file will multiple sheets: Bob, Adam, Shiela

This example in Bob sheet:

Date Activities Venue
3/19/2006 Parents Meeting Branch
3/25/2006 Area Meeting A HQ
4/3/2006 Clients Orientation Branch
5/11/2006 Team Meeting HQ

Adam:

Date Activities Venue
2/8/2006 Clients Oreintation Branch
3/25/2006 Area Meeting B HQ
4/17/2006 Team Meeting HQ
4/28/2006 Staff Training HQ

How to make a summary in a different page based on
dates/activities/Venue/name?

Thank You (^_^)

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default how to sum up or count based on dates

See response in excel.misc.

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Syahira" wrote in message
...
Let say I have this file will multiple sheets: Bob, Adam, Shiela

This example in Bob sheet:

Date Activities Venue
3/19/2006 Parents Meeting Branch
3/25/2006 Area Meeting A HQ
4/3/2006 Clients Orientation Branch
5/11/2006 Team Meeting HQ

Adam:

Date Activities Venue
2/8/2006 Clients Oreintation Branch
3/25/2006 Area Meeting B HQ
4/17/2006 Team Meeting HQ
4/28/2006 Staff Training HQ

How to make a summary in a different page based on
dates/activities/Venue/name?

Thank You (^_^)



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default how to sum up or count based on dates

As responsed to your multi-post in .misc ..
(please do not multi-post)
---
How to make a summary in a different page based on
dates/activities/Venue/name?


Here's a slightly different take on the above <g ..
and a play using non-array formulas

which drives out in a sheet: X
an auto-consolidation from the 3 source sheets (stacked)

and then in a sheet: Y,
an auto-sort of X in chronologic sequence by dates

A sample construct is available at:
http://www.savefile.com/files/3089838
Auto-consol n sort data fr multiple sheets by dates.xls

Assume 3 identical structure source sheets named: Bob, Adam, Sheila,
col headers in A1:C1 : Date, Activities, Venue,
data from row2 down to a max expected row10

In Bob,
Put in D2: =IF(A2="","",ROW())
Copy down to D10

In Adam,
Put in D2: =IF(A2="","",ROW()+MAX(Bob!D:D))
Copy down to D10

In Sheila,
Put in D2: =IF(A2="","",ROW()+MAX(Adam!D:D))
Copy down to D10

In a new sheet X:
Col Headers in A1:D1 : Date, Activities, Venue, Name

Put in A2:
=IF(ISERROR(SMALL(Bob!$D:$D,ROW(A1))),
IF(ISERROR(SMALL(Adam!$D:$D,ROW(A1)-COUNT(Bob!$D:$D))),
IF(ISERROR(SMALL(Sheila!$D:$D,ROW(A1)-(COUNT(Bob!$D:$D)+COUNT(Adam!$D:$D)))),"",
INDEX(Sheila!A:A,MATCH(SMALL(Sheila!$D:$D,ROW(A1)-(COUNT(Bob!$D:$D)+COUNT(Adam!$D:$D))),Sheila!$D:$D ,0))),
INDEX(Adam!A:A,MATCH(SMALL(Adam!$D:$D,ROW(A1)-COUNT(Bob!$D:$D)),Adam!$D:$D,0))),
INDEX(Bob!A:A,MATCH(SMALL(Bob!$D:$D,ROW(A1)),Bob!$ D:$D,0)))

Copy A2 to C2

Put in D2:
=IF(ROW(A1)-1<COUNT(Bob!D:D),"Bob",IF(ROW(A1)-1<COUNT(Adam!D:D)+COUNT(Bob!D:D),"Adam",IF(ROW(A1 )-1<COUNT(Sheila!D:D)+COUNT(Adam!D:D)+COUNT(Bob!D:D) ,"Sheila","")))

Select A2:D2, copy down to D30

X gathers and returns the results from the 3 source sheets, in this sequence:
Lines from Bob, then those from Adam, then those from Sheila (stacked)

In a new sheet Y:
Col Headers in A1:D1 : Date, Activities, Venue, Name

Put in A2:
=IF(ISERROR(SMALL($E:$E,ROW(A1))),"",
INDEX(X!A:A,MATCH(SMALL($E:$E,ROW(A1)),$E:$E,0)))
Copy A2 to D2

Put in E2:
=IF(X!A2="","",X!A2+ROW()/10^10)
Select A2:E2, copy down to E30

Y returns the results from the 3 source sheets,
sorted in chronologic sequence by the dates in col A
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Syahira" wrote:
Let say I have this file will multiple sheets: Bob, Adam, Shiela

This example in Bob sheet:

Date Activities Venue
3/19/2006 Parents Meeting Branch
3/25/2006 Area Meeting A HQ
4/3/2006 Clients Orientation Branch
5/11/2006 Team Meeting HQ

Adam:

Date Activities Venue
2/8/2006 Clients Oreintation Branch
3/25/2006 Area Meeting B HQ
4/17/2006 Team Meeting HQ
4/28/2006 Staff Training HQ

How to make a summary in a different page based on
dates/activities/Venue/name?

Thank You (^_^)

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
Simple Way to Count the Number of Duplicate Dates on Multiple Worksheets Dan Excel Discussion (Misc queries) 2 February 23rd 06 11:46 PM
Count Problem between dates Frick Excel Worksheet Functions 4 December 15th 05 05:02 PM
how would I count dates (not # of days) in cells that fall betwee. sailingscotts Excel Worksheet Functions 3 August 16th 05 04:29 AM
Count cells based on date range in another column [email protected] New Users to Excel 1 May 5th 05 08:11 PM
Count cells in a column that contain dates Cachod1 New Users to Excel 1 March 29th 05 08:56 PM


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