Removing blanks from credit card entries in Microsoft Excel

I was asked recently how to get rid of blanks in credit card entries within an Excel worksheet, e.g 1000 2000 3000 4000 should read 1000200030004000.

The way I did it was select all cells in the Credit card column, and clicked the Format Cells dialog box launcher in the Number group.

I formatted the cells as Number with 0 decimal places.

Then from the Home tab, in the Editing group, I clicked Replace (or use keyboard shortcut Ctrl + H.

I pressed the spacebar in the Find box, then just clicked in the Replace box and clicked Replace All. All blanks were removed.

Find out more about our Excel training courses Sydney, Australia.

Find out more about our Excel training courses London, Surrey, Middlesex, UK, or our Excel training courses Dorset, Hampshire, Wiltshire, UK

About jdonbavand

I am a trainer of Microsoft Office, Microsoft Project and Crystal Reports. I have called my blog "If Only I'd Known That...." because I hear it so many times in training sessions. In fact, if only I had a £100 (or 150 Aussie dollars)for every time someone says "If only I'd known that." ....
This entry was posted in Microsoft Excel, Microsoft Excel 2007, Microsoft Excel 2010, Microsoft Excel 2013. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s