+ Reply to Thread
Results 1 to 8 of 8

Listing only values above 6

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    59

    Listing only values above 6

    Dear all

    I am lookong for the code to give the values greater than 6 from the list on the left.
    I can do this quickly by sorting but my data keeps changing and it would be even quicker with code.

    Hope you can help


    Kevin
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Listing only values above 6

    Why don't you just apply auto-filter to column B, and use the Number Filter option on the drop-down to choose Greater than or Equal to and then put 6 in the dialogue box.

    Hope this helps.

    Pete

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

    Re: Listing only values above 6

    Try in E2:
    Please Login or Register  to view this content.
    This is an ARRAY formula, should be confirmed by CTRL-SHIFT-ENTER.
    Drag down and across untill getting error signs
    Quang PT

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Listing only values above 6

    Non-array alternative for E2:

    =IFERROR(INDEX($A$3:$A$45,SMALL(INDEX(($B$3:$B$45>6)*(ROW($B$3:$B$45)-MIN(ROW($B$3:$B$45))+1),,),ROWS($B$3:$B$45)-COUNTIF($B$3:$B$45,">6")+ROWS($1:1))),"")

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Listing only values above 6

    For your Excel 2003 version:

    Copy of greater than 6.xls
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Listing only values above 6

    Edit: didn't see you were on 2003.

    =IF(ROWS($1:1)>COUNTIF($B$3:$B$45,">6"),"",INDEX($A$3:$A$45,SMALL(INDEX(($B$3:$B$45>6)*(ROW($B$3:$B$45)-MIN(ROW($B$3:$B$45))+1),,),ROWS($B$3:$B$45)-COUNTIF($B$3:$B$45,">6")+ROWS($1:1))))

    Regards

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Listing only values above 6

    As I understand it, you want both the name and the grade.

    In F2 enter this formula with Ctrl + Shift + Enter and copy down.

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


    In E2 enter this formula and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by newdoverman; 10-21-2013 at 01:12 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    07-12-2013
    Location
    Jersey
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Listing only values above 6

    greater than 2.1.xls

    Thanks everyone for the replies.

    I got it working but the values in each cell are found from a pivot table making each cell appear blank but actually they are bound by a formula. So the previous formula is preventing it from working.

    I have now attached the pivot table all all routes from the original data.

    Hopefully it will be a small tweek to get it working?

    Kevin

+ 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. Listing values in between min and max
    By sknu in forum Excel General
    Replies: 3
    Last Post: 01-23-2012, 04:27 AM
  2. Excel 2007 : listing x largest values
    By confusus in forum Excel General
    Replies: 8
    Last Post: 05-20-2010, 04:31 AM
  3. Listing repeated values from range
    By XCBeast944 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2008, 03:55 PM
  4. Listing text values
    By TomBP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-28-2007, 12:58 PM
  5. various values and listing them
    By donjuan66 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-13-2005, 08:55 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