Vlookup returning #N/A some of the time

gcot

New Member
Joined
Feb 4, 2004
Messages
28
Anyone know why =VLOOKUP($D$12,$A$1:$AC$8,MATCH(S$13,$A$1:$AC$1,0),FALSE) is returning #N/A while it's working in other cells. D12 is the day of the week, in this case Monday.

I checked to make sure the times were formated the same in both ranges and it looks the same.

Any help would be appreciated.

Thanks.
VL Schedule Recommendation March 2004.xls
ABCDEFGHIJK
18:008:309:009:3010:0010:3011:0011:3012:0012:30
2Sunday333344
3Monday58111214131312109
4Tuesday47991011101198
5Wednesday4678101010888
6Thursday3568998888
7Friday3467888877
8Saturday2344556554
Shifts By Half Hour
 
OK; seems to be a precision-based problem. In the formula, the target S13 is shown to be .520833333 while K1 shows .52083333333333.

What is odd is that =S13=K1 returns TRUE. A fix is to copy/paste the time values from H13:AK13 into B1:AC1, or vice versa.

Sorry, but I'm hopeless when it comes to time values, but I think these 2 rows must have been seeded in a somewhat different manner.
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
That does work. That's something I've never come across.

Thanks for your help Jon. Very much appreciated.

Gilles
 
Upvote 0

Forum statistics

Threads
1,214,661
Messages
6,120,791
Members
448,994
Latest member
rohitsomani

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