+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Calculating average and total for ranges within a list

  1. #1
    Registered User
    Join Date
    02-13-2008
    MS-Off Ver
    2007
    Posts
    82

    Calculating average and total for ranges within a list

    I have the attached information and I want the average margin and total quantity shipped (cells C40 to D49). Is there a formula that can do it?
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculating average and total for ranges within a list

    If you insert a column in the summary table and create a start column and separate end column

    so 0 in one column and 199 in next column and so on, then try

    =IFERROR(AVERAGEIFS($D$3:$D$35,$B$3:$B$35,">"&B40,$B$3:$B$35,"<="&C40),0)

    AND

    =SUMIFS($E$3:$E$35,$B$3:$B$35,">"&B40,$B$3:$B$35,"<="&C40)


    assuming B3:B35 are the Sales figures you want to check
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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