Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default 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?

Reply
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
Creating a linked file based on variable location reference Monk[_2_] Excel Discussion (Misc queries) 2 May 18th 08 10:47 AM
Creating a dynamic list based on a minimum common variable. [email protected] Excel Worksheet Functions 2 February 20th 07 06:26 PM
can excel insert rown based on variable data in a cell? SSBG Excel Worksheet Functions 1 August 6th 06 01:30 PM
How to import data based on a variable kjp55 Excel Worksheet Functions 8 June 9th 06 12:34 AM
Getting data from another workbook based on variable joemc911 Excel Discussion (Misc queries) 3 May 25th 05 09:18 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"