+ Reply to Thread
Results 1 to 6 of 6

Need to plot the next lower level number `Set Text'.

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Need to plot the next lower level number `Set Text'.

    Hello

    In the light yellow cells by formula need to plot the next immediate lower level number `Set Text'.

    thanks in advance
    Sekar

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Need to plot the next lower level number `Set Text'.

    This works on your example data

    =INDEX(C$1:C3,MAX(IF((A3-1=A$2:A3)*(LEN(A$2:A3)>0),ROW(A$2:A3))),1)

    Depends what the rest of your data looks like, but this works.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Need to plot the next lower level number `Set Text'.

    Hello

    Thanks for the formula, But the formula shows error and i have attached the attachment.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: Need to plot the next lower level number `Set Text'.

    You've entered the formula in D2, but that row doesnt need a formula since subtracting 1 from A2 (which is 0) will result in -1 and there is no -1 to find in column A.

    Perhaps I should have said what cell to enter it in.
    Enter the formula in D3

    =INDEX(C$1:C3,MAX(IF((A3-1=A$2:A3)*(LEN(A$2:A3)>0),ROW(A$2:A3))),1)
    Also this is an array formula
    Array formula, use Ctrl-Shift-Enter

    and copy down the column.

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Need to plot the next lower level number `Set Text'.

    d2=IFERROR(LOOKUP(A2-1,A$1:A1,C$1:C1),"")
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Need to plot the next lower level number `Set Text'.

    Hello

    Special-K and Samba Thanks to both of you

    Both of your formulas working well, thank you again.

+ 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] Mark for given part and all its immediate lower level as `Yes'.
    By Sekars in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2018, 07:47 AM
  2. Replies: 1
    Last Post: 07-14-2016, 05:51 AM
  3. copying a formula to 8 cells lower with a result of 1 cell lower
    By dyosa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-21-2014, 11:52 PM
  4. [SOLVED] Round number to nearest equal or lower number of a string
    By MikeMar! in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-20-2013, 01:26 PM
  5. Replies: 7
    Last Post: 09-10-2012, 09:18 PM
  6. Replies: 2
    Last Post: 07-26-2012, 09:27 AM
  7. Replies: 0
    Last Post: 09-23-2011, 01:01 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