Consulting

Results 1 to 2 of 2

Thread: How to apply Average formula with multiple criterias

  1. #1

    How to apply Average formula with multiple criterias

    Hi All,

    I need a help on Average formula .i.e. I want to find the average of numbers present in a column based on multiple criteria. Here is what I have. Column A has Category .i.e. Deliver and Receive, Column B has Dates, Column C has Amounts. and I want to get the average of Amounts between two dates for each category separately for e.g. row I9 has Start date, row J9 has end date and L9 has Category so I want the average formula to look into column A for category first then in column B the start date first and then the end date and take the average of all the numbers which are there in column C .i.e. Amount column. Enclosed is the worksheet for your reference.

    Thanks a lot for your help in advance.
    Attached Files Attached Files

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try this ARRAY formula

    =AVERAGE(IF(($B$2:$B$30>=J9)*($B$2:$B$30<=K9)*($A$2:$A$30=L9),$C$2:$C$30))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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