+ Reply to Thread
Results 1 to 12 of 12

NUMBERING IN EXCEL - fourdigit

  1. #1
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    NUMBERING IN EXCEL - fourdigit

    hi folks,

    does anyone know a way to solve my numbering problem in excel.

    i have column A a numbering like this "25/06", or 1077/06", or 555/12.
    i want to have the column ascending and fourdigit, so that it goes like this:
    0025/06
    1077/06
    0555/12

    of course there are a few hundered rows.

    can u help me please!?

    cheers


    mandura

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: NUMBERING IN EXCEL - fourdigit

    Use in B1:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: NUMBERING IN EXCEL - fourdigit

    25/06 could be evaluated as June 25th and evaluate incorrectly with zbor's formula, this change will allow for that.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-04-2009
    Location
    Golborne England
    MS-Off Ver
    2013
    Posts
    85

    Re: NUMBERING IN EXCEL - fourdigit

    This formula will build you up a 000/00 formatted text string even is the lead 0 in the second half of the original string is missing.

    Please Login or Register  to view this content.
    JimBobBowie

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: NUMBERING IN EXCEL - fourdigit

    Quote Originally Posted by JimBobBowie View Post
    This formula will build you up a 000/00 formatted text string even is the lead 0 in the second half of the original string is missing.

    Please Login or Register  to view this content.
    JimBobBowie
    With A1 formatted as anything other than text, enter your formula, then type 25/06 into A1 and you will get a #VALUE! error.

  6. #6
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Re: NUMBERING IN EXCEL - fourdigit

    guys, you are awesome!!
    thank you very, very much!!

    i fixed that problem with your help, but now i got another one.
    i want to sort the data ascending, but excel does not consider the year, for example /07.

    when i sort the column its like this:

    0021/05
    0023/05
    0032/06 !!!!
    0088/05

    do you guys have a solution for this problem?

    thanks again to all of you guys!!

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: NUMBERING IN EXCEL - fourdigit

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  8. #8
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Re: NUMBERING IN EXCEL - fourdigit

    Here you go!

    thx!
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: NUMBERING IN EXCEL - fourdigit

    Quote Originally Posted by mandura View Post
    gi want to sort the data ascending, but excel does not consider the year, for example /07.
    The data is in text format, sorting by the first 4 digits, with the last 2 as a tiebreaker, excel will have no way of knowing that the second part is a year reference.

    In C1 enter, =RIGHT(B1,2) and fill down.

    Sort by column C, then column B

  10. #10
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: NUMBERING IN EXCEL - fourdigit

    Add helper column and use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then sort by that column.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Re: NUMBERING IN EXCEL - fourdigit

    this worked for me!

    thank you very much i lijep pozdrav iz lijepe naše

  12. #12
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: NUMBERING IN EXCEL - fourdigit

    Glad it worked.

    Također

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 06-27-2014, 06:40 AM
  2. weird (auto numbering) numbering ....
    By freestone in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-20-2010, 07:46 PM
  3. WBS numbering help, auto numbering with indenture
    By hisham2929 in forum Excel General
    Replies: 2
    Last Post: 02-18-2007, 06:59 PM
  4. [SOLVED] Automatic numbering in excel
    By dshemesh in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-24-2006, 09:55 AM
  5. excel automatic numbering
    By Spice in forum Excel General
    Replies: 4
    Last Post: 04-25-2006, 02:10 PM
  6. excel page numbering
    By Vonnie in forum Excel General
    Replies: 2
    Last Post: 01-10-2006, 06:40 PM
  7. [SOLVED] excel numbering add-in
    By Fran in forum Excel General
    Replies: 2
    Last Post: 02-03-2005, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1