Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
zackb
 
Posts: n/a
Default

The FIND function ..

FIND(" ",C2,1)

...gives us the location of the first space in thecell. We minus one to take
out the character of the space (location). With the LEFT function that
leaves us with the first part of the cell up to the space (just prior to).
So it will reduce this ..

050505 - 121212 - 555aaa

... to this ...

050505

Then this value is plugged into the VLOOKUP function as a standard cell
reference would be. The zero on the end is equivelant to the FALSE syntax
statement of the formula.

--
Regards,
Zack Barresse, aka firefytr


"jenhow" wrote in message
...
Thanks. That worked perfectly. But can you explain how the formula works
to me?

VLOOKUP(LEFT(C1,FIND(" ",C2,1)-1),A:B,2,0)






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
Can Excel Export Data to Word Format? Reddiance Excel Discussion (Misc queries) 2 April 18th 05 06:03 PM
How to embed Word document into Excel and retain sizing, formatti. Kent Excel Discussion (Misc queries) 0 February 2nd 05 07:37 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Embedded word doc changed to image-need to change back to word. cflores Excel Discussion (Misc queries) 0 January 23rd 05 06:45 AM
Vlookup of parts of a word in a range of Data Andre Croteau Excel Discussion (Misc queries) 3 December 19th 04 07:26 PM


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