VLOOKUP help needed

mporres77

New Member
Joined
May 7, 2018
Messages
5
I have a spreadsheet where I need a cell to look for a specific value in another tab and if it finds that value, to populate a cell with the description in the column specified.
I have used this formula before in a different spreadsheet and it worked great.

However, in this one it is not finding the value even though it is there.

This is the formula: =IF(ISNA(VLOOKUP(E12,'Sheet 1'!A:D,'Sheet 1'!A:D,FALSE)),"",VLOOKUP(E12,'Sheet 1'!A:D,'Sheet 1'!A:D,FALSE))

So basically, in Sheet 2, F12 has the formula, and it is supposed to look for the value that is in E12…find it in Sheet 1 and then populate F12 with whatever it finds in F5 of sheet 1.

Sorry but it won't let me attach the sheet

(Sheet 2)
Column BCDEF
PeriodYearCatInv#Description
220184706652(Cell that has the formula)

<tbody>
</tbody>

(Sheet 1)
Column ABCDF
Inv#Description
4706652(Cell that has the information I need populated in sheet 2, F12)

<tbody>
</tbody>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I have a spreadsheet where I need a cell to look for a specific value in another tab and if it finds that value, to populate a cell with the description in the column specified.
I have used this formula before in a different spreadsheet and it worked great.

However, in this one it is not finding the value even though it is there.

This is the formula: =IF(ISNA(VLOOKUP(E12,'Sheet 1'!A:D,'Sheet 1'!A:D,FALSE)),"",VLOOKUP(E12,'Sheet 1'!A:D,'Sheet 1'!A:D,FALSE))

So basically, in Sheet 2, F12 has the formula, and it is supposed to look for the value that is in E12…find it in Sheet 1 and then populate F12 with whatever it finds in F5 of sheet 1.

Sorry but it won't let me attach the sheet

(Sheet 2)
Column BCDEF
PeriodYearCatInv#Description
220184706652(Cell that has the formula)

<tbody>
</tbody>

(Sheet 1)
Column ABCDF
Inv#Description
4706652(Cell that has the information I need populated in sheet 2, F12)

<tbody>
</tbody>
Doesn't ISNA report TRUE or FALSE? Why are you asking it to check if ISNA is ""?

Also:
  • Try to use tables.
  • Use index(match()) instead of vlookup.

https://www.deskbright.com/excel/using-index-match/
 
Upvote 0
You are misunderstanding VLOOKUP. You can only search a column for your lookup value. In this case it looks like column D and you want to return what is in column E so the 2nd column of the lookup range:

=IF(ISNA(VLOOKUP(E12,'Sheet 1'!D:E,2,FALSE)),"",VLOOKUP(E12,'Sheet 1'!D:E,2,FALSE))
 
Upvote 0

Forum statistics

Threads
1,215,016
Messages
6,122,700
Members
449,092
Latest member
snoom82

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