Vlookup help

ERcoder

New Member
Joined
Jul 15, 2010
Messages
15
Thanks to you guys I was able to learn this formula for my spreadsheet
=IF(ISNA(VLOOKUP(F2,AU1:AV33,2,FALSE)),"",VLOOKUP(F2,AU1:AV33,2,FALSE))

I used the auto copy function to click and drag the forumula to every cell in the column. As it copied down it changed the look up value (F2)as needed for each row but it also changed the rows in the table array (AU1:AV33) the same way.

How do I keep the table array the same as I copy down to the rest of the column. Or is there a different way to apply the formula to the whole column?

Thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try using Absolute references..
Look it up in the help files for a good explaination..

Try
=IF(ISNA(VLOOKUP(F2,AU$1:AV$33,2,FALSE)),"",VLOOKUP(F2,AU$1:AV$33,2,FALSE))
 
Upvote 0
Try

=IF(ISNA(VLOOKUP(F2,AU$1:AV$33,2,FALSE)),"",VLOOKUP(F2,AU$1:AV$33,2,FALSE))
 
Upvote 0
Thanks to you guys I was able to learn this formula for my spreadsheet
=IF(ISNA(VLOOKUP(F2,AU1:AV33,2,FALSE)),"",VLOOKUP(F2,AU1:AV33,2,FALSE))

I used the auto copy function to click and drag the forumula to every cell in the column. As it copied down it changed the look up value (F2)as needed for each row but it also changed the rows in the table array (AU1:AV33) the same way.

How do I keep the table array the same as I copy down to the rest of the column. Or is there a different way to apply the formula to the whole column?

Thanks
If you're using Excel 2007 or later you can reduce that to:

=IFERROR(VLOOKUP(F2,AU$1:AV$33,2,0),"")

Note that IFERROR will trap ALL errors, not just #N/A errors.
 
Upvote 0

Forum statistics

Threads
1,224,534
Messages
6,179,391
Members
452,909
Latest member
VickiS

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