Index & Match function retug # N/A

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have numbers in Col A from 1 to 12 and the month and year in Col B on sheet "months"



Book1
AB
11Sep-2016
22Oct-2016
33Nov-2016
44Dec-2016
55Jan-2017
66Feb-2017
77Mar-2017
88Apr-2017
99May-2017
1010Jun-2017
1111Jul-2017
1212Aug-2017
13
14
15
16
17
Months


I have tried to set up an index and match function on sheet "fixed Assets" but I get #N/A



Book1
UV
1PeriodMonth
2#N/AMarch-2017
3
4
5
6
Fixed Assets
Cell Formulas
RangeFormula
U2=INDEX(Months!A1:A15,MATCH(V2,MATCH(Months!B1:B15,0)))



It would be appreciated if somone could kindly assist me
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How are your months entered? As actual dates (3/1/2017) or as Mar-17? And do the match between sheets?
 
Last edited:
Upvote 0
it is returning a fail because the formats are different on you Months sheet it is Mar-2017 and on your assets sheet it is March-2017
 
Upvote 0
You can get the month number without the lookup table...

If V2 is entered as a real date, you can get the desired month number like this

=MONTH(EDATE(V2,4))
 
Upvote 0
My apologies. I was referring to the match in V2, it should be match(U2,

Formula now works perfectly
 
Upvote 0

Forum statistics

Threads
1,214,575
Messages
6,120,334
Members
448,956
Latest member
Adamsxl

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