Index Match QTD?

amc1528

New Member
Joined
Aug 28, 2015
Messages
18
Hello. I am trying to see if it's possible to create a formula that can do a QTD (quarter to date) or YTD (dynamic range) formula with index, match, match. I have index match match which gives me a single month's data, and I have a QTD index match formula, which can give me the qtd data through a specific month, but not a specific account. Is it possible to have both? I'm hoping that it's a simple thing for someone out there. Thanks!
 
Apologies could not help you. But I remember strongly, the same post I have seen on MrExcel. May b you will get..by doing any search..Cheers..
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
thanks for trying. I searched mrexcel first, prior to posting, and was unable to find a solution.
Now I am hoping someone out there is able to assist.
Thanks
 
Upvote 0
Hi,

Not using index;match but sum/offset.

try this:


Book1
ABCDEFGHIJKLMN
1JanfebMrtAprMayJunJulAugSepOctNovDecFY
2Net Sales10001000250010001000250010001000250010001000250018000
3COGS2502503002502503002502503002502503003200
4Gross IMU750750220075075022007507502200750750220014800
5IGM795795224579579522457957952245795795224515340
6
7AprMay
8QTDSingle MonthQtD If AprilQTD If May
9in millionsw/o account lookupIndex MatchShould beShould be
10Net Sales100010002000
11COGS250250500
Sheet1
Cell Formulas
RangeFormula
N2=SUM(B2:M2)
N3=SUM(B3:M3)
N4=SUM(B4:M4)
N5=SUM(B5:M5)
C10=OFFSET($A$1,MATCH($A10,$A$2:$A$5,0),MATCH($D$7,$B$1:$M$1,0))
C11=OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),MATCH($D$7,$B$1:$M$1,0))
D10=OFFSET($A$1,MATCH($A10,$A$2:$A$5,0),MATCH($D$7,$B$1:$M$1,0),1,(INT(MATCH($D$7,$B$1:$M$1,0)/3)*3)-MATCH($D$7,$B$1:$M$1,0))
D11=OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),MATCH($D$7,$B$1:$M$1,0),1,(INT(MATCH($D$7,$B$1:$M$1,0)/3)*3)-MATCH($D$7,$B$1:$M$1,0))
E10=SUM(OFFSET($A$1,MATCH($A10,$A$2:$A$5,0),(INT(MATCH($E$7,$B$1:$M$1,0)/3)*3)+1,1,MATCH($E$7,$B$1:$M$1,0)-(INT(MATCH($E$7,$B$1:$M$1,0)/3)*3)))
E11=SUM(OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),(INT(MATCH($E$7,$B$1:$M$1,0)/3)*3)+1,1,MATCH($E$7,$B$1:$M$1,0)-(INT(MATCH($E$7,$B$1:$M$1,0)/3)*3)))
 
Upvote 0

Forum statistics

Threads
1,216,018
Messages
6,128,307
Members
449,439
Latest member
laurenwydo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top