+ Reply to Thread
Results 1 to 18 of 18

formula to find large value and pull non-repeatiing value from adjacent column

  1. #1
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    formula to find large value and pull non-repeatiing value from adjacent column

    While working and challenging a formula that a forum expert graciously helped me with, i stuck-up with one combination of data where formula seems not giving the desired results. Overall the formula worked perfect for all other possibility. As it is difficult to explain the situation here, attaching the workbook with the formula and tried to explain my difficult.

    Request further help on the same.

    Link to old thread helped by Mr. Flame Retired is

    https://www.excelforum.com/excel-for...ml#post4601010


    Thanks

  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,215

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Try

    =IF(C$3:C$20<>"",COUNTIFS($B$3:$B$20,">="&$B3)+ROW()/10^3)

  3. #3
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Hello Mr. JohnTopley,
    Thanks for ur quick response. My requirement was to get Unique Product list for the products having column C is filled in descending order order of weightage (Column-B). When i applies ur formula, i am getting repeated product name. U can refer the attached sheet highlighted column. To give a try, change any product name in Column A which is having column C filled and weighatge is on higher side to 'N', u will find 'N' is repeated in the list of product in highlighted column.

  4. #4
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Can somebody help on the problem please.

  5. #5
    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,215

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    In L & M please show manually calculated expected results and for what columns.

  6. #6
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    I am attaching the workbook with details of requirement in text box along with the required data in 'Yellow' coloured column. Also 'Orange coloured column indicates the existing solution.

    Thanks

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Withdrawn by FR. Found a better formula.
    Last edited by FlameRetired; 04-10-2017 at 12:36 AM.
    Dave

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    This formula replaces the original helper formula and solves the N problem. The sample you provided omits Z although it meets requirements. I am assuming that is an oversight. This formula will return Z also.

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

  9. #9
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Dear Mr. Flame Retired Sir,

    I was little reluctant to send you the problem directly as you have helped in to a greatest extent for the same issue. But during my trial; i faced this problem.
    I cannot express my thanks just by writing. Your step-in proactively is really appreciable and your continuous improved versions of solutions to this problem is helping me to come out of the labyrinth .

    I will take some trials and revert to you. Primarily it seems it is working.
    GRAND THANKS SIR.

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    You contacted me PM indicating the problem is still not resolved.

    I am confused.

    Please attach a new upload show exactly what you want the output to be.

    Indicate item by item why the output is what it is and item by item why the output my formula returns is not what you want. That way others will see, too and perhaps someone will understand.

    Thanks,
    Dave

  11. #11
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Dear Sir
    Thanks for responding.
    Still i am facing problem with the solution u suggested. In the file attached in the link below, IF any name and highest weightage are same and together appears before for the equipment column empty, that equipment name and weighatge number will not appear in the list. For examplein the attched sheet, please see cells A15 which is made 'N' & 'B15-16 as '68'. Cell in D15 is made empty and D16 is filled with same weighatge and product name. Result in column K & L ignores the product 'N' and weightage '68' even though in cell A16 & B16 also has Product 'N' & weightage '68' .

    Hope i could explained it properly. Please help

    Thanks

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Try putting this in F3:H18 (the helper columns).
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Now column I:L returns this:

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    3
    A
    66
    RMG
    FALSE
    FALSE
    9.003
    N
    68
    N
    68
    4
    Z
    66
    FALSE
    FALSE
    FALSE
    O
    68
    O
    68
    5
    C
    66
    RMG
    FBD
    9.005
    9.005
    FALSE
    W
    68
    C
    66
    6
    D
    61
    RMG
    11.006
    FALSE
    FALSE
    A
    67
    E
    36
    7
    E
    36
    FBD
    FALSE
    16.007
    FALSE
    C
    66
    I
    36
    8
    N
    42
    RMG
    FALSE
    FALSE
    13.008
    D
    61
    9
    G
    36
    RMG
    FALSE
    FALSE
    16.009
    D
    61
    10
    A
    67
    RMG 50L
    6.01
    FALSE
    FALSE
    L
    43
    11
    I
    36
    FBD
    FALSE
    16.011
    FALSE
    12
    D
    61
    RMG 50L
    11.012
    FALSE
    FALSE
    13
    K
    68
    RMG
    FALSE
    FALSE
    5.013
    14
    L
    43
    RMG 50L
    12.014
    FALSE
    FALSE
    15
    N
    68
    FALSE
    FALSE
    FALSE
    16
    N
    68
    RMG 50L
    FBD
    5.016
    5.016
    FALSE
    17
    O
    68
    RMG 50L
    FBD
    5.017
    5.017
    FALSE
    18
    W
    68
    RMG 50L
    5.018
    FALSE
    FALSE


    Note: D now returns twice in column I. Is this acceptable? Both C6 and C12 are filled both A6 and A12 are D and B6 and B12 have identical values ... 61.
    Last edited by FlameRetired; 04-20-2017 at 12:53 AM.

  13. #13
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Dear Sir,

    D is fulfilling both conditions i.e. C is filled, B is relatively large and and hence has to appear twice. I will check further and provide you the feedback.

    THANK YOU SIR.
    Cheers

  14. #14
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Good deal.

  15. #15
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Dear Sir,

    Just to explore possibility to use this formula in different scenario I have; is it possible to avoid repeat of D & 61. If it can appear only for once?

    Thanks

  16. #16
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Yes. Make the helper formula in F3:H18

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


    PS Please also take time to update your profile. Members tailor solutions with things like Excel version(s) in mind. Ex. if Excel 2003 was your only version as your profile indicates this formula wouldn't work.

  17. #17
    Registered User
    Join Date
    01-16-2013
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    42

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Thank you Flame Retired sir. Now it is working for me. I have taken various trial for my purpose and its working. I used the last formula #16.

  18. #18
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: formula to find large value and pull non-repeatiing value from adjacent column

    Good deal! Thank you for letting me know.

+ 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] Formula to find large value and pull non repeatiing value from adjacent column
    By rakeshgarg1977 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 03-09-2017, 01:29 AM
  2. Looping 'find' to find a value and replace a value in an adjacent column
    By Boltsie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-12-2016, 06:54 PM
  3. [SOLVED] Vba to lookup for specif alphanumeric value in a column and pull value from adjacent cell
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2016, 10:37 PM
  4. Replies: 2
    Last Post: 12-03-2014, 01:33 PM
  5. [SOLVED] Problem Using LARGE formula with Index/Match to pull values when there are Duplicates
    By BDavis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-11-2014, 02:23 PM
  6. Pull unique values based on adjacent column
    By freud1 in forum Excel General
    Replies: 9
    Last Post: 07-02-2012, 11:36 AM
  7. LARGE Formula - Non-Adjacent Cells
    By TylerDCA in forum Excel General
    Replies: 1
    Last Post: 02-08-2010, 03:29 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