Visible Cell Vlookup

MAM8433

New Member
Joined
May 18, 2011
Messages
44
I am trying to run a vlookup on visible cells and it is not finding/returning any values. I found the formula online and tried to adapt it to my situation. Currently, I want to return the value in column C. The cell formula is currently:

{=VLOOKUP(A2,IF(SUBTOTAL(3,OFFSET([File2.xlsx]Sheet1!$B:$C,ROW([File2.xlsx]Sheet1!$B:$C)-ROW([File2.xlsx]Sheet1!$B$2),0,1)),[File2xlsx]Sheet1!$B:$C),3,0)}

The file with the vlookup formula contains a 5-character zip code in column A. The filtered file (File2) contains a 5-character zip in column B and program codes in column C. I used crtl+shift+enter to create the array brackets that surround the formula. When I copy the formula down, all returned values are #N/A.

I know the zip fields have matching formats as I tested a regular vlookup of zips and they were found. I can manually find some zips codes in the visible rows, so they can’t all be #N/A. I hope you can help me fix the formula.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,212,927
Messages
6,110,703
Members
448,293
Latest member
jin kazuya

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