Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have this information in the same column:
ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Let's say you want the numbers in column B - put this in B1:
=IF(A1="","",IF(ISNUMBER(A1),A1,"")) and this in C1: =IF(A1="","",IF(ISNUMBER(A1),"",A1)) then copy these two formulae down. Hope this helps. Pete On Jan 16, 1:12*am, deb wrote: I have this information in the same column: ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this
Sub move_numbers() Dim i As Integer Dim Check As Variant Dim result As Variant For i = 1 To 100 With Worksheets("name") Check = .Range("a2").Offset(i, o) result = IsNumeric(Check) If result = "True" Then .Range("a2").Offset(i, 1) = Check .Range("a2").Offset(i, 0) = "" End If End With Next i End Sub deb wrote: I have this information in the same column: ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
These are a little bit shorter...
For Text: =IF(ISNUMBER(-A1),"",A1) For Numbers: =IF(COUNT(A1)=1,A1,"") -- Rick (MVP - Excel) "Pete_UK" wrote in message ... Let's say you want the numbers in column B - put this in B1: =IF(A1="","",IF(ISNUMBER(A1),A1,"")) and this in C1: =IF(A1="","",IF(ISNUMBER(A1),"",A1)) then copy these two formulae down. Hope this helps. Pete On Jan 16, 1:12 am, deb wrote: I have this information in the same column: ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Even shorter....
For Text: =T(A1) For Number: =IF(N(A1),A1,"") "Rick Rothstein" wrote: These are a little bit shorter... For Text: =IF(ISNUMBER(-A1),"",A1) For Numbers: =IF(COUNT(A1)=1,A1,"") -- Rick (MVP - Excel) "Pete_UK" wrote in message ... Let's say you want the numbers in column B - put this in B1: =IF(A1="","",IF(ISNUMBER(A1),A1,"")) and this in C1: =IF(A1="","",IF(ISNUMBER(A1),"",A1)) then copy these two formulae down. Hope this helps. Pete On Jan 16, 1:12 am, deb wrote: I have this information in the same column: ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Excellent... I like them!
-- Rick (MVP - Excel) "Teethless mama" wrote in message ... Even shorter.... For Text: =T(A1) For Number: =IF(N(A1),A1,"") "Rick Rothstein" wrote: These are a little bit shorter... For Text: =IF(ISNUMBER(-A1),"",A1) For Numbers: =IF(COUNT(A1)=1,A1,"") -- Rick (MVP - Excel) "Pete_UK" wrote in message ... Let's say you want the numbers in column B - put this in B1: =IF(A1="","",IF(ISNUMBER(A1),A1,"")) and this in C1: =IF(A1="","",IF(ISNUMBER(A1),"",A1)) then copy these two formulae down. Hope this helps. Pete On Jan 16, 1:12 am, deb wrote: I have this information in the same column: ACER 146555 THOMAS 188223 There are some blank lines in between - I need all the text in one column and all the numbers in another but I need them to stay on the same row they are on - can anyone help with this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Split numbers and text from 1 column into 2 columns | Excel Discussion (Misc queries) | |||
Separating numbers and words into separate columns | Excel Discussion (Misc queries) | |||
find a number between numbers in two separate columns | Excel Worksheet Functions | |||
How to separate numbers from text?? | Excel Discussion (Misc queries) | |||
move list of numbers from one column to multiple columns | Excel Discussion (Misc queries) |