#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default #N/A problem

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default #N/A problem


try =if(isna(vlookup...................as long as you dont exceed 6
arguments you should be fine
"puiuluipui" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default #N/A problem

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


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default #N/A problem

Assuming that your equation works (except for the #na)
=if(isna(IF(VLOOKUP(IF(ISERROR(SEARCH("(",A2)),A2, TRIM(LEFT(A2,SEARCH("(",A2)-1))),PLANNING!A:B,2,FALSE)=TEXT(B2,"nnnn"),"YES"," NO"),"",VLOOKUP(IF(ISERROR(SEARCH("(",A2)),A2,TRIM (LEFT(A2,SEARCH("(",A2)-1))),PLANNING!A:B,2,FALSE)=TEXT(B2,"nnnn"),"YES"," NO"))


--
Wag more, bark less


"puiuluipui" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default #N/A problem

Thanks allot!
It's working!
Thanks!

"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




  #6   Report Post  
Posted to microsoft.public.excel.misc
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


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default #N/A problem

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

--
Regards
Roger Govier

"puiuluipui" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


All times are GMT +1. The time now is 12:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"