Lookup help! How to return a specific line of text when return value is blank

Noswen869

New Member
Joined
Jul 18, 2023
Messages
14
Office Version
  1. 2021
Platform
  1. Windows
Hello!

I am using a very simple lookup at the moment (=vlookup(a3&"*",Sheet1A:AZ,10,0). This works however when the cell it is looking at is blank it returns a 0 which is extremely misleading for the data set I'm using.

I'd like to know 1) How to just return a blank in this scenario - which I assume will be some form of IF/IFERROR but 2) more useful would be a formula which, when the return value is blank, it returns a line of text which says 'No Data Yet'.

I've found stuff online regarding Xlookups but that only seems to be useful when the value cannot be found at all. I'm finding what I want but I don't want it to return a 0 when it is blank

Any help would be much appreciated
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Wrap up your look up formula into something like: IF(ISBLANK(vlookup(a3&"*",Sheet1A:AZ,10,0)),"No data yet",vlookup(a3&"*",Sheet1A:AZ,10,0).
 
Upvote 0
Solution

Forum statistics

Threads
1,223,952
Messages
6,175,592
Members
452,653
Latest member
craigje92

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