Split into two cells

adamsm

Active Member
Joined
Apr 20, 2010
Messages
444
Hi anyone,

I'm trying to figure out a formula that would copy and paste the value in cell contents in from column I of the sheet CustomerMasterList into cells D13 & E13 of the sheet "NewInvoice".

Lets say for example column C of the sheet "CustomerMasterList" has A123456. And column I of the same sheet has 24 Years(in the same row).

What I want is when I write A123456 in cell D10 of the sheet "NewInvoice" the cell content of column I that is 24 Years; to get copied into D13 and E13.
Meaning, 24 to cell D13 and Years to E13.

Any help on this would be kindly appreciated.

Thanks in advance.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
I would do a VLOOKUP(LEFT,2) and VLOOKUP(RIGHT,5) from your Main sheet. If the number of years varies, Use a LEN to get the length of the text. If it's 8 char long, then RIGHT,2, if it's 7 char long, RIGHT,1.
 
Upvote 0
Thanks for the reply. I would be happy if you could provide a sample formula to so.

Thanks in advance.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top