Query

S

Supriya

Hey,

There are 3 columns of data.
Call Opened,Owner, Source
1)Now, i would like to pick up the total no of rows which has cal
opened date from 1st Feb to 7th Feb.
2) For each owner, total no of calls within 1st to 7th Fe
 
F

Frank Kabel

Hi
1.
=SUMPRODUCT((range_call_opened>=DATE(2004,2,1))*(range_call_opened<=DAT
E(2004,2,77)))
2.
=SUMPRODUCT((range_call_opened>=DATE(2004,2,1))*(range_call_opened<=DAT
E(2004,2,77))*(range_owner='Owner_name))

Frank
 
A

Arvi Laanemets

Hi

Define dynamic named ranges for CallOpened, Owner and Source, with
CallOpened as key column. Something like:
CallOpened=OFFSET(SheetName!$A$2,,,COUNTIF(SheetName!$A:$A,"<>")-1,1)
Owner=OFFSET(SheetName!$B$2,,,COUNTIF(SheetName!$A:$A,"<>")-1,1)
where SheetName is the name of sheet with your Data, and your table is in
columns A:C, with 1st row as column headers.

Formulas will be:
=SUMPRODUCT((CallOpened>=X1)*(CallOpened<=Y1))
with dates in X1:Y1
=SUMPRODUCT((CallOpened>=X1)*(CallOpened<=Y1)*(Owner=Z1))
with owner name in Z1
 

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

Top