Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP and names with Commas

I am using the below formula in D195 to look up an employee's hours.
B195 is Doe, Jane
from the search array, Doe, Jane is in B139 and Doe, Jack is in B138. The
values keep pulling from Jack. Is there a way force it to pull from Jane?

=VLOOKUP(B195,$B$9:$G$190,2)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default VLOOKUP and names with Commas

Use False as the fourth parameter...
=VLOOKUP(B195,$B$9:$G$190,2,FALSE)

This is from HELP -
When the fourth parameter is either TRUE or is omitted, an exact or
approximate match is returned. If an exact match is not found, the next
largest value that is less than lookup_value is returned. If range_lookup is
either TRUE or is omitted, the values in the first column of table_array must
be placed in ascending sort order; otherwise, VLOOKUP might not return the
correct value.


--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"Rpt_Me4NotBeingSmart" wrote:

I am using the below formula in D195 to look up an employee's hours.
B195 is Doe, Jane
from the search array, Doe, Jane is in B139 and Doe, Jack is in B138. The
values keep pulling from Jack. Is there a way force it to pull from Jane?

=VLOOKUP(B195,$B$9:$G$190,2)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default VLOOKUP and names with Commas

Thanks. That was very helpful. Oh, and I clicked yes.

"Sheeloo" wrote:

Use False as the fourth parameter...
=VLOOKUP(B195,$B$9:$G$190,2,FALSE)

This is from HELP -
When the fourth parameter is either TRUE or is omitted, an exact or
approximate match is returned. If an exact match is not found, the next
largest value that is less than lookup_value is returned. If range_lookup is
either TRUE or is omitted, the values in the first column of table_array must
be placed in ascending sort order; otherwise, VLOOKUP might not return the
correct value.


--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"Rpt_Me4NotBeingSmart" wrote:

I am using the below formula in D195 to look up an employee's hours.
B195 is Doe, Jane
from the search array, Doe, Jane is in B139 and Doe, Jack is in B138. The
values keep pulling from Jack. Is there a way force it to pull from Jane?

=VLOOKUP(B195,$B$9:$G$190,2)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 248
Default VLOOKUP and names with Commas

:-)

You are welcome... Do , INDEX etc. it will save you hours of effort...

Start at http://www.contextures.com/tiptech.html


"Rpt_Me4NotBeingSmart" wrote:

Thanks. That was very helpful. Oh, and I clicked yes.

"Sheeloo" wrote:

Use False as the fourth parameter...
=VLOOKUP(B195,$B$9:$G$190,2,FALSE)

This is from HELP -
When the fourth parameter is either TRUE or is omitted, an exact or
approximate match is returned. If an exact match is not found, the next
largest value that is less than lookup_value is returned. If range_lookup is
either TRUE or is omitted, the values in the first column of table_array must
be placed in ascending sort order; otherwise, VLOOKUP might not return the
correct value.


--
Pl click the YES button
(if you see it - don''''''''t worry if you don''t),
if this answer was helpful.



"Rpt_Me4NotBeingSmart" wrote:

I am using the below formula in D195 to look up an employee's hours.
B195 is Doe, Jane
from the search array, Doe, Jane is in B139 and Doe, Jack is in B138. The
values keep pulling from Jack. Is there a way force it to pull from Jane?

=VLOOKUP(B195,$B$9:$G$190,2)

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
Data Validation With VLOOKUP & Names Leslie Excel Worksheet Functions 3 April 11th 08 11:49 PM
VLookup on same last names - different people ETC Excel Discussion (Misc queries) 4 December 8th 06 07:50 PM
VLOOKUP and LEN/ISNA to match names? LTUser54 Excel Worksheet Functions 6 May 22nd 06 09:08 PM
VLOOKUP results on last names James Excel Worksheet Functions 5 October 5th 05 10:32 PM
Using Vlookup to look at different names sets of data.... Sepp! Excel Worksheet Functions 1 January 31st 05 07:16 PM


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