?
Solved

Formula to return Month totals

Posted on 2011-03-23
3
Medium Priority
?
269 Views
Last Modified: 2012-05-11
Hello,

I am working on the attached sheet and I would like to link Sheet 1 to sheet 2.
Sheet 2 is currently broken up into species (column D) and has percentages based on each species code.
However in sheet 1 I would instead like to base the total amounts on the Kennel (column B) for each month and year.

So for example in sheet 1 cell G2 would have a total of all species of dogs within kennel K2 for January 2007 and so on.

Can someone please let me know how I would go about doing so?

EXAMPLE1.xlsx
0
Comment
Question by:vegas86
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
tilsant earned 2000 total points
ID: 35204554
If your headers always remain in the same order, then you can use the below formula in G2 and then drag right and down:
=SUMPRODUCT(--($B2=Sheet2!$B$2:$B$1753),--($F2=Sheet2!$G$2:$G$1753),Sheet2!H$2:H$1753)


Tils.
Copy-of-EXAMPLE1.xlsx
0
 

Author Closing Comment

by:vegas86
ID: 35204564
Thank you so much Tils, you are a gem!!
0
 
LVL 12

Expert Comment

by:tilsant
ID: 35204567
:)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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