ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   vlookup problem when value absent (https://www.excelbanter.com/excel-worksheet-functions/144526-vlookup-problem-when-value-absent.html)

new_121

vlookup problem when value absent
 
Hi,

Does anyone know, what formula I should use, if I would like to vlookup for
certain thing (name) and return the value in column 1 if the value is
different from zero, but look at the column 2 in case vlookup in column 1 is
zero.
And if vlookup in column 1 and column 2 turn to be zero then vlookup the
value in column 3 - if that is empty as well then return "" (nothing).

Please help me, because I'm stuck with this formula :(

DazzaData

vlookup problem when value absent
 
Hi,

You kinda answered your own question in the last para:)

IF (VLOOKUP#1<0,VLOOKUP#1, (IF VLOOKUP#2<0,VLOOKUP#2,VLOOKUP#3) )

Actually there may be a whole other way of dealing with this issue rather
than nest ifs and vlookups, but you would need to set out the problem more
fully for us

Cheers


"new_121" wrote:

Hi,

Does anyone know, what formula I should use, if I would like to vlookup for
certain thing (name) and return the value in column 1 if the value is
different from zero, but look at the column 2 in case vlookup in column 1 is
zero.
And if vlookup in column 1 and column 2 turn to be zero then vlookup the
value in column 3 - if that is empty as well then return "" (nothing).

Please help me, because I'm stuck with this formula :(


new_121

vlookup problem when value absent
 
Thank you DazzaData. It helped.

"DazzaData" wrote:

Hi,

You kinda answered your own question in the last para:)

IF (VLOOKUP#1<0,VLOOKUP#1, (IF VLOOKUP#2<0,VLOOKUP#2,VLOOKUP#3) )

Actually there may be a whole other way of dealing with this issue rather
than nest ifs and vlookups, but you would need to set out the problem more
fully for us

Cheers


"new_121" wrote:

Hi,

Does anyone know, what formula I should use, if I would like to vlookup for
certain thing (name) and return the value in column 1 if the value is
different from zero, but look at the column 2 in case vlookup in column 1 is
zero.
And if vlookup in column 1 and column 2 turn to be zero then vlookup the
value in column 3 - if that is empty as well then return "" (nothing).

Please help me, because I'm stuck with this formula :(



All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com