Home |
Search |
Today's Posts |
#1
|
|||
|
|||
cell info
If I have "123456789" in a cell I wish to copy specifc parts of it to other
cells i.e. A1 first 3 - 123 A2 second 3 - 456 A3 third 3 - 789 How can I do this both in a worksheet and using VBA. Thanks Jo |
#2
|
|||
|
|||
In a work sheet =left($A$1,3) (123) =mid($A$1,4,3) (456) =right($A$1,3) (789) VBA is the same layout, just minus the "=" Left( Range( "A1" ).Value , 3) Mid( Range( "A1" ).Value , 4 , 3) Right( Range( "A1" ).Value , 3) -- kraljb ------------------------------------------------------------------------ kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955 View this thread: http://www.excelforum.com/showthread...hreadid=276435 |
#3
|
|||
|
|||
Assuming "123456789" in b1
=left(b1,3) in a1 =mid(b1,4,3) in a2 =right(b1,3) in a3 Lance "Jo" wrote: If I have "123456789" in a cell I wish to copy specifc parts of it to other cells i.e. A1 first 3 - 123 A2 second 3 - 456 A3 third 3 - 789 How can I do this both in a worksheet and using VBA. Thanks Jo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
inserting data from a row to a cell, when the row number is specified by a formula in a cell | New Users to Excel | |||
Addition to Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Unable to set the active cell from VBA | New Users to Excel | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |