View Single Post
  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

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