+ Reply to Thread
Results 1 to 9 of 9

Calculating Serial Number where the data cant be sorted

  1. #1
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Calculating Serial Number where the data cant be sorted

    Hi,
    I have some data set and i have to calculate the serial number but unfortunately the data cant be sorted since the first block of data is fetched from access database and the second block of data is entered manually in the excel workbook.

    Any help would be much appreciated, Thanks.
    Attached Files Attached Files
    Thanks & Regards
    Muralidaran.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculating Serial Number where the data cant be sorted

    Hi,

    The following in B22 will work
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    However your ID numbers aren't incremented consistently. The first set of IDs increment by 10 wheras the second set by 1.
    Is there some rule to determine what the increment should be?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Calculating Serial Number where the data cant be sorted

    Hi,
    Thanks for your feedback, my fault, I feel that I didn't explained it properly, I'm trying to calculate the serial number not the expected Item ID.
    Item ID in the first block is fetched from Access table and the Expected Item ID will be entered manually in this work book. Please have a look at the Sl No and that is what i have to calculate either using a formula or VBA in the same order i have input manually.

  4. #4
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Calculating Serial Number where the data cant be sorted

    Hi, Could someone help me on this please....

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculating Serial Number where the data cant be sorted

    In that case mofify the formula I gave you. i.e.

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

  6. #6
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Calculating Serial Number where the data cant be sorted

    Sorry, could you please check the latest attached file.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Calculating Serial Number where the data cant be sorted

    Hi, could someone help me on this please.

  8. #8
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Calculating Serial Number where the data cant be sorted

    In Cell B2 try

    =RANK(C2,$C$2:$C$23,1)

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  9. #9
    Forum Contributor
    Join Date
    01-08-2012
    Location
    Saudi Arabia, Dammam
    MS-Off Ver
    MS Office LTSC Professional Plus 2021
    Posts
    113

    Re: Calculating Serial Number where the data cant be sorted

    Thanks, that worked.

+ 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. [SOLVED] How to validate data as serial number ?
    By ipn in forum Excel General
    Replies: 6
    Last Post: 04-25-2017, 07:01 AM
  2. Replies: 2
    Last Post: 04-23-2017, 04:53 AM
  3. [SOLVED] How to put serial number only to filtered data?
    By jilaba in forum Excel General
    Replies: 2
    Last Post: 02-06-2017, 03:17 AM
  4. [SOLVED] Move row data to correct tab if Serial Number is not in the tab
    By bigroo1958 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-25-2014, 09:04 PM
  5. Merge data with inventory serial number
    By tedgraniou in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-08-2012, 03:37 AM
  6. Overwrite the advanced filtered data serial number column with unique number
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-15-2012, 12:38 AM
  7. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 AM

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