#1   Report Post  
Posted to microsoft.public.excel.misc
Geo Geo is offline
external usenet poster
 
Posts: 66
Default Filter data

I have the following table:
Columns:
A B C D
Date From Date To
A2 B2

Date Unit Category Time
12/9/07 Wilts U/S 2:00
12/9/07 Wilts S 8:00
13/9/07 YAA S 9:00
15/9/07 YAA U/S 3:00
and so on.......

How can I filter the data so that when i enter two dates in cell A2 and B2,
it gives me the totals time under each unit and category between those dates

--
Geo
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Filter data

In C2 enter:
=SUMPRODUCT(--(A8:A11=$A$2),--(A8:A11<=$B$2),D8:D11)*24

where your Table (including the header is A7:D11)

Jim May


"Geo" wrote:

I have the following table:
Columns:
A B C D
Date From Date To
A2 B2

Date Unit Category Time
12/9/07 Wilts U/S 2:00
12/9/07 Wilts S 8:00
13/9/07 YAA S 9:00
15/9/07 YAA U/S 3:00
and so on.......

How can I filter the data so that when i enter two dates in cell A2 and B2,
it gives me the totals time under each unit and category between those dates

--
Geo

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
Filter data and fill only filtered data Thad Meyers[_2_] Excel Discussion (Misc queries) 1 August 30th 07 06:26 PM
Excel 2007 Data Filter - When using cut it clears all data SEF Excel Discussion (Misc queries) 2 June 20th 07 04:10 PM
in data/filter/auto filter sp8 Excel Worksheet Functions 2 May 12th 06 01:03 AM
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du TC Excel Worksheet Functions 1 May 12th 05 02:06 AM
How to filter and list data based on different data. Defoes Right Boot Excel Worksheet Functions 3 April 13th 05 04:03 PM


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