+ Reply to Thread
Results 1 to 11 of 11

series determination

  1. #1
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    series determination

    Hi All,
    I have this sample file which has a series of serial numbers in worksheet "Total",
    and list of serial numbers in workbook "damage"
    Please advice if there is any function to determine the serial number is in which series,
    its is not possible do manually since the list comes in thousands.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: series determination

    i think u can try vlookup function..

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: series determination

    A LOOKUP() might work, perhaps a VLOOKUP() or an INDEX/MATCH(), but your sample workbook doesn't lend itself to a clear answer.

    1) Does the TOTAL sheet represent each series? If so, there's no series names, perhaps add that in column D or column A?

    2) None of the serial numbers on your DAMAGE sheet are in the series examples on the TOTAL sheet, so that makes testing a solution more difficult because you can't provide sample answers, or can you?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: series determination

    Pls the answers to your questions
    1)Each row has a series starting from row 6,I have made some changes to the damaged sheet which I have attached here,now you can find the number in damaged sheet in the total sheet
    2)we are also only concerned with last seven numbers,for example last seven numbers of cell c2 is 1179241,and we can find this number in the 9th row where the lot starts with
    8991848000001124004 and ends with 8991848000001224003
    since the last seven numbers starts with 1124004 and ends with 1224003.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: series determination

    You didn't answer question #1. There are no series "names" so it is completely unclear what you mean by "find which series a number is in". What is the result supposed to be? There are no series "names" in that sheet, just lists of numbers.

    For the serial # in C2, what is the desired answer and where?

    =========
    If all you care about is the last 7 digits, make your list of numbers just those 7 digits. Your data should reflect your actual need. If you don't need nor care about the digits that come before, remove them from your series table.

  6. #6
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: series determination

    No I haven't defined any names for the series,as I told in the example the answer for cell c2 is in the Total sheet in the series that starts with
    8991848000001124004 and ends with 8991848000001224003

    ============
    Its not that I don't care about the digits other than last 7 numbers,I mentioned abt last seven #,because they change,but the numbers before that are static.I am also attaching the revised sheet
    Attached Files Attached Files

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: series determination

    For C2...WHERE do you expect this answer to appear? D2?

    If you want the answer in D2, what is the desired answer? Please don't describe the answer...tell me what the answer for C2 should be, exactly what you expect to appear.

    Then tell me what you expect the answer for C342 to be...and where? D342?

    Don't explain it, just demonstrate sample answers, please, based on the sample data you've already provided.

  8. #8
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: series determination

    ok,I want a user form kind of a thing where if you give a number it will give you the series or the name of the series (If you give a name of the series)please advice if you are able to understand this.

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: series determination

    Please read post #7 and provide only the answers requested.

  10. #10
    Forum Contributor
    Join Date
    02-11-2008
    Location
    India
    MS-Off Ver
    Excel 2013
    Posts
    242

    Re: series determination

    I want the answer in D2,the answer will be the series .

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: series determination

    I know this sounds sarcastic, but since there is no entry on the Total sheet anywhere with the text string "series", then the only formula that would work in D2 is:

    ="Series"

    Now, if you want to go down column A and put in a series name for each of the rows of series numbers, then we have something to match and draw back..
    Last edited by JBeaucaire; 05-07-2010 at 02:55 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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