January Not = January? - 1162 - Learn Excel

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Dec 21, 2009.
A simple MATCH formula is not working. In episode 1162, we wander through the Validation dialog, the Name Manager dialog, all trying to figure out why the MATCH formula is returning #N/A.
maxresdefault.jpg


Transcript of the video:
The MrExcel podcast is brought to you by “Easy-XL”!
Hey, welcome back to the MrExcel netcast, I'm Bill Jelen.
Well, today's question, frankly, it's sent in by me.
I'm trying to answer Shaun's question which will probably have to do tomorrow, but I can't figure this out.
Shaun has a drop-down up there, and he wants to figure out, when that drop-down changes he wants to bring a section of a report over.
So I knew that I had to go figure out, when he chooses January, where does that section of the report start?
Alright, and that's a =MATCH.
So I go look for this value, and over here we'll start in a well- Actually, you know what?
Let's just do the whole column, that should work, ,0 , because it's an exact match, and I get #N/A. What's up with that?
So I say “Alright well, let's see if this January in cell B3 is equal to this one over here, it's not!” Alright, so it's spelled wrong somewhere, J-A-N-U-A-R-Y, J-A-N-U-A-R-Y, wild.
Alright, so we have to come here, I'm going to go to Data and then Validation, Data Validation, and I see that they're pulling this from somewhere called MONTHS.
I won't figure out where that MONTHS is actually stored, so we come to Formula Name Manager, click on MONTHS, and I see that it is stored on the YEAR sheet, BE6:BE17, let's go out there.
So we come out here, BE6:BE17, Alright, and here I can finally, let's make this a little bit wider, so we can see what's going on, I press the F2 key.
Ah, look at that, there's a trailing space at the end.
Alright, so Shaun, very clever, setting up this spreadsheet with the data validation out here where no one can see it.
But unfortunately those spaces, unless you enter the exact same spaces in the other sheet, and apparently you did not, is going to cause a lot of problems.
Alright, so we have, you know, a relatively hard thing that we have to do for you tomorrow, but because of those spaces, we are having just initial problems.
So let's come here, and will again, choose from the list, now that the list does not have spaces, I'm getting the 3, beautiful.
and then February, the 31, and that's telling me what row, relative row, is found.
We’re going to use that information tomorrow to try and pull the rest of your report over.
Hey, I want to thank you for stopping by, we'll see you next time for another netcast from MrExcel!
 

Forum statistics

Threads
1,223,701
Messages
6,173,920
Members
452,539
Latest member
deeme

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