+ Reply to Thread
Results 1 to 21 of 21

Multiple reference against running serial no in excel

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Multiple reference against running serial no in excel

    Sir,

    How do Running Serial No against corresponding to the Multiple/twice range.

    Starting Serial is 500:

    NAME DOC NO DATE CBB TRAN Runing Serial No Req
    AHMED 380713 24/06/2015 75 IXPS 500
    AHMED 380720 24/06/2015 IXPS
    AHMED 380720 24/06/2015 IXPS
    AHMED 380836 24/06/2015 IXPS
    AHMED 380715 24/06/2015 75 IXPS 501
    AHMED 380836 24/06/2015 IXPS
    AHMED 380846 24/06/2015 IXPS
    AHMED 381001 24/06/2015 IXPS
    AHMED 381185 24/06/2015 IXPS
    AHMED 381193 24/06/2015 IXPS
    BANGA 380713 24/06/2015 11 XPRESS 502
    BANGA 380717 24/06/2015 XPRESS
    BANGA 380722 24/06/2015 XPRESS
    BANGA 380835 24/06/2015 11 IXPS 503
    BANGA 380846 24/06/2015 IXPS
    BANGA 381004 24/06/2015 25 IXPS 504
    BANGA 381193 24/06/2015 IXPS

    please help me.

    file attached.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Multiple reference against running serial no in excel

    You need explain how the serial numbers are "generated".

    It appears to be on change of CBB? so rows 3 to 6 are serial number 500. etc ?

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Multiple reference against running serial no in excel

    If my assumption above is correct then put the following in F4 and copy down

    =IF(D4="",F3,F3+1)

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Multiple reference against running serial no in excel

    Like this?
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    JohnTopley Sir,

    thanks for your reply.

    but i need Name,Doc No,Date,Cbb,Tran(column A to E) are same, the value return is 500 in column F3.(Starting Serial is 500)

    am trying this formula in F3=IF(COUNTIFS($A$3:A3,A3,$C$3:C3,C3,$D$3:D3,D3,$E$3:E3,E3)=1

    but i don't know whats the another step.

    please help me.

    file attached.
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    Jacc Sir,

    love it.

    but i need the answer my required format if possible.

    please help me.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple reference against running serial no in excel

    Quote Originally Posted by Jacc View Post
    Like this?
    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Multiple reference against running serial no in excel

    Ok. I'm not sure what you mean silambarasan.J. If you include the result you want in your workbook and post it I will understand.

  9. #9
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    Tony Valko sir.

    apologetic for the mistakes.am struggling to explanation about of thread because English is not my main language.

    in future never it happen again.sorry for the inconvenience.

    i can follow up Jacc Sir post.here some internal issue so i cannot reply on time.

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Multiple reference against running serial no in excel

    @silambarasan.J

    The reply of Tony Valko was to Jacc (see #7).

    You can proceed with this question, but Jacc ask you in #8 to add the result in your file.

    You get better help on your question if you add a small excel file, without confidential information.

    Please also add manualy the expected result in your file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  11. #11
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    Thanks oeldere sir for again consider of my query.(#10)

    Jacc sir thanks you so much again for the reply. yes i can understand.

    The Reply its based on serial No and returning the value row wise.

    its an reversible of compare of my data. i want column wise.

    as requested to you its convert of my required data if possible.its very helpful.


    A B C D E F

    Branch DOC NO DATE CBB TRAN Runing Serial No Req

    AHMED 380713 24/06/2015 75 IXPS 500
    AHMED 380720 24/06/2015 IXPS
    AHMED 380720 24/06/2015 IXPS
    AHMED 380836 24/06/2015 IXPS

    AHMED 380715 24/06/2015 18 IXPS 501
    AHMED 380836 24/06/2015 IXPS
    AHMED 380846 24/06/2015 IXPS
    AHMED 381001 24/06/2015 IXPS
    AHMED 381185 24/06/2015 IXPS
    AHMED 381193 24/06/2015 IXPS

    BANGA 380713 24/06/2015 11 XPRESS 502
    BANGA 380717 24/06/2015 XPRESS
    BANGA 380722 24/06/2015 XPRESS

    BANGA 380835 24/06/2015 11 IXPS 503
    BANGA 380846 24/06/2015 IXPS


    The above mentioned details same was i have updated in excel daily basis.

    Header of : Branch,Date,Cbb,Transport Name(Column A,C,D,E) are same i have put the serial No in column F2.

    In put the serial No first cells only against corresponding to the reference.

    Note:24/06/2015 the day end of serial No is 550.

    The next day starting the running serial No is 551 against corresponding to the reference.

    The same process i have follow up next branch/day. This my routine work.

    I have lot of line item,minimum 25000 in each month.

    it very difficult to change the serial manually in every time/day.

    My query is whenever multiple range/reference(Column A,C,D,E) are same i want running serial number in first cells only.(F2 Only)

    other cells is blanks.

    sorry for the late reply.

    please help me.file attached.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Multiple reference against running serial no in excel

    H3 =if(A2="",H1+1,H2)

    Why is F17 = 503 ?

    See the attached file.

  13. #13
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    oeldere Sir,

    wrongly entered.

    H3 =if(A2="",H1+1,H2)

    this formula consider in single column only.its working all of ascending order only.

    in case data are Descending Order value return is error.also blanks cells against serial no return.

    My query is whenever multiple range/reference(Column A,C,D,E) are same i want running serial number in first cells only.(F2 Only)


    i want corresponding to the range against serial No.

    please help me.

  14. #14
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Multiple reference against running serial no in excel

    silambarasan.J , you posted the same file again, it does not help.

    You have to make a few examples manually so that we can see what the finished result will look like.
    Please fill in the result for the first 10 rows manually and post the workbook again.

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Multiple reference against running serial no in excel

    H3 =if(A2="",H1-1,H2)

    If this is not what you expect, add a new file, with all criteria, and show us how the cells are related, e.g. with a color.

    Add manualy the expected result in your file and add also the text with it that that is the expected result.

  16. #16
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    Jacc & oeldere sir,

    thanks you so much. i can followup your advice and suggestion.

  17. #17
    Valued Forum Contributor
    Join Date
    09-17-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2007
    Posts
    454

    Re: Multiple reference against running serial no in excel

    If I look at the data, it appears that a new serial number is generated when CBB changes, regardless of the other columns. So:

    • Enter 500 in cell F1
    • Enter '=IF($D3<>"",IF(ROWS($A$3:$A3)=1,$F$1,MAX($F$2:$F2)+1),"")' in F3 and copy down

    serial_incr.jpg

  18. #18
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    cyiangou Sir,

    thank you so much for your help.

  19. #19
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Multiple reference against running serial no in excel

    If that is the criteria (#17) , the below formula will do (simular as already offered).

    H1 = 499

    H2 =if(D2<>"",H1+1,H1) and drag down.

    Please reply.

  20. #20
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,841

    Re: Multiple reference against running serial no in excel

    Sorry silambarasan.J, I didn't understand that was the solution. Next time just mark it yellow or something.
    Here is my version:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: I now see that my solution is not just a bit like cyiangou's solution, it's exactly like it! Oh well, you certainly beat me to it cyiangou.
    Attached Files Attached Files

  21. #21
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Multiple reference against running serial no in excel

    Oledere & jacc sir lot of thanks for each and every reply.write now I don't have a system.my mobile not supported xls/xlm.please give me some time

+ 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. Automatic Ruining Serial Number Against Multiple Reference in Excel
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-15-2015, 04:26 AM
  2. Data from a cell creates a reference with a serial number
    By Stefan Pall in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-18-2014, 11:07 AM
  3. Replies: 3
    Last Post: 10-14-2014, 03:40 AM
  4. Print reference range of serial numbers into specified cell
    By arkaether in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2013, 03:55 AM
  5. Running Multiple Excel VBA instances
    By mynci in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2009, 11:28 AM
  6. 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
  7. Replies: 0
    Last Post: 01-08-2008, 09:40 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