Consulting

Results 1 to 6 of 6

Thread: Functions on filtered rows

  1. #1
    VBAX Mentor Sir Babydum GBE's Avatar
    Joined
    Mar 2005
    Location
    Cardiff, UK
    Posts
    499
    Location

    Functions on filtered rows

    Hi

    I have two filter-related questions.

    1) Is there a function (or combination of) where I can return the most common value in a filtered column? (that is, I may filter by Column A, but want to see the most frequent value in Column B)

    2) Can I have a rank() type function in each row that will adjust accordingly when a range is filtered? These formulae would be on the rows to being filtered.

    Thanks in advance

    BD
    Have a profound problem? Need a ridiculous solution? Post a question in Babydum's forum

  2. #2
    VBAX Master
    Joined
    Jun 2007
    Location
    East Sussex
    Posts
    1,110
    Location
    Are you talking about number values, or could they be text too?
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    VBAX Mentor Sir Babydum GBE's Avatar
    Joined
    Mar 2005
    Location
    Cardiff, UK
    Posts
    499
    Location
    Quote Originally Posted by rory
    Are you talking about number values, or could they be text too?
    The common values would be text

    the ranking would be looking at cells containg percentages
    Have a profound problem? Need a ridiculous solution? Post a question in Babydum's forum

  4. #4
    VBAX Master
    Joined
    Jun 2007
    Location
    East Sussex
    Posts
    1,110
    Location
    You can do it with helper columns as in the attached?
    Regards,
    Rory

    Microsoft MVP - Excel

  5. #5
    VBAX Mentor Sir Babydum GBE's Avatar
    Joined
    Mar 2005
    Location
    Cardiff, UK
    Posts
    499
    Location
    Quote Originally Posted by rory
    You can do it with helper columns as in the attached?
    That's excellent Rory.

    I searched on Google for an answer and I'm surprised there isn't more about the subject. I think Microsoft should look at putting a lot more functions into SUBTOTAL(). Who do I suggest this to? And will they pay me if they take it up???
    Have a profound problem? Need a ridiculous solution? Post a question in Babydum's forum

  6. #6
    VBAX Master
    Joined
    Jun 2007
    Location
    East Sussex
    Posts
    1,110
    Location
    I'm pretty sure it's a common request. They won't pay you though!
    Regards,
    Rory

    Microsoft MVP - Excel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •