Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 226
Default limit lookup search to left three places

I need to do a look up based on the first three places in the reference cell

a1 is cda1428a I want the vlookup to return the data based on the cda only.

How do you do this?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default limit lookup search to left three places

more info

--
Don Guillett
SalesAid Software

"roger" wrote in message
...
I need to do a look up based on the first three places in the reference
cell

a1 is cda1428a I want the vlookup to return the data based on the cda
only.

How do you do this?




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default limit lookup search to left three places

One way:

=VLOOKUP(LEFT(A1,3),B1:C25,2,0)

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"roger" wrote in message
...
I need to do a look up based on the first three places in the reference cell

a1 is cda1428a I want the vlookup to return the data based on the cda only.

How do you do this?



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
Using wildcards in lookup? JMB Excel Discussion (Misc queries) 0 February 3rd 06 11:42 AM
search all tabs for tab name specified & lookup reference? BMW Excel Worksheet Functions 5 November 4th 05 04:16 PM
Lookup returns #NA when search value (text) has leading zeros. M-Dickey Excel Worksheet Functions 1 May 10th 05 10:26 PM
FAQ Spreadsheet with search function murphyz Excel Discussion (Misc queries) 0 March 19th 05 09:24 PM
Lookup with search range start based on position of last blank lin rcmodelr Excel Worksheet Functions 0 November 14th 04 06:32 AM


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