+ Reply to Thread
Results 1 to 7 of 7

Ordered number on basis of Cell value

  1. #1
    Forum Contributor
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    2016 .......
    Posts
    390

    Red face Ordered number on basis of Cell value

    Hi'
    Please I want to generate sr. no. in column A on the basis of the cell value in J column
    Thanks in advance
    A B ............... I J
    Sr. No. Branch Code Branch Code No of Records
    1 11 11 7
    2 11 13 5
    3 11 28 4
    4 11 14 6
    5 11
    6 11
    7 11
    1 11
    2 13
    3 13
    4 13
    5 13
    1 28
    2 28
    3 28
    4 28
    1 14
    2 14
    3 14
    4 14
    5 14
    6 14

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Ordered number on basis of Cell value

    Is this array formula what you had wanted?

    =IFERROR(MATCH(0,--(COUNTIF($A$1:A1,ROW($1:$100))=$J$2:$J$100),0),"")



    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    2016 .......
    Posts
    390

    Re: Ordered number on basis of Cell value

    Thanks for reply .... its really gr8

    Don't call value in column B

    but in sr. no. column i.e. column A, I want numbering i.e. 1,2,3,4,5,............ on the basis of the cell value in J column
    Thanks in advance
    A B ............... I J
    Sr. No. Branch Code Branch Code No of Records
    1 11 11 7
    2 11 13 5
    3 11 28 4
    4 11 14 6
    5 11
    6 11
    7 11
    1 11
    2 13
    3 13
    4 13
    5 13
    1 28
    2 28
    3 28
    4 28
    1 14
    2 14
    3 14
    4 14
    5 14
    6 14

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Ordered number on basis of Cell value

    Sorry. Only half-awake, it seems. Try this:
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    2016 .......
    Posts
    390

    Re: Ordered number on basis of Cell value

    Hi
    I am hereby attaching the file for your kind perusal
    Thanks in advance
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    12-03-2014
    Location
    India
    MS-Off Ver
    2016 .......
    Posts
    390

    Re: Ordered number on basis of Cell value

    Thanks it works perfect
    ..... Gr8

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Ordered number on basis of Cell value

    Glad to have helped!

+ 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. sorting within cell ordered by custom list??
    By pontifex in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2015, 05:32 PM
  2. [SOLVED] counting the total number of items which are ordered
    By ImTr0uBLe in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-16-2015, 12:03 PM
  3. increment cells by 10 on a daily basis. regardless of what number is entered into the cell
    By garyaddis1983 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-28-2015, 11:46 AM
  4. Showing the last date ordered for a particular item number
    By artner0112 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-18-2015, 03:16 AM
  5. [SOLVED] Different result depending on number of Cd's ordered
    By Canoga56 in forum Excel General
    Replies: 6
    Last Post: 12-18-2014, 05:04 PM
  6. Formula for number of perfect ordered needed to achieve certain target.
    By kokoli84 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2014, 08:06 PM
  7. [SOLVED] Can I format a cell to round a number by 50 basis points (0.5)?
    By daveb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-18-2005, 09:05 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