+ Reply to Thread
Results 1 to 3 of 3

average for day-of-week (eg. avg for monday, avg for tue, etc)

  1. #1
    Registered User
    Join Date
    10-11-2006
    Posts
    51

    average for day-of-week (eg. avg for monday, avg for tue, etc)

    Hi

    I have a column of data like this:

    Date, sales
    1/2,1
    1/3,2
    1/4,3
    1/5,4
    1/6,5
    1/7,6
    1/8,7

    I want the sales average for Monday, Tue, etc. How would I do that without using array formulas?
    Last edited by saimike; 01-13-2012 at 04:31 PM.

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: average for day-of-week (eg. avg for monday, avg for tue, etc)

    try SUMPRODUCT,

    =SUMPRODUCT(--(TEXT($A$2:$A$20,"ddd;;;")="Mon"),$B$2:$B$20)/SUMPRODUCT(--(TEXT($A$2:$A$20,"ddd;;;")="Mon"))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    10-11-2006
    Posts
    51

    Re: average for day-of-week (eg. avg for monday, avg for tue, etc)

    Thanks Haseeb, I'll try that.

+ 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