I'm looking for a formula that will match old client codes from two different lists on different sheets, and copy the new client code available on the first one to the second one.
Excel.png
I'm looking for a formula that will match old client codes from two different lists on different sheets, and copy the new client code available on the first one to the second one.
Excel.png
Hi, welcome to the forum
Try using VLOOKUP()
=VLOOKUP(A2,Sheet1!$A$2:$B$7,2,0)
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
at B2 sheet 2
=INDEX(Sheet1!$B$2:$B$15,MATCH(A2,Sheet1!$A$2:$A$15,0))
Hey Everyone! Thanks so much for your help!
Both of those formulas worked great on the sample I gave you, unfortunately I've hit a snag... the actual document I'm working with has some funny formatting (see below)
Sample.png
The old client numbers (Sheet 2 Column A) are formatted like this: ="1232321"
I'm looking for a way to either format the column to remove the equal signs and quotes, or to change the formula so that it searches for the value of the cell.
Thanks so much!!!!!!
What if you try (small tweak to FDibbins solution):
Formula:Please Login or Register to view this content.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.
To attach a file to your post,
click advanced (next to quick post),
scroll down until you see "manage file",
click that and select "add files" (top right corner).
click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"
Once the upload is completed the file name will appear below the input boxes in this window.
You can then close the window to return to the new post screen.
Thanks, I was wondering how to do that! Lucky for me all your suggestions worked great! Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks