+ Reply to Thread
Results 1 to 9 of 9

which formula will be used for Greater Than and Less Than within AGGREGATE Function?

  1. #1
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    which formula will be used for Greater Than and Less Than within AGGREGATE Function?

    hi guys!

    I am using this formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    this will help me to collect data from other sheet it has less than <=$D$10 function but now i need to give it Greater Than >= and Less Than <= range.
    Need your help.
    Last edited by Imran Magsi; 05-19-2016 at 01:12 AM.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: need a formula help

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

  3. #3
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: need a formula help

    this work perfect but it shows first 2 /3 cells blank

  4. #4
    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,199

    Re: need a formula help

    Post a sample file (not image).

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: need a formula help

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  6. #6
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: which formula will be used for Greater Than and Less Than within AGGREGATE Function?

    Here is sample file formula not working in yellow highlighted cells.
    Attached Files Attached Files

  7. #7
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: which formula will be used for Greater Than and Less Than within AGGREGATE Function?

    Try

    D7=IFERROR(AGGREGATE(15,6,R$3:R$26/($R$3:$R$26<=$E$4)+($R$3:$R$26>=$E$5),ROW(1:1)),"")

    B7=IFERROR(AGGREGATE(15,6,Q$3:Q$26/($Q$3:$Q$26<=$C$4)+($Q$3:$Q$26>=$C$5),ROW(1:1)),"")

    And drag down.
    Last edited by shukla.ankur281190; 05-19-2016 at 02:23 AM. Reason: text missing
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  8. #8
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: which formula will be used for Greater Than and Less Than within AGGREGATE Function?

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

  9. #9
    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: which formula will be used for Greater Than and Less Than within AGGREGATE Function?

    Shouldn't this


    =IF(D7="","",INDEX($P$3:$P$26,LARGE(($R$3:$R$26=D7)*(ROW($P$3:$P$26)-3),COUNTIFS(D7:D$26,D7))))


    be


    =IF(D7="","",INDEX($P$3:$P$26,LARGE(($R$3:$R$26=D7)*(ROW($P$3:$P$26)-3+1),COUNTIFS(D7:D$26,D7))))
    Dave

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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