Thread: #N/A problem
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui puiuluipui is offline
external usenet poster
 
Posts: 468
Default #N/A problem

Roger, it' working, but can this formula to show me beside "yes" , "no" ,
another thing?
i mean when the formula cant find no data or anything written in
PLANNING!... to show me some kind of error? to show me "no planning" ...or
what i will write in the code...
thanks allot
"Roger Govier" a scris:

Hi

One way
=IF(A2="","",
IF(COUNTA(Planning!A:B)<2,"",
IF(VLOOKUP(IF(ISERROR(SEARCH("(",A2)),A2,
TRIM(LEFT(A2,SEARCH("(",A2)-1))),
Planning!A:B,2,FALSE)=TEXT(B2,"nnnn"),"YES","NO")) )

Formula deliberately broken at various points to avoid NG Reader making
breaks at inconvenient places.
It is all one line in reality.

--
Regards
Roger Govier

"puiuluipui" wrote in message
...
hi, i have a small problem with this formula


=IF(VLOOKUP(IF(ISERROR(SEARCH("(",A2)),A2,TRIM(LEF T(A2,SEARCH("(",A2)-1))),PLANNING!A:B,2,FALSE)=TEXT(B2,"nnnn"),"YES"," NO")

if i dont write anything, the formula show me #N/A.
i dont want formula to show me anything. not even zero. the cell with the
formula to be blank....until i write something in my table.
i mean the formula to work after i write something in my table

thanks in advance