Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
steve alcock
 
Posts: n/a
Default vlookup returns 0.00

Hi,

why when I use vlookup on cells that have a formula in
does vlookup return me 0.00 values i.e.

if(vlookup($n10,banking!$c$10:banking!$j$500,2)
="","",vlookup($n10,banking!$c$10:banking!$j$500,2 ))

n10=20091

banking has 20091 but this is obtained automatically by :

=IF(J260,J26,"")

the values returned are sometimes correct or 0.00 AND if $N
(X) is blank ( no returned value ) it always returns me
0.00

anyone any ideas how to overcome this please

thanks

steve



  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

See Help for VLOOKUP. As you have written the formula, VLOOKUP assumes
that banking!$C$10:banking!$C$500 is in ascending order (if that column
is not sorted, then you probably want to use the optional 4th argument).
As posted, if N10<banking!C10, then your formula will return #N/A.
Othewise it will search down banking!$C$10:banking!$C$500 until it finds
the first value =N10.

For concreteness, say that occurs in row 27. If banking!C27=N10, then
VLOOKUP will return banking!D27. If banking!C27N10, then VLOOKUP will
return banking!D26, even if there is a value farther down in
banking!$C$10:banking!$C$500 that is exactly equal to N10.

Jerry

steve alcock wrote:

Hi,

why when I use vlookup on cells that have a formula in
does vlookup return me 0.00 values i.e.

if(vlookup($n10,banking!$c$10:banking!$j$500,2)
="","",vlookup($n10,banking!$c$10:banking!$j$500,2 ))

n10=20091

banking has 20091 but this is obtained automatically by :

=IF(J260,J26,"")

the values returned are sometimes correct or 0.00 AND if $N
(X) is blank ( no returned value ) it always returns me
0.00

anyone any ideas how to overcome this please

thanks

steve.


  #3   Report Post  
steve alcock
 
Posts: n/a
Default

Hi Jerry,

maybe I havn't made my point clear,

if say d3 has a formula in it but appears blank and I use
another cell :

if(d3="","",Vlookup( etc )

it returns this 0.00 sometimes why ?

regards

steve





-----Original Message-----
See Help for VLOOKUP. As you have written the formula,

VLOOKUP assumes
that banking!$C$10:banking!$C$500 is in ascending order

(if that column
is not sorted, then you probably want to use the optional

4th argument).
As posted, if N10<banking!C10, then your formula will

return #N/A.
Othewise it will search down banking!$C$10:banking!$C$500

until it finds
the first value =N10.

For concreteness, say that occurs in row 27. If banking!

C27=N10, then
VLOOKUP will return banking!D27. If banking!C27N10,

then VLOOKUP will
return banking!D26, even if there is a value farther down

in
banking!$C$10:banking!$C$500 that is exactly equal to N10.

Jerry

steve alcock wrote:

Hi,

why when I use vlookup on cells that have a formula in
does vlookup return me 0.00 values i.e.

if(vlookup($n10,banking!$c$10:banking!$j$500,2)
="","",vlookup($n10,banking!$c$10:banking!$j$500,2 ))

n10=20091

banking has 20091 but this is obtained automatically

by :

=IF(J260,J26,"")

the values returned are sometimes correct or 0.00 AND

if $N
(X) is blank ( no returned value ) it always returns me
0.00

anyone any ideas how to overcome this please

thanks

steve.


.

  #4   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

0.00 would have to be coming from the VLOOKUP, which leads back to my
previous reply.

Jerry

steve alcock wrote:

Hi Jerry,

maybe I havn't made my point clear,

if say d3 has a formula in it but appears blank and I use
another cell :

if(d3="","",Vlookup( etc )

it returns this 0.00 sometimes why ?

regards

steve


-----Original Message-----
See Help for VLOOKUP. As you have written the formula,

VLOOKUP assumes

that banking!$C$10:banking!$C$500 is in ascending order

(if that column

is not sorted, then you probably want to use the optional

4th argument).

As posted, if N10<banking!C10, then your formula will

return #N/A.

Othewise it will search down banking!$C$10:banking!$C$500

until it finds

the first value =N10.

For concreteness, say that occurs in row 27. If banking!

C27=N10, then

VLOOKUP will return banking!D27. If banking!C27N10,

then VLOOKUP will

return banking!D26, even if there is a value farther down

in

banking!$C$10:banking!$C$500 that is exactly equal to N10.

Jerry

steve alcock wrote:


Hi,

why when I use vlookup on cells that have a formula in
does vlookup return me 0.00 values i.e.

if(vlookup($n10,banking!$c$10:banking!$j$500, 2)
="","",vlookup($n10,banking!$c$10:banking!$j$50 0,2))

n10=20091

banking has 20091 but this is obtained automatically

by :

=IF(J260,J26,"")

the values returned are sometimes correct or 0.00 AND

if $N

(X) is blank ( no returned value ) it always returns me
0.00

anyone any ideas how to overcome this please

thanks

steve.


  #5   Report Post  
Ken Wright
 
Posts: n/a
Default

........which leads back to my previous reply.

Jerry - There's a circular reference toolbar to help you fix that <g

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------

"Jerry W. Lewis" wrote in message
...
0.00 would have to be coming from the VLOOKUP, which leads back to my
previous reply.

Jerry

<snip


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 with duplicate returns dandigger Excel Discussion (Misc queries) 4 January 28th 05 07:13 AM
Vlookup finds a blank, but returns a zero - HELP! flummoxed Excel Discussion (Misc queries) 6 January 18th 05 03:15 PM
When VLOOKUP returns a #N/A How can you get it to replace #N/A wi. Cmatise Excel Worksheet Functions 10 January 12th 05 12:29 AM
Vlookup returns incorrect match Smichaud Excel Discussion (Misc queries) 2 November 30th 04 10:51 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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