Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88066

How can I add a comma & space after every two digits in Excel and then format the text?

$
0
0

Here's the table I'm working with:

enter image description here

First off, how can I separate the string of numbers in column C so that they have a comma and space after every two digits?

I was able to partially finish it, but for some reason I can't grab the last two digits. I used this formula:

=MID(C4,1,2)&", "&MID(C4,3,2)&", "&MID(C4,6,2)&", "&MID(C4,10,2)&", "&MID(C4,13,2)&", "&MID(C4,16,2)

After that I need to somehow format that string to look like the example in column E, that's where I'm really confused. Maybe I don't even need the first step?

Any help is appreciated. Thanks


Viewing all articles
Browse latest Browse all 88066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>