ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Whats Wrong with this?? (https://www.excelbanter.com/excel-worksheet-functions/5365-whats-wrong.html)

drvortex

Whats Wrong with this??
 

=IF(Sheet="Jan04",VLOOKUP(9999,Jan04!$A$9:$J$9,MAT CH("BF",Jan04!$A$8:$J$8,)),)

The first statement in the IF statement means this:

1. I want the function to search all available worksheets on the same
workbook and to see if Jan04 is there.

2. If it is present; therefore the statement is TRUE, then continue
with the VLOOKUP.

3. If FALSE, then nothing.

4. There error I get is #NAME?

5. What's wrong???

Thanks,

JP


--
drvortex
------------------------------------------------------------------------
drvortex's Profile: http://www.excelforum.com/member.php...o&userid=15896
View this thread: http://www.excelforum.com/showthread...hreadid=273869


Harald Staff

Excel has nothing like this:
Sheet="Jan04"
and #NAME is her standard way to tell you "unknown function name".

HTH. Best wishes Harald

"drvortex" skrev i melding
...


=IF(Sheet="Jan04",VLOOKUP(9999,Jan04!$A$9:$J$9,MAT CH("BF",Jan04!$A$8:$J$8,))
,)

The first statement in the IF statement means this:

1. I want the function to search all available worksheets on the same
workbook and to see if Jan04 is there.

2. If it is present; therefore the statement is TRUE, then continue
with the VLOOKUP.

3. If FALSE, then nothing.

4. There error I get is #NAME?

5. What's wrong???

Thanks,

JP


--
drvortex
------------------------------------------------------------------------
drvortex's Profile:

http://www.excelforum.com/member.php...o&userid=15896
View this thread: http://www.excelforum.com/showthread...hreadid=273869





All times are GMT +1. The time now is 01:43 AM.

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