A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Need help creating a sum based on variable data.



 
 
Thread Tools Display Modes
  #1  
Old May 7th, 2010, 08:20 PM posted to microsoft.public.excel.newusers
John McKeon
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  
Old May 7th, 2010, 09:38 PM posted to microsoft.public.excel.newusers
Max
external usenet poster
 
Posts: 8,574
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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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