Quizzes & Puzzles1 min ago
Speadsheets
7 Answers
I have a spread sheet with account numbers (all 16 digits) they have a space every 4, is there an easy formuala I can use to remove spaces and just leave one space after the first four ie 1234 123412341234
The spreadsheet has approx 5000 accounts on
Thanks
The spreadsheet has approx 5000 accounts on
Thanks
Answers
or if you don't like the replace feature: if your numbers are: 1234 1234 1234 1234 = left( a1, 4)&" "& mid( a1, 6, 4)& mid( a1, 11, 4)& mid( a1, 16, 4) assuming your acct number is in a1.
11:41 Tue 06th Aug 2013
why was this not answered adequately here?
http:// www.the answerb ank.co. uk/Tech nology/ Questio n126535 9.html
use the "replace" function (hit control-H) to replace the " "'s with "". Then use the formula in your other post.
http://
use the "replace" function (hit control-H) to replace the " "'s with "". Then use the formula in your other post.
Just seen Dr. B's second reply after posting - at least we're thinking the same way! It does work, Andy. I've just tried it on an example number.
If it doesn't work for you, maybe you actually have a custom number format on those cells, and they are just entered as pure 16-digit numbers. The custom number format of "#### #### #### ####" will display them with spaces as per your source data, and the formulas we've given will miss out digits as you suggest it seems to do. Reset the format of the original cells to General to see if that changes how they look.
If it doesn't work for you, maybe you actually have a custom number format on those cells, and they are just entered as pure 16-digit numbers. The custom number format of "#### #### #### ####" will display them with spaces as per your source data, and the formulas we've given will miss out digits as you suggest it seems to do. Reset the format of the original cells to General to see if that changes how they look.