#1   Report Post  
Pete Straman via OfficeKB.com
 
Posts: n/a
Default Vlookup #value

Hey!

I need to get this Vlookup statement to write a zero if it returns the #n/a
or #value! I am catching the #n/a but not the #value! with my statement.

Can you help me out? If you know what the integer designation is for #VALUE!
that would work for me.

=IF(ISNA(VLOOKUP(A6,'AR Gross Up'!A:C,3,FALSE))=TRUE, 0, -VLOOKUP(A6,'AR
Gross Up'!A:C,3,FALSE)) - can't catch the #value - need to put 0 in the
cell when #value occurs

--
Message posted via http://www.officekb.com
  #3   Report Post  
Max
 
Posts: n/a
Default

Try (untested):

=IF(ISERROR(VLOOKUP(A6,'AR Gross Up'!A:C,3,FALSE)),0,-VLOOKUP(A6,'AR Gross
Up'!A:C,3,FALSE))

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pete Straman via OfficeKB.com" wrote in message
...
Hey!

I need to get this Vlookup statement to write a zero if it returns the

#n/a
or #value! I am catching the #n/a but not the #value! with my statement.

Can you help me out? If you know what the integer designation is for

#VALUE!
that would work for me.

=IF(ISNA(VLOOKUP(A6,'AR Gross Up'!A:C,3,FALSE))=TRUE, 0, -VLOOKUP(A6,'AR
Gross Up'!A:C,3,FALSE)) - can't catch the #value - need to put 0 in the
cell when #value occurs

--
Message posted via http://www.officekb.com



  #4   Report Post  
Pete Straman via OfficeKB.com
 
Posts: n/a
Default

I finally figured it out which turned out to be exactly as you recommended.
Thank you for your help.

Pete Straman

--
Message posted via http://www.officekb.com
  #5   Report Post  
Max
 
Posts: n/a
Default

Glad to hear that, Pete !
Thanks for the feedback ..
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pete Straman via OfficeKB.com" wrote in message
...
I finally figured it out which turned out to be exactly as you

recommended.
Thank you for your help.

Pete Straman

--
Message posted via http://www.officekb.com





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
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
carrying a hyper link when using the vlookup function mike Excel Worksheet Functions 1 November 19th 04 03:49 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 07:31 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"