Solved

Excel 2000 - Subtotal or Vlookup?

Posted on 2011-03-03
2
250 Views
Last Modified: 2012-05-11
Dear Experts,

Can you please have a look that attached file, to Sheet1 B2 and B3 cells I am searching some formula, which would be able to do a kind of subtotal from Sheet2 data.

So writing the formulas in words
cell B2 = sum of Qty-ies from Sheet2 where Car1 is on Sheet2 in column A
cell B3 = sum of Qty-ies from Sheet2 where Car2 is on Sheet2 in column A

Could you please advise which formula can be proper to this, maybe VLOOKUP or SUBTOTAL?

thanks,
SumCategories.xls
0
Comment
Question by:csehz
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 35027361
Try SUMIF, in B2 copied to B3

=SUMIF(Sheet2!A:A,A2,Sheet2!B:B)

regards, barry
0
 
LVL 1

Author Closing Comment

by:csehz
ID: 35027393
Barry thanks it is perfect for me
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

937 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now