Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Need Formula to Find a Match and Then Insert Some Characters

Ive made many attempts and come close but not quite to what Im trying to do.

I have numbers in column A (sheet 1). I also have two columns, columns A
and B, of numbers in another spreadsheet (sheet 2). I need a formula that
says if A2 in sheet 1 matches a number in column B in sheet 2 insert the
numbers on that row from column C.

On the example below, for row 1 on sheet 1, Excel should insert 631085552 in
a new cell on row 1 because column A matches column B (row 2) on sheet 2. I
hope I explained this well enough.
Sheet 1 Sheet 2
Column A Acct_BAN Column A Acct BAN
Column B Acct #
108459216 640239555
108249314
119659211 631085552
108459216
129859214 637755184
116229317
141559217 602374342
177756211

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Need Formula to Find a Match and Then Insert Some Characters

Please excuse the example. It wrapped around so doesn't make sense.

"Toria" wrote:

Ive made many attempts and come close but not quite to what Im trying to do.

I have numbers in column A (sheet 1). I also have two columns, columns A
and B, of numbers in another spreadsheet (sheet 2). I need a formula that
says if A2 in sheet 1 matches a number in column B in sheet 2 insert the
numbers on that row from column C.

On the example below, for row 1 on sheet 1, Excel should insert 631085552 in
a new cell on row 1 because column A matches column B (row 2) on sheet 2. I
hope I explained this well enough.
Sheet 1 Sheet 2
Column A Acct_BAN Column A Acct BAN
Column B Acct #
108459216 640239555
108249314
119659211 631085552
108459216
129859214 637755184
116229317
141559217 602374342
177756211

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Need Formula to Find a Match and Then Insert Some Characters

Try this:

=INDEX(Sheet2!A:A,MATCH(A2,Sheet2!B:B,0))

and copy down as required.

Hope this helps.

Pete

On Mar 28, 11:36 pm, Toria wrote:
Please excuse the example. It wrapped around so doesn't make sense.



"Toria" wrote:
I've made many attempts and come close but not quite to what I'm trying to do.


I have numbers in column A (sheet 1). I also have two columns, columns A
and B, of numbers in another spreadsheet (sheet 2). I need a formula that
says if A2 in sheet 1 matches a number in column B in sheet 2 insert the
numbers on that row from column C.


On the example below, for row 1 on sheet 1, Excel should insert 631085552 in
a new cell on row 1 because column A matches column B (row 2) on sheet 2. I
hope I explained this well enough.
Sheet 1 Sheet 2
Column A Acct_BAN Column A Acct BAN
Column B Acct #
108459216 640239555
108249314
119659211 631085552
108459216
129859214 637755184
116229317
141559217 602374342
177756211- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 38
Default Need Formula to Find a Match and Then Insert Some Characters

This worked! Thank you so much!!

"Pete_UK" wrote:

Try this:

=INDEX(Sheet2!A:A,MATCH(A2,Sheet2!B:B,0))

and copy down as required.

Hope this helps.

Pete

On Mar 28, 11:36 pm, Toria wrote:
Please excuse the example. It wrapped around so doesn't make sense.



"Toria" wrote:
I've made many attempts and come close but not quite to what I'm trying to do.


I have numbers in column A (sheet 1). I also have two columns, columns A
and B, of numbers in another spreadsheet (sheet 2). I need a formula that
says if A2 in sheet 1 matches a number in column B in sheet 2 insert the
numbers on that row from column C.


On the example below, for row 1 on sheet 1, Excel should insert 631085552 in
a new cell on row 1 because column A matches column B (row 2) on sheet 2. I
hope I explained this well enough.
Sheet 1 Sheet 2
Column A Acct_BAN Column A Acct BAN
Column B Acct #
108459216 640239555
108249314
119659211 631085552
108459216
129859214 637755184
116229317
141559217 602374342
177756211- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Need Formula to Find a Match and Then Insert Some Characters

You're welcome, Toria - thanks for feeding back.

Pete

On Mar 29, 3:16*am, Toria wrote:
This worked! *Thank you so much!!



"Pete_UK" wrote:
Try this:


=INDEX(Sheet2!A:A,MATCH(A2,Sheet2!B:B,0))


and copy down as required.


Hope this helps.


Pete


On Mar 28, 11:36 pm, Toria wrote:
Please excuse the example. *It wrapped around so doesn't make sense.


"Toria" wrote:
I've made many attempts and come close but not quite to what I'm trying to do.


I have numbers in column A (sheet 1). *I also have two columns, columns A
and B, of numbers in another spreadsheet (sheet 2). *I need a formula that
says if A2 in sheet 1 matches a number in column B in sheet 2 insert the
numbers on that row from column C.


On the example below, for row 1 on sheet 1, Excel should insert 631085552 in
a new cell on row 1 because column A matches column B (row 2) on sheet 2. *I
hope I explained this well enough.
Sheet 1 * * * * * * * * * * * * * * * * * * * * *Sheet 2
Column A Acct_BAN * * * * * * * * * * * *Column A Acct BAN * * * * * * * * *
* Column B Acct #
108459216 * * * * * * * * * * * * * * * * * * *640239555 * * * * * * * * * *
* * * * * * *108249314
119659211 * * * * * * * * * * * * * * * * * * *631085552 * * * * * * * * * *
* * * * * * *108459216
129859214 * * * * * * * * * * * * * * * * * * *637755184 * * * * * * * * * *
* * * * * * *116229317
141559217 * * * * * * * * * * * * * * * * * * *602374342 * * * * * * * * * *
* * * * * * *177756211- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
Single formula to find match across four columns? Keith R[_2_] Excel Worksheet Functions 2 December 6th 07 12:35 AM
find match formula maijiuli Excel Worksheet Functions 4 August 9th 07 07:06 PM
Find A Match Formula carl Excel Worksheet Functions 3 February 27th 07 10:57 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM


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