vlookup with isblank

djpret

New Member
Joined
Aug 26, 2018
Messages
1
Hi

Hope you can help me below is a formula that is in 4 different cells obviously recalling a clients data into cells once the client number is chosen in E4, what I need is to adjust it so that if there is no client chosen yet in E4 that the corresponding cells be blank and not have the #n/a in it

=VLOOKUP($E$4;Customers!1:1048576;2;FALSE)


If you can help i will really appreciate it
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Welcome to the MrExcel board!

Your lookup range is excessive. You are only looking in column A of 'Customers' and returning a value from column B so you definitely do not need to be referencing all 16,000+ columns. Surely you can also restrict the rows to something moderate?
So something like

=IF($E$4="";"";VLOOKUP($E$4;Customers!$A$1:$B$1000;2;FALSE)
 
Upvote 0

Forum statistics

Threads
1,215,265
Messages
6,123,961
Members
449,135
Latest member
jcschafer209

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