range checking

  • Thread starter Thread starter kev carter
  • Start date Start date
K

kev carter

hi

i have a worksheet with a lot of data on it
column A contains the date
column B contains an area
column C contains the fault
column D contain a quantity


A B C
D
1/4/04 stores damaged
10
7/4/04 bins rust
60

what i want to do is return quantity for a date range(one week) that is
both damaged and in the stores or any other combination
there are 10 areas and 12 faults plus 52 weeks this is a lot of formulas

anyone got any ideas how i can
do this over a range


Thanks in advance


kevin
 
Hi
try something like
=SUMPRODUCT(--(A1:A100>=DATE(2004,4,1)),--(A1:A100<=DATE(2004,4,7)),--(
B1:B100="stores"),--(C1:C100="damaged"),D1:D100)
 
thanks Frank
this would mean i have to enter a formula for each condition
i have 10 areas and 12 faults for each week of the year
is there any way of reducing the number of formulas ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

re post range check 2
to many formula 5
Sumproduct with multiple date criteria 1
Print range 3
Rank and return Names 5
SUM - IF - AND 7
Numbers from first column 5
pulling from one sheet to another 3

Back
Top