Share via

provide a list of monthly average contractors at down by month, covering January 2025 through February 2026?

Cheryl Albee 0 Reputation points
2026-03-04T18:32:58.9266667+00:00

Looking for the formula to provide a list of monthly average contractors broken down by month, covering January 2025 through February 2026?

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments

3 answers

Sort by: Most helpful
  1. Ashish Mathur 101.8K Reputation points Volunteer Moderator
    2026-03-04T22:59:38.0266667+00:00

    Hi,

    Explore the GROUPBY() function/Pivot Tables/AVERAGEIF() function.

    0 comments No comments

  2. Hendrix-C 14,650 Reputation points Microsoft External Staff Moderator
    2026-03-04T19:05:59.4266667+00:00

    Hi @Cheryl Albee,

    Thank you for posting your question in the Microsoft Q&A forum.

    According to your concern, please share some screenshots or sample data of your current worksheet so I can clearly understand your data structure to provide the most appropriate formula and also to ensure the provided formula is guaranteed to work properly based on your request.

    Please understand that my initial response may not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution. 

    Thank you for your understanding and cooperation. I look forward to hearing from you.


  3. Q&A Assist
    2026-03-04T18:33:10.85+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Assuming there is a table with one row per contractor per day (or per assignment) including a date column, use AVERAGE with MONTH/YEAR to calculate the monthly average, and then copy the formula down for each month from Jan‑2025 to Feb‑2026.

    Example layout (adjust ranges/columns as needed):

    • Dates in column A (e.g., each row is a contractor-day or a daily headcount date)
    • Daily contractor count in column B
    • A list of month start dates in column D: 1/1/2025, 2/1/2025, …, 2/1/2026

    In E2 (average contractors for the month in D2), enter:

    =AVERAGE(IF((YEAR($A$2:$A$1000)=YEAR(D2))*(MONTH($A$2:$A$1000)=MONTH(D2)),$B$2:$B$1000))
    

    Confirm as an array formula if required by Excel version (Ctrl+Shift+Enter), then fill down through February 2026.

    Explanation of the logic based on the context functions:

    • MONTH($A$2:$A$1000) extracts the month number from each date in the data range.
    • YEAR($A$2:$A$1000) extracts the year.
    • The logical test (YEAR(...) = YEAR(D2))*(MONTH(...) = MONTH(D2)) selects only rows in the same month/year as the month in D2.
    • AVERAGE then calculates the average of the contractor counts for that month.

    If the data is instead one row per contractor with a single date (e.g., start date) and a numeric value to average, the same pattern applies: use YEAR and MONTH on the date column to filter, and AVERAGE on the contractor metric.

    The key functions used are AVERAGE to compute the mean and MONTH/YEAR to group by month, as shown in the context for calculating averages and working with dates.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.