+ Reply to Thread
Results 1 to 6 of 6

Lookup / Countifs / Averageifs based on Quarter & Year

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Lookup / Countifs / Averageifs based on Quarter & Year

    Hi,

    My s/s currently has the correct formulas for below based on Year. I was hoping someone would be able to help me fill in for the quarter by year starting in
    Please Login or Register  to view this content.
    . Please let me know if you have any questions.

    best,
    Adam
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Lookup / Countifs / Averageifs based on Quarter & Year

    Looks like you are using an XL version which is not, as indicated in your profile, XL2010??

  3. #3
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Lookup / Countifs / Averageifs based on Quarter & Year

    I have Microsoft 365 MSO

  4. #4
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Lookup / Countifs / Averageifs based on Quarter & Year

    just wanted to follow up to see if anyone had any questions

    best,
    Adam

  5. #5
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Lookup / Countifs / Averageifs based on Quarter & Year

    thought I would give this one more chance to see if anyone can help out before closing it out

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,647

    Re: Lookup / Countifs / Averageifs based on Quarter & Year

    It is easier to help when we have manually calculated results with which to compare the results of our formulas/code.
    I feel as if the following does what you want:
    1. For J16 and down: =IFNA(INDEX(AC$7:AC$29,MATCH(G16,AE$7:AE$29,0)),"-")
    2. For L16 and down: =MAX(0,J17-J16)
    3. For N16 and down: =IF(J17="",0,MIN(0,J17-J16))
    4. For P16 and down: =IF(J16="-",SUM(L16,N16),SUM(J16,L16,N16))
    5. For T16 and down: =AVERAGEIFS(AC$7:AC$29,AE$7:AE$29,G16)
    Columns V and Z seemed to calculate correctly.
    Cells AC7 and down could be populated using: =SUMPRODUCT((B$7:B$73<=EOMONTH(AB7,0))*(D$7:D$73>EOMONTH(AB7,0)+1)) and there is no need to array enter the formula, just press the Enter key.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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: 1
    Last Post: 08-21-2020, 06:41 AM
  2. [SOLVED] Convert year month to year quarter
    By yllew in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-06-2018, 03:04 AM
  3. Replies: 4
    Last Post: 08-05-2015, 06:39 PM
  4. Replies: 1
    Last Post: 04-20-2015, 12:11 PM
  5. Countifs or AverageIfs
    By dreicer_Jarr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-13-2013, 02:44 AM
  6. Countifs and Averageifs
    By tradergreg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2011, 07:20 PM
  7. Replies: 9
    Last Post: 11-16-2009, 07:16 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