+ Reply to Thread
Results 1 to 3 of 3

Calculate Max and Min Value for only Visible Cells

  1. #1
    Registered User
    Join Date
    08-29-2008
    Location
    usa
    Posts
    22

    Smile Calculate Max and Min Value for only Visible Cells

    Hi,

    I would like to calculate maximum and minimum value for a particular column when auto filter is applied and for only the visible cells.

    Thanks in Advance

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Calculate Max and Min Value for only Visible Cells

    use subtotal () lo0k at help on function for options actual syntax is slightly different for versions of excel but in 97 subtotal(4,a1:b10) gives max of visible and subtotal(5,a1:b10) gives min
    in 2007 its and in 2003
    subtotal(104,a1:b10) gives max of visible and subtotal(105,a1:b10) gives min
    Last edited by martindwilson; 08-05-2009 at 08:03 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    08-29-2008
    Location
    usa
    Posts
    22

    Re: Calculate Max and Min Value for only Visible Cells

    Thanks, It works.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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