+ Reply to Thread
Results 1 to 21 of 21

Range of values greater than particular column's values

  1. #1
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Range of values greater than particular column's values

    Greetings to all.

    Attached Excel needs a formula written for the below condition:

    (i) Last 5 cells' values (or least value from the range of 5 cells) need to be greater than or equal to 'L Column' (specific row's value). Then said to be 'PASS'
    or
    Else 'FAIL' (ALSO if no values found in 'L column' then 'FAIL').

    Image for reference:
    Values.png

    Thanks in advance.
    Attached Files Attached Files
    Last edited by LesliePrabakar; 04-11-2017 at 07:00 AM. Reason: Excel updated
    Thanks,
    Leslie Prabakar Ruphas Vanathuraj

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    What value should be in L8 for the comparison?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    I thought this looked familiar. It's very like your request here: http://www.excelforum.com/excel-form...s-formula.html

    In that thread, you keep adding requirements - have you stated your requirements in their entirety this time, or will you be changing them as the thread progresses? I am happy to try and help, as long as you have told us everything we need to know at the outset.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,472

    Re: Range of values greater than particular column's values

    How about in M2:

    Please Login or Register  to view this content.
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by AliGW View Post
    I thought this looked familiar. It's very like your request here: http://www.excelforum.com/excel-form...s-formula.html

    In that thread, you keep adding requirements - have you stated your requirements in their entirety this time, or will you be changing them as the thread progresses? I am happy to try and help, as long as you have told us everything we need to know at the outset.
    Thanks Ali for your reply. Hope, I extend not that much this time my requirements.

    Quote Originally Posted by AliGW View Post
    What value should be in L8 for the comparison?
    'L Column' cells may/may not contain values. Not mandatory though. Also, kindly check the below condition for 'L column' values comparison.

    Quote Originally Posted by LesliePrabakar View Post
    or
    Else 'FAIL' (ALSO if no values found in 'L column' then 'FAIL').
    If no values found in 'L column', then intentionally need 'FAIL' comment.
    For instance: Row 6 (Grape row) and Row 8 (Mango row) -> FAIL

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    I think you have your answer, but for the record, the result in M4 of your sample data should be PASS based on your requirements as stated above.

  7. #7
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by AliGW View Post
    I think you have your answer, but for the record, the result in M4 of your sample data should be PASS based on your requirements as stated above.
    Thanks for your identification, Ali. Mistakenly given wrong entry. But updated with right Excel in the main thread itself now.

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,472

    Re: Range of values greater than particular column's values

    Have you tried #4?

  9. #9
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by bebo021999 View Post
    How about in M2:

    Please Login or Register  to view this content.
    Thanks and much helpful.

    How about help on feeding the range from a separate cell where I would give the range and taken as reference in the formula.
    With this I would close this thread as 'SOLVED'

    Help appreciated.
    Last edited by LesliePrabakar; 04-11-2017 at 07:08 AM. Reason: bold

  10. #10
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by bebo021999 View Post
    Have you tried #4?
    Yes, works fine @bebo021999.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  12. #12
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by LesliePrabakar View Post
    ...
    How about help on feeding the range from a separate cell where I would give the range and taken as reference in the formula.
    With this I would close this thread as 'SOLVED'

    Help appreciated.
    Still looking for a help on the last query posted.

    Quote Originally Posted by AliGW View Post
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Please help for the above query for Closure. Thanks Ali.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    I won't be helping, sorry. I said that I would help if you stated all of your requirements at the start of the thread, but once again you are shifting the goal posts, just like you did before in the thread that was linked to above. I won't be led a merry dance again. Sorry!

  14. #14
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by AliGW View Post
    I won't be helping, sorry. I said that I would help if you stated all of your requirements at the start of the thread, but once again you are shifting the goal posts, just like you did before in the thread that was linked to above. I won't be led a merry dance again. Sorry!
    Fine @AliGW. Will try correcting myself next time onwards. Sorry to bother you as that was not my intention in prolonging a thread asking multiple queries.

    Can someone here help, kindly.

  15. #15
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,472

    Re: Range of values greater than particular column's values

    Try to reupload sample with new info, Leslie

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    How about help on feeding the range from a separate cell where I would give the range and taken as reference in the formula.
    You'll need to explain what you mean by this.

  17. #17
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by bebo021999 View Post
    Try to reupload sample with new info, Leslie
    Yes, Excel file updated and uploaded in this reply, FYA.

    Quote Originally Posted by LesliePrabakar View Post
    ...
    How about help on feeding the range from a separate cell where I would give the range and taken as reference in the formula.
    ...
    Above is the query for the updated Excel file.
    Values.png
    Attached Files Attached Files
    Last edited by LesliePrabakar; 04-11-2017 at 07:56 AM. Reason: HELP file attached

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    As Bebo seems to have gone offline, here's my suggestion:

    IF($L2="","FAIL",IFERROR(IF(MIN(OFFSET($A2,,COUNTA($B2:$K2),,-$N2))>=$L2+0,"PASS","FAIL"),"FAIL"))

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    If that takes care of your new question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  20. #20
    Forum Contributor
    Join Date
    02-22-2015
    Location
    India
    MS-Off Ver
    MS Office 2007
    Posts
    100

    Re: Range of values greater than particular column's values

    Quote Originally Posted by AliGW View Post
    As Bebo seems to have gone offline, here's my suggestion:

    IF($L2="","FAIL",IFERROR(IF(MIN(OFFSET($A2,,COUNTA($B2:$K2),,-$N2))>=$L2+0,"PASS","FAIL"),"FAIL"))
    @AliGW, thanks so much for the solution.

    Even after bugging with multiple questions, you people really helped me.

    Quote Originally Posted by AliGW View Post
    If that takes care of your new question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Closing the thread as SOLVED.

    Added REPUTATION to @bebo021999 and @AliGW .

    So kind of you people (admin and people here, thanks again).

  21. #21
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,174

    Re: Range of values greater than particular column's values

    You got lucky.

    Thanks for the rep.

+ 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] Need help retrieving only values greater than 1 lac values in a column
    By msb15 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2017, 02:24 PM
  2. [SOLVED] VBA for dividing values in range if greater than x
    By James Swallow in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-01-2015, 11:12 AM
  3. [SOLVED] count values greater 2 or greater in a column.
    By ammartino44 in forum Excel General
    Replies: 3
    Last Post: 09-16-2014, 07:05 PM
  4. Replies: 2
    Last Post: 06-27-2012, 10:23 AM
  5. Sum cells in range with values greater than 2
    By henneman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-20-2010, 02:35 PM
  6. [SOLVED] How do I search an array for values in a column greater than zero
    By letsagmj in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-25-2006, 09:45 PM
  7. [SOLVED] Advanced Filter for Values in Column M greater than Values in Colu
    By SteveC in forum Excel General
    Replies: 3
    Last Post: 05-02-2006, 03:00 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