=IFERROR(VLOOKUP($C16,A$6:B$47,2,FALSE),"") only picks some items

oomfh

Board Regular
Joined
Feb 17, 2011
Messages
141
The current column (G16 in my case) only enters a few numbers from column B when C matches A

:confused:
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
C16 = employee name

A6:A47 = employee name

B6:B47 = number format

G16 = number format
 
Upvote 0
C16 = employee name

A6:A47 = employee name

B6:B47 = number format

G16 = number format

I assume G16 is the cell with the first formula occurrence.

I also assume that you get #N/A while that's not expected.

What do we get with:

=LEN(C16)=LEN(TRIM(C16))
 
Upvote 0
I assume G16 is the cell with the first formula occurrence.

Current column is G, G6 is the first formula occrence. Column D through J contain the forumula.

I also assume that you get #N/A while that's not expected.

My formula would result in #N/A except I have "" for FALSE

What do we get with: =LEN(C16)=LEN(TRIM(C16))

I get all "TRUE" even when there result should clearly be "FALSE"
 
Upvote 0
Current column is G, G6 is the first formula occrence. Column D through J contain the forumula.

I also assume that you get #N/A while that's not expected.

My formula would result in #N/A except I have "" for FALSE

What do we get with: =LEN(C16)=LEN(TRIM(C16))

I get all "TRUE" even when there result should clearly be "FALSE"

Does...

=IFERROR(VLOOKUP(TRIM($C16),A$6:B$47,2,FALSE),"")

yield what you expect to get?
 
Upvote 0
Does...

=IFERROR(VLOOKUP(TRIM($C16),A$6:B$47,2,FALSE),"")

yield what you expect to get?



Using your latest formula - it still gives correct results - but only randomly . . .

Column C and A contain the employee names - "Last name, First name"

As a test I deleted the first names and comma - leaving only "Last name" This gives the desired results consistently.

"Last name, first name" in column C and A are downloads. Is there a way for Excel recognize/relate these? Both columns are currently Text formats.
 
Upvote 0
Using your latest formula - it still gives correct results - but only randomly . . .

Column C and A contain the employee names - "Last name, First name"

As a test I deleted the first names and comma - leaving only "Last name" This gives the desired results consistently.

"Last name, first name" in column C and A are downloads. Is there a way for Excel recognize/relate these? Both columns are currently Text formats.
Would you please post a small sample along with a look up value and the expected outcome?

P.S. Please try not to use fully colored text.
 
Upvote 0
Would you please post a small sample along with a look up value and the expected outcome?

I have searched for instructions to post only a portion of a spreadsheet. I'm having difficulties converting the selection to JPEG.

?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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