Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default sort by numbers of digits in cells

mab2819 wrote:
Hi,

I need to sort a large document by a certain column. That column consists of
numbers that are six digits and five digits. I need to insert a leading zero
in all those numbers that consist of only five digits. Some of those six
digit numbers already correctly have the leading zero, so when I sort, it
doesn't isolate the five digit ones. Any ideas on how I can do this?
TIA,


First, convert the entire column to numbers. Place a 1 in an open cell and copy
it. Select your list of data and the Paste Special / Values / Multiply. Then,
use a custom number format of 000000 to display the numbers with leading zeros.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sort cells with cell reference to get the same numbers? Tina Excel Discussion (Misc queries) 0 May 14th 07 07:03 AM
How do I sort the last 3 digits first and then the first 4 digit?. aphriam Excel Worksheet Functions 2 April 22nd 07 03:28 AM
Sort by last 2 digits BER Excel Discussion (Misc queries) 2 January 11th 07 11:01 AM
sort numbers high to low, copy to new cells with associated data. ucastores Excel Worksheet Functions 3 September 3rd 06 02:13 PM
Sort by last 2 digits mbparks Excel Worksheet Functions 4 February 17th 05 06:11 PM


All times are GMT +1. The time now is 08:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"