VLOOKUP if a Cell is not Blank
I have formulas in ColA. I would like to vlookup ColA if the cell is not
blank. IIf the cell is blank (formula only) I would like the cell to be blank. Is it possible ? Thank you in advance. |
=IF(ISNUMBER(MATCH(H2,A1:A100,0)),VLOOKUP(H2:A1:C1 00,2,0),"")
adapt to fit Regards, Peo Sjoblom "carl" wrote in message ... I have formulas in ColA. I would like to vlookup ColA if the cell is not blank. IIf the cell is blank (formula only) I would like the cell to be blank. Is it possible ? Thank you in advance. |
Peo Sjoblom wrote...
=IF(ISNUMBER(MATCH(H2,A1:A100,0)),VLOOKUP(H2:A1:C 100,2,0),"") .... Save a function call. Fix a typo (H2:A1:C100 - H2,A1:C100). =IF(COUNTIF(A1:A100,H2),VLOOKUP(H2,A1:C100,2,0),"" ) |
All times are GMT +1. The time now is 09:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com