Solved

index match formula to sum date for a month

Posted on 2014-01-27
3
1,050 Views
Last Modified: 2014-01-28
Hi Expert's excel 2007

is it possible to the all the values for all the dates in a given month using a index match formula..the dates are on the horizontal match...
ie.
             01/11/2013.   02/11/2013.   03/11/2013
abd.          12.                       9.                         7
cgd.           11.                      8.                         3

So in my new table I want to show a total for Nov 13 of abd etc..
0
Comment
Question by:route217
  • 2
3 Comments
 
LVL 31

Expert Comment

by:Rob Henson
ID: 39811897
Index & macth will return the value from one cell rather than a range.

Maybe you can use the SUMIFS function.

Do you require the match function to determine which row the SUM is coming from, ie identify which row is "abd" and sumup that row if the header for the column is within the specified month.

Thanks
Rob H
0
 
LVL 24

Assisted Solution

by:Steve
Steve earned 250 total points
ID: 39811946
Using an array formula like:
=SUM(IF(A4:A5=B9,IF(MONTH(B3:L3)=B8,B4:L5)))
Will do the trick...

See attachment for a working example
(press [ctrl]+[shift]+[enter] when entering an array formula)
example.xlsx
0
 
LVL 31

Accepted Solution

by:
Rob Henson earned 250 total points
ID: 39811954
See attached with a few options:

Data tab - sample data as per question with a few extra columns to demo extra dates and suggestioin with SUMIFS function using single date cell as reference
SUMIFS - summary table using SUMIFS with multiple date cells for reference
OFFSET - quite invlolved formula to determine range of data based on id input and date, assumes that data is in chronological order in columns; finds first column within date range and uses columns to the right of first column found equal to number of columns that match date range.

Thanks
Rob H
SUMIFS-or-OFFSET.xlsx
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 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

13 Experts available now in Live!

Get 1:1 Help Now