LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 733
Default Help please - looking for a formula

wrote...
....
I am trying to accomplish. I am searching for a formula that will
count how many quotes and orders each person is completing on a daily
basis for a specific region.

Sheet one looks like this:
A B C D
Date Region Quote/Order Name
10/02/06 East Q Jane
10/02/06 West O Jane
10/02/06 West O Bill
10/02/06 West O Jane
10/03/06 West Q Jane
10/03/06 East O Bill

Sheet two looks like this:

Monday

....
A B C D
Name Quote Orders Region
Jane 1 1 West
Bill 1 0 West

In this example Jane processed one quote and one order on 10/02/06 for
the west region. Is there a formula that will calculate those qty's
from sheet one onto column B and C of the second sheet? My guess is I
am going to need two formula's: one for column B (Quotes) and one for
column C (Orders).


Formulas for the values in the Quote and Order columns in the second
table are fairly simple. If your entire first table were named TBL and
your second table began in cell A1 of the other worksheet, try these
formulas.

B2 [Jane's West Quotes]:
=SUMPRODUCT(--(INDEX(TBL,0,4)=$A2),--(INDEX(TBL,0,1)=DATE(2006,10,2)),
--(INDEX(Tbl,0,2)=$D2),--(INDEX(Tbl,0,3)="Q"))

C2 [Jane's West Orders]:
=SUMPRODUCT(--(INDEX(TBL,0,4)=$A2),--(INDEX(TBL,0,1)=DATE(2006,10,2)),
--(INDEX(Tbl,0,2)=$D2),--(INDEX(Tbl,0,3)="O"))

The awkward bit here is using the relatively hardcoded DATE(2006,10,2)
for the date sought in Tbl. Otherwise these are straightforward
conditional sums using SUMPRODUCT.

 
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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 08:12 PM.

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"