Vlookup is skipping over some columns

missnike

New Member
Joined
Jun 7, 2018
Messages
2
Hello -

Help, please. Vlookup is skipping over some columns as though they don't exist. For instance, if I type in the following formula, =VLOOKUP(J2,$C$2:$G$6,3,FALSE), rather than getting what's in the third column, Vlookup returns what's in Column 10.

Has anyone encountered this before?

I checked the following:
- The cells between Columns 3 and 10 are not blank.
- The cells are all formatted the same way.

Please can anyone help me? An example of a table is pasted below. The first cell is Cell C2. I expected to get "Jill" as a return from the formula above (where J2 = Project 1). Instead, I got '3'.

Why did it skip over the columns that contain "Team A" or "3".

Any help will be appreciated!

Project ListLeadersTeam MembersGroups affected (Only dropdown options can be selected)Number of people
Project 1 DorisJillTeam A3
Project 2JamesSamanthaTeam B2
Project 3MarthaJoeTeam C6
Project 4AvinashMarkTeam D10

<colgroup><col span="3"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Welcome to the forum!

If it did return '3' and not 'Project 3', then that is because you defined the third column of your search-matrix to be the returned value. That is in your case the Number of People and not the Team Members. Try using this formula: =VLOOKUP(J2,$C$2:$G$6,1,FALSE)
 
Upvote 0
hello all. Thanks for your help. I now know why I thought it was returning the wrong number. The vlookup was reading a table that had both numbers and dates. It returned a number but the format of the displaying cell was accidentally set to "dates" so I thought it was returning the dates column instead! Thanks a lot for all your help! I'm OK now!!

Cheers! :)
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,835
Members
449,192
Latest member
mcgeeaudrey

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