#1   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui
 
Posts: n/a
Default vlookup problem

I have one problem...I use this vlookup formula in B cells
=IF(A2<"",VLOOKUP($A2,$J$1:K51,2,FALSE),"") to extract some prices...

A B
1 01254 #N/A
2 total i.s. 12 3.65
3 total i.s. 15 2.86
4 02458 #N/A

I don't want to see #N/A ....I don't want anything to apear in B1, B4....
How can i do this??

Thanks! My best regards,
puiuluipui

  #2   Report Post  
Posted to microsoft.public.excel.misc
Nick Hodge
 
Posts: n/a
Default vlookup problem

Use the error functions (ISERROR, ISERR and ISNA) ISNA in this example

=IF(A2<"",IF(ISNA(VLOOKUP($A2,$J$1:K51,2,FALSE)), "",VLOOKUP($A2,$J$1:K51,2,FALSE)),"")

ISNA checks for #N/A errors, ISERR check for all errors except #N/A and
ISERROR checks for any error

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk


"puiuluipui" wrote in message
...
I have one problem...I use this vlookup formula in B cells
=IF(A2<"",VLOOKUP($A2,$J$1:K51,2,FALSE),"") to extract some prices...

A B
1 01254 #N/A
2 total i.s. 12 3.65
3 total i.s. 15 2.86
4 02458 #N/A

I don't want to see #N/A ....I don't want anything to apear in B1, B4....
How can i do this??

Thanks! My best regards,
puiuluipui



  #3   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui
 
Posts: n/a
Default vlookup problem

it was very helpful. thanks.

"Nick Hodge" wrote:

Use the error functions (ISERROR, ISERR and ISNA) ISNA in this example

=IF(A2<"",IF(ISNA(VLOOKUP($A2,$J$1:K51,2,FALSE)), "",VLOOKUP($A2,$J$1:K51,2,FALSE)),"")

ISNA checks for #N/A errors, ISERR check for all errors except #N/A and
ISERROR checks for any error

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk


"puiuluipui" wrote in message
...
I have one problem...I use this vlookup formula in B cells
=IF(A2<"",VLOOKUP($A2,$J$1:K51,2,FALSE),"") to extract some prices...

A B
1 01254 #N/A
2 total i.s. 12 3.65
3 total i.s. 15 2.86
4 02458 #N/A

I don't want to see #N/A ....I don't want anything to apear in B1, B4....
How can i do this??

Thanks! My best regards,
puiuluipui




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
Vlookup problem with Date Time normajmarsh Excel Worksheet Functions 0 February 3rd 06 08:33 PM
vlookup Problem marksuza Excel Discussion (Misc queries) 3 December 22nd 05 04:40 PM
Vlookup, What is correct formula for problem below? Bill R Excel Worksheet Functions 7 August 2nd 05 05:01 AM
VLOOKUP Problem Tosca Excel Worksheet Functions 7 July 23rd 05 11:43 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 10:11 PM


All times are GMT +1. The time now is 05:22 AM.

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

About Us

"It's about Microsoft Excel"