stephenpoff
New Member
- Joined
- Feb 24, 2020
- Messages
- 5
- Office Version
- 2010
- Platform
- Windows
Hi,
I have a range of data, with dates in column A, and columns of prices based on 4 possible variables. I'm trying to sum the price data, based on a date range for a selected variable using the below INDEX/MATCH formula
=SUMIFS(INDEX(Data!$O$3:$R$10001,MATCH(E11,Data!$A$3:$A$10001,0),MATCH(B11,Data!$G$2:$J$2,0))
Where:
- Data!$O$3:$R$10001 = price per day for each variable
- Data!$A$3:$A$10001 = dates (matched based on what date is in cell E11)
- Data!$G$2:$J$2 = variable 1-4 (matched based on what variable is in cell B11)
I am trying to change the date look up to sum if within a range (between two dates), rather than just return one value based on one date
Any help?
Thanks
I have a range of data, with dates in column A, and columns of prices based on 4 possible variables. I'm trying to sum the price data, based on a date range for a selected variable using the below INDEX/MATCH formula
=SUMIFS(INDEX(Data!$O$3:$R$10001,MATCH(E11,Data!$A$3:$A$10001,0),MATCH(B11,Data!$G$2:$J$2,0))
Where:
- Data!$O$3:$R$10001 = price per day for each variable
- Data!$A$3:$A$10001 = dates (matched based on what date is in cell E11)
- Data!$G$2:$J$2 = variable 1-4 (matched based on what variable is in cell B11)
I am trying to change the date look up to sum if within a range (between two dates), rather than just return one value based on one date
Any help?
Thanks