LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Tom F
 
Posts: n/a
Default Sumproduct with a vLookup, multiple criteria

Hi All, first time poster:

I'm trying to build a formula that will return a sum of several
products, while using several criteria. This is much more in depth than
I've had to ever get before. let me try to explain what I'm doing:

On Sheet 1, I have a list of stores, and on Sheet 2 I have a list of
employees at each store. Each employee has a two job codes listed next
to their name that determines that employee's sales goal for the year.
On Sheet 3 is a table that lists the job codes (column A) and the sales
goal for that job code (column B).

So, what I want the formula to do is look on sheet 2 and identify the
employees that work in the store. I've gotten it to do a count of those
employees with this formula:

=SUMPRODUCT(('Sheet 2'!$A$2:$A$100='Sheet 1'!A7)*('Sheet
2'!$G$2:$G$100="R"))

The "R" is solely an identifier that tells me that they have a sales
goal. This is the "unimportant" job code. In the next column is a
second job code ("important") that is numeric. That numeric code
corresponds to the table on Sheet 3.

Ok, if I'm still making sense, let me finish this thought. The formula
would need to look for the Store Name, the Unimportant Job Code and the
Important Job Code on Sheet 2. once it has that information, it has to
find the goal for each employee on Sheet 3. I then want it to give me a
sum of the goals for all the employees that it found for that store.

Notes:
Sheet 1, Column A = Store Name
Sheet 2, Column A = Store Name
Sheet2, Column G = Alphabetic job code (i.e. "R")
Sheet 2, Column L = Numeric job code
Sheet3, Column A = Numeric job code
Sheet3, Column B = Annual Sales goal by job code (i.e. $100,000)

Any help or questions are definitely appreciated!!!

Tom

 
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
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM
sumproduct using multiple criteria tifosi3 Excel Worksheet Functions 2 January 6th 05 08:46 PM
Sumproduct - multiple criteria in Column A briank Excel Worksheet Functions 2 January 6th 05 06:44 PM
VlookUp with Multiple Criteria? Arturo Excel Worksheet Functions 3 December 20th 04 06:59 PM
Multiple Vlookup? changeable Excel Worksheet Functions 0 November 9th 04 11:52 AM


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