Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Vookup related query

Hi

I have a column like this contained in cell a1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

another column is like this in cell d1

SBINH09222318684

can i put a vlookup between this two. in such a way that formula should find
the second value as lookup_value in cell a1. Can a combination of mid &
vlookup will solve this ? pls help. thanks in advance. As I have to make a
bank reco and the data specified in a1 is in such a way that I can not
seperate that no from the whole list. Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Vookup related query

If I understand you correctly you are looking to get the data starting with
SBI. With the below data in cell A1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

the below formula will extract the number you are looking for...

=TRIM(LEFT(SUBSTITUTE(MID(A1,SEARCH(":",A1)+1,99), " ",REPT(" ",99)),99))

If this post helps click Yes
---------------
Jacob Skaria


"Manish Gurve" wrote:

Hi

I have a column like this contained in cell a1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

another column is like this in cell d1

SBINH09222318684

can i put a vlookup between this two. in such a way that formula should find
the second value as lookup_value in cell a1. Can a combination of mid &
vlookup will solve this ? pls help. thanks in advance. As I have to make a
bank reco and the data specified in a1 is in such a way that I can not
seperate that no from the whole list. Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Vookup related query

For a VLOOKUP try the below where Column D is with the numbers

=VLOOKUP(TRIM(LEFT(SUBSTITUTE(MID(A1,SEARCH(":",A1 )+1,99)," ",REPT("
",99)),99)),D:D,1)

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

If I understand you correctly you are looking to get the data starting with
SBI. With the below data in cell A1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

the below formula will extract the number you are looking for...

=TRIM(LEFT(SUBSTITUTE(MID(A1,SEARCH(":",A1)+1,99), " ",REPT(" ",99)),99))

If this post helps click Yes
---------------
Jacob Skaria


"Manish Gurve" wrote:

Hi

I have a column like this contained in cell a1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

another column is like this in cell d1

SBINH09222318684

can i put a vlookup between this two. in such a way that formula should find
the second value as lookup_value in cell a1. Can a combination of mid &
vlookup will solve this ? pls help. thanks in advance. As I have to make a
bank reco and the data specified in a1 is in such a way that I can not
seperate that no from the whole list. Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Vookup related query

Hi,

Try this array formula (Ctrl+Shift+Enter). This assumes that there will
always be a space after the account number I.e. there will always be a space
before Mahak. Also, there will always be a : before the SBINH. Have assume
that the data to be extracted in column

=INDEX($A$1:$C$2,MATCH(TRUE,ISNUMBER(SEARCH(":"&D1 &" ",A1:A2)),0),3)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Manish Gurve" <Manish wrote in message
...
Hi

I have a column like this contained in cell a1

BY TRANSFER- R:SBINH09222318684 MAHAK MARKETING--

another column is like this in cell d1

SBINH09222318684

can i put a vlookup between this two. in such a way that formula should
find
the second value as lookup_value in cell a1. Can a combination of mid &
vlookup will solve this ? pls help. thanks in advance. As I have to make
a
bank reco and the data specified in a1 is in such a way that I can not
seperate that no from the whole list. Thanks in advance


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
How do you add related cells in a sum? Jarod Excel Discussion (Misc queries) 3 May 13th 08 08:15 PM
two related workfiles Hank Excel Discussion (Misc queries) 4 March 7th 08 09:20 PM
Require help related to Excel Query outer join problem CJ Excel Discussion (Misc queries) 0 August 2nd 07 02:32 AM
Help create a IF statement to look to to seperate vookup data sour Scottinphx Excel Worksheet Functions 2 August 5th 06 12:42 AM
Another "World Cup" related query yhtak Excel Discussion (Misc queries) 4 June 12th 06 07:52 PM


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