Separate reference in 2 columns.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,459
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I have this reference table in A1:B4 which is 0 = 00, 1 = 01, 2 = 10, 3 = 11
I would like to separate them in 2 columns, what formula should be in column B7 and C7 ?
Thank you.

1234.png
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
are you still using excel 2007 ?

I suspect as text
in B7
=left(B1,1) and copy down
in C7
=right(B1,1)
 
Upvote 0
Thank you etaf, but I may not explain myself right, I need the formulas to take the starting data in column A7 going down.
 
Upvote 0
so you want to lookup A7 from the range A1 to A4 , and then find the corresponding value in B1 to B4 and split
as asked
are you still using excel 2007 ?
 
Upvote 0
Yes, but I don't know how to create the formula with a leading 0.
 
Upvote 0
It is unclear whether the values in B1:B4 are Text or Numbers formatted to show 2 digits.

If Text this
25 01 15.xlsm
ABC
1000
2101
3210
4311
5
6
7000
8101
9210
10311
serge
Cell Formulas
RangeFormula
B7:B10B7=LEFT(VLOOKUP(A7,A$1:B$4,2,0),1)
C7:C10C7=RIGHT(VLOOKUP(A7,A$1:B$4,2,0),1)



If Numbers
25 01 15.xlsm
ABC
1000
2101
3210
4311
5
6
7000
8101
9210
10311
serge (2)
Cell Formulas
RangeFormula
B7:B10B7=LEFT(TEXT(VLOOKUP(A7,A$1:B$4,2,0),"00"),1)
C7:C10C7=RIGHT(TEXT(VLOOKUP(A7,A$1:B$4,2,0),"00"),1)
 
Upvote 0
Solution
Thank you Peter, that works perfect for me, well appreciate it.
 
Upvote 0

Forum statistics

Threads
1,225,765
Messages
6,186,902
Members
453,384
Latest member
BigShanny

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