LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Subtotaling one sheet on another sheet

Hi Brenda,
I answer but it looks like it didn't go through, Ok information is in sheet
1 and summary in sheet2
I am assuming that in sheet1 column A you have the material names and in
column B the information to be summarize, change it to suite your needs. In
sheet 2 column A make a list of your materials i.e. cell A2=Mat 1; Cell
A3=Mat 2
In cell B2 enter the formula as follow and copy it all the way down

=SUMPRODUCT(--(A2=Sheet1!$A$2:$A$100),--Sheet1!$B$2:$B$100)
If you are using excel 2007 use

=SUMPRODUCT(--(A2=Sheet1!A:A),--Sheet1!B:B)
Hope this help



"Brenda from Michigan" wrote:

I was not clear; please let me rephrase.

In sheet 1 he may have 50 entries for materials and a total of 5 different
types of materials. i.e. Mat1, MatA, Mat34, Mat5, etc.

He wants to pull out all the Mat1 on sheet one, add its appropriate total
(there may be 5-10 entries for Mat1 spread throughout the column), and show
the total in a Summary on sheet 2.

Then you do the same for MatA, Mat34, Mat5, and so on. I keep thinking this
is a LOOKUP or a Consolidating function, but I can't get my mind wrapped
around how to set it up.


"Eduardo" wrote:

Hi Brenda,
I don't understand why you need to summarize in sheet 1 information from
sheet2 and then show the results in sheet2 but anyway try this
Let's assume that the material code is in column A sheet2 and amounts in
column B
in sheet 1 column A make a list of your materials starting in row 2 and in
B2 enter this formula

=SUMPRODUCT(--(A2=Sheet2!A2:A13),--Sheet2!B2:B13)

Change the range to fit your needs but remember always the range has to be
the same in both parts of the formula
Then in sheet 2 you can pull the information from sheet1
If this was helpful please say yes. thank you

"Brenda from Michigan" wrote:

Excel 2003 SP3

It's been years since I've had training and this one is just getting away
from me. User has Sheet1 with list of material types and material amounts.
This is setup as a form so neither of these columns is the leftmost column.

He wants to summarize a total of Material A, Material B, etc. on Sheet 2 by
adding the respective amounts of each material in Sheet 1 and showing the
total on Sheet 2. If I could get him to simply copy sheet 1 to sheet 3, then
sort and sub-total, it would be easy, but that's not what he wants. Can
anyone offer any advice? Thanks!

 
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
excel sheet bootom half sheet goes behind top part of sheet rob Excel Worksheet Functions 2 January 17th 09 01:28 AM
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
How do I select price from sheet.b where sheet.a part no = sheet.b Sonny Excel Worksheet Functions 4 April 4th 06 05:08 PM
Using subtotaling and protecting a sheet at the same time Wayne Excel Worksheet Functions 1 January 13th 06 05:28 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. RonMc5 Excel Discussion (Misc queries) 9 February 3rd 05 12:51 AM


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