Vlookup not working with table

melodramatic

Board Regular
Joined
Apr 28, 2003
Messages
187
Office Version
  1. 365
Platform
  1. Windows
Somewhere, I've got an error - and I cannot for the life of me figure out where.

I'm trying to create a daily calendar sheet. Pick the day, and I have a simple sheet lining up all of the day's meetings to put atop a reference material for each one.

To begin with, Table 1 has the detail for each meeting, as follows (I hope this shows up...)

fc8f40_0f8c34e611cd41c6a0cbea29168f6bce~mv2.jpg


The code is a simple code of date + the number of times (within that date) that are before the current time. This will help later on when I have a standard set-up, but if there is no code to match (ie, there is no 43216.05), conditional formatting will make sure that nothing shows there.

On a separate sheet, I have a daily list that uses vlookup to finalize the list for that day only...

fc8f40_3138159d5ebb4a019a9f641679631e46~mv2.jpg


The problem I'm having is that, while the first two entries are working fine, after that it bombs out. I've triple, quadruple checked - and I cannot figure out the problem.

On the daily list, for each entry, I have an "Exists" column I've added that shows how many times that code appears - and yes, for the first 5 entries, it does show that code exists. I use that code to steer the vlookup to the correct row for the data pull.

Going down to 43216.02, where the vlookup fails, I've posted the coding again to the right, and made sure that the original row for the comparison code is correct - and it is.

Since it's hard to see (I've got to learn how to post in tables better), the coding is for the top line of each section:
Code:
VLOOKUP($A15,Table1,5,FALSE)
. And as I look, I probably need to change "floor" to "room" in the next section.

I'm going nuts on this - and I know it's going to be something simple somewhere that I simply botched.

Help?
 
Last edited:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
OK, I found my error. Even though the 43216.02 shows that there is a match, when I manually changed that code, everything corrected itself.

THanks!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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