If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Need help creating a sum based on variable data.
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? |
#2
|
|||
|
|||
Need help creating a sum based on variable data.
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 -- Max Singapore --- "John McKeon" wrote: 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? |
Thread Tools | |
Display Modes | |
|
|