+ Reply to Thread
Results 1 to 2 of 2

How to count the number of maximum values using array formula

  1. #1
    Registered User
    Join Date
    03-21-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    5

    How to count the number of maximum values using array formula

    Dear Friends,

    I am using a array formula to find the max and min values in a month and year between two columns.

    Column E Column F
    3/2/2015 3/22/2015
    3/2/2015 3/22/2015
    3/3/2015 3/23/2015
    3/4/2015 3/10/2015
    3/5/2015 3/11/2015
    3/6/2015 3/25/2015
    3/7/2015 3/30/2015
    3/7/2015 3/30/2015
    3/7/2015 3/30/2015

    To find the Min of difference - =MIN(IF((MONTH(E5:E13)=MONTH(NOW())*(YEAR(E5:E13)=YEAR(NOW()))*(MONTH(F5:F13)=MONTH(NOW()))*(YEAR(F5:F13)=YEAR(NOW()))),F5:F13-E5:E13)),

    Ans= 6.

    To find the Max of difference - =Max(IF((MONTH(E5:E13)=MONTH(NOW())*(YEAR(E5:E13)=YEAR(NOW()))*(MONTH(F5:F13)=MONTH(NOW()))*(YEAR(F5:F13)=YEAR(NOW()))),F5:F13-E5:E13))

    Ans= 23.

    I want array formulas for the conditions:-

    1.But with this formula i want to find the number of max value occurrence.
    2. Number of Values above 3.
    2. And if the "column F" is empty then it should calculate the values in the next "column G".

    Kindly help me with this please.

    Thanking you.

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

    Re: How to count the number of maximum values using array formula

    MIN finding (array formula):

    Please Login or Register  to view this content.
    MAX finding: (array formula):

    Please Login or Register  to view this content.
    MAX occurrence (Normal Enter):

    Please Login or Register  to view this content.
    Above 3 (Normal Enter):

    Please Login or Register  to view this content.
    Above formulas are in condition of " If F column is blank then use G column instead"
    Attached Files Attached Files
    Last edited by bebo021999; 03-21-2015 at 02:50 PM. Reason: Attached file
    Quang PT

+ 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] Choose maximum value out of a number of values that match certain criterias from an array
    By Alderdeiry Mohamed in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-02-2015, 10:11 AM
  2. [SOLVED] Array formula to count number of runners in an event
    By ad9051 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2013, 05:48 PM
  3. [SOLVED] Array formula: count non-zero values in two columns
    By RoxanaN in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-22-2013, 08:48 AM
  4. [SOLVED] count the maximum number consecutive
    By Berna11 in forum Excel General
    Replies: 9
    Last Post: 07-13-2012, 11:27 AM
  5. [SOLVED] Formula to count number of dates in an array
    By Lilasviolet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2005, 03: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