If referenced cell is blank, display nothing

avidcat

New Member
Joined
Dec 3, 2011
Messages
38
I put together this formula:
=IF(ISNA(VLOOKUP(A3,Sheet2!$A$2:$E$100,5,0)),"7",VLOOKUP(A3,Sheet2!$A$2:$E$100,5,0))

If the Referenced cell A3 is blank, I want to have the cell show nothing.

I appreciate any help in editing this formula.

Thanks,
Nick
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Oh the "7" needs to be returned if they are not on the list as a default. Basically I have assigned a number of days to each person on a list, and if they are not on the list they default at 7 days.
 
Upvote 0
Oh the "7" needs to be returned if they are not on the list as a default. Basically I have assigned a number of days to each person on a list, and if they are not on the list they default at 7 days.

Quotes make 7 a text value that calculations will ignore. Remove quotes in order to keep it as true number.
 
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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