- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message

Seemingly Simple Excel Assistance
Posted on 7/10/15 at 11:38 am
Posted on 7/10/15 at 11:38 am
So I've got a list of about 150 or so cells in one column... I need to get 5-digit numbers out and separated by a comma. (maybe in a text/word doc?)
It seems like it would be possible and I have no idea how to do it...
HALP!!1!1!!
It seems like it would be possible and I have no idea how to do it...
HALP!!1!1!!
Posted on 7/10/15 at 11:39 am to yankeeundercover
quote:
So I've got a list of about 150 or so cells in one column... I need to get 5-digit numbers out and separated by a comma. (maybe in a text/word doc?)
So it is a list of numbers, and you need to pull 5 digits out of the list of numbers?
Posted on 7/10/15 at 11:41 am to yankeeundercover
Not enough information. Is it a formatting issue? You can format the first cell and drag the formatting to the rest.
Posted on 7/10/15 at 11:41 am to yankeeundercover
So turn a 12345678 into 45,678?
You can use the char left or right for how many you want left or right, and then you can change number formatting for all the cells to separate those numbers by commas. You can use that same setting to pick just 5 digit numbers too...depends on what youre doing.
You can use the char left or right for how many you want left or right, and then you can change number formatting for all the cells to separate those numbers by commas. You can use that same setting to pick just 5 digit numbers too...depends on what youre doing.
Posted on 7/10/15 at 11:42 am to yankeeundercover
Mid formula
then
Concatenate formula
then
Concatenate formula
Posted on 7/10/15 at 11:43 am to Skin
Yeah depending on where the 5 digits are within the list, you use either the LEFT MID or RIGHT functions.
Posted on 7/10/15 at 11:44 am to yankeeundercover
Can you be more specific? Sounds like each of the 5 digits needs to be separated?
Posted on 7/10/15 at 11:45 am to yankeeundercover
Kind of vaugue, but if I understand correctly I would.
Highlight the row and click the button to push everything left.
Save file as a .prn
Open that file back up with excel and it will prompt you to set the rows in a text to column type deal.
Set your columns to capture the digits you need and the remaining digits in an additional column.
format your new column to numbers and add the comma you desire.
Re-save as an excel file.
Highlight the row and click the button to push everything left.
Save file as a .prn
Open that file back up with excel and it will prompt you to set the rows in a text to column type deal.
Set your columns to capture the digits you need and the remaining digits in an additional column.
format your new column to numbers and add the comma you desire.
Re-save as an excel file.
Posted on 7/10/15 at 11:45 am to yankeeundercover
Text to columns, concatenate
Posted on 7/10/15 at 11:49 am to Lou Pai
If cell A1 has 56789 in it and you want it to say "5,6,7,8,9".
Select cell right next to the first one. In cell B1 type in =Mid(A1,1,1)&","&Mid(A1,2,1)... that's the first two digits, continue that sequence in the same cell for the remaining three characters. Then just drag that formula down.
Select cell right next to the first one. In cell B1 type in =Mid(A1,1,1)&","&Mid(A1,2,1)... that's the first two digits, continue that sequence in the same cell for the remaining three characters. Then just drag that formula down.
Posted on 7/10/15 at 11:50 am to yankeeundercover
The OP is very confusing. Does this mean:
1. Get the cells that have five digit numbers but ignore the other ones?
2. Get the rightmost 5 digits from each cell? The leftmost?
3. Something else?
1. Get the cells that have five digit numbers but ignore the other ones?
2. Get the rightmost 5 digits from each cell? The leftmost?
3. Something else?
Posted on 7/10/15 at 1:15 pm to foshizzle
Apologies for a vague ask...
For simplicity's sake, lets call them 'zip codes' (5-digits)
There's on 'zip' in each cell of a column and I need to add them to a boolean search separated by commas...
Basically:
______
|12345|
______
|67890|
______
|09876|
to
12345, 67890, 09876, etc
For simplicity's sake, lets call them 'zip codes' (5-digits)
There's on 'zip' in each cell of a column and I need to add them to a boolean search separated by commas...
Basically:
______
|12345|
______
|67890|
______
|09876|
to
12345, 67890, 09876, etc
Posted on 7/10/15 at 1:20 pm to yankeeundercover
Try saving as csv comma delimited. I use this format from time to time to turn excel sheets into comma separated text.
Posted on 7/10/15 at 1:32 pm to yankeeundercover
Assuming your 150 values are in column A
In the column (col B) to the right enter this: = A1 + ", "
Copy that and paste all the way down column B
This formula will add a second column with commas following the zips in column B
Copy column B
Paste special - select "transpose" and paste into column C
This creates a string of 150 columns in one row with commas following the values.
Now copy that row starting in column C to the last value.
Paste in notepad.
You're done
In the column (col B) to the right enter this: = A1 + ", "
Copy that and paste all the way down column B
This formula will add a second column with commas following the zips in column B
Copy column B
Paste special - select "transpose" and paste into column C
This creates a string of 150 columns in one row with commas following the values.
Now copy that row starting in column C to the last value.
Paste in notepad.
You're done
This post was edited on 7/10/15 at 1:36 pm
Posted on 7/10/15 at 1:33 pm to yankeeundercover
quote:You should be ashamed of yourself for creating a Paige thread
yankeeundercover
Posted on 7/10/15 at 2:04 pm to ForeverLSU02
Assuming your data is in column 1 this should work
=IF(B1="",A1&","&A2,B1&","&A2)
=IF(B1="",A1&","&A2,B1&","&A2)
Popular
Back to top

10












