View Single Post
  #9   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Function problem

No need to sort if you use FALSE or 0

--
Regards,

Peo Sjoblom

(No private emails please)


"Lilliabeth" wrote
in message ...

Aladin Akyurek Wrote:

If *you require sorting* the data in ascending order on the numbers,
it
is better to invoke:

=VLOOKUP(D1,$A$1:$B$50,2,TRUE)



I think that depends on what the number refers to. Using "true" will
return a name even if the user enters an invalid number in D1. Using
the Lookup function will do the same. Not sure I like that. We really
don't have enough info to know if that is OK or not, but I would guess
more likely not.

I notice Arvi's formula used the same argument as mine did - the 0
equates to false.


--
Lilliabeth
------------------------------------------------------------------------
Lilliabeth's Profile:
http://www.excelforum.com/member.php...o&userid=27741
View this thread: http://www.excelforum.com/showthread...hreadid=476642