Need help creating a sum based on variable data.

J

John McKeon

I have rows of data on a worksheed which represents proposals of all my reps.
Each Month is represented by a separate worksheet. Each row contains the
name of the rep in one cell (column c) and the dollar amount of the proposal
in another cell (column h). There are over 300 proposals in each worksheet
with 5 different reps. I need to create a sum in a different cell for each
rep. I can do this manually by sorting and selecting each rep each month. I
am wondering if there is a formula that will seach one column and sum all
values that are associated with a given value. is there a formula that will
accomplish this?
 
M

Max

You can harness the power of SUMIF & INDIRECT
In your summary sheet,
List the reps names in A2 down eg: John
List the monthly sheetnames as pure TEXT in B1 across, eg: Jan10, Feb10, etc
Put in B2:
=SUMIF(INDIRECT("'"&B$1&"'!C:C"),$A2,INDIRECT("'"&B$1&"'!H:H"))
Copy B2 across/fill down to return the numbers for each from each monthly
sheet. To the right of the populated table, you could just use a simple SUM
in an adjacent col to gather the totals for each rep. Inspiring? hit the YES
below
 

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