![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 155
|
With v-look up i get the number 0 in a cell that should be empty. How can i get the cell to be blank when no data should be there.
Please advice on solution. Thanks, roy |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
|
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Allentown, PA
Posts: 2,510
|
Probably:
=if(isblank(vlookup(cell,range,column)),"",vlookup(cell,range,column)
__________________
~Anne Troy |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Dallas, TX
Posts: 312
|
Try this, changing the ranges of course.
=IF((VLOOKUP($H2,$A$2:$D$4,B$1,FALSE))="","",(VLOOKUP($H2,$A$2:$D$4,B$1,FALSE))) Steve |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|