INDEX/MATCH Intermitent error

Ivan1297

New Member
Joined
May 23, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Good Morning!

Hoping someone can help me with this question, I am using Index/match to create a dashboard for a set of data with multiple headings, and across 7 years I am ussing the following formula

=INDEX('Dashboard Data'!B23:AG34,MATCH(selected_month,month),MATCH(selected_year,'Dashboard Data'!$B$21:$AG$21,0))

the formula works and it pulls in the data for the specified month and year however I was checking for errors and it does not work for when i select Feb, April, Aug or Dec. the data is there and it pulls it for every other month except those 4. I have checked for spacing and formatting and nothing seems to work and the formula is correct as it pulls the data correctly for everything else.

maybe someone has run into this before or can point me to the right solution.
1716483210777.png

1716483415967.png
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Can you show the named ranges you're looking up from?
 
Upvote 0
@Ivan1297, welcome to the Forum!

Based on just a quick look, if you're copying this formula down to other rows, you'll need to lock these row references:

=INDEX('Dashboard Data'!B$23:AG$34 ...

Also selected_month and selected_year presumably refer to January 2016? If so, you'll need to change these references for other months/years.

=INDEX('Dashboard Data'!B23:AG34,MATCH(selected_month,month),MATCH(selected_year,'Dashboard Data'!$B$21:$AG$21,0))
 
Upvote 0
Can you show the named ranges you're looking up from?
the Name ranges i am looking for are
Inbound CallsAverage Speed of Answer in SecsAbandoned CallsCall Abandonment Rate


and i am indexing them based on month and year

2016
MonthInbound CallsAverage Speed of Answer in SecsAbandoned CallsAverage of Call Abandonment Rate
January
3,171​
2545
1%​
February
2,520​
1830
1%​
March
4,379​
2972
2%​
April
6,009​
29110
2%​
May
3,559​
49130
4%​
June
3,790​
62164
4%​
July
3,685​
4382
2%​
August
3,472​
44100
3%​
September
3,101​
2962
2%​
October
2,752​
1840
1%​
November
2,763​
2145
2%​
December
2,584​
2237
1%​
Total41,785389917
2%​
 
Upvote 0
I figured it out i was missing a 0 after the first match query) formula works now thanks everyone

=INDEX('Dashboard Data'!B$3:AG$14,MATCH(selected_month,month,0),MATCH(selected_year,'Dashboard Data'!$B$1:$AG$1,0))
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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