Viewing 9 posts - 1 through 9 (of 9 total)
  • Excel for begineers
  • yetidave
    Free Member

    Some help from the hive if possible please!?

    I have a list of dates with corresponding values. sometimes there are a number of entries on the same date with different values (maybe 20-30 entries). I want to know the sum and average of the values based on each date. I was going to give the spreadsheet to our receptionist and leave her for a day or so to do this by hand, but there must be an easier way in excel. Lookup and sum or lookup and average.

    Stoner
    Free Member

    SUMIF and COUNTIF are the basic tools you can use. Have a practice and you should be able to work it out v quickly.

    For more advanced users SUMPRODUCT would be a slicker solution.

    mikewsmith
    Free Member

    Simple(ish) long hand way would be countif
    Copy all your dates to somewhere else (make sure they are date format with no time) paste & remove duplicates
    Paste the new list into a row above the other list (Paste Special Transpose)
    So they now sit in Row 1, Dates in Row 2 Col A, Values Row 2 Col B
    Under each date eg C2=IF(C$2=$A2,B2,””)
    Drag that down then across each row then either on that sheet or elsewhere SUM(C2:CNumber) or Avg

    sure there is a simpler way

    yetidave
    Free Member

    perfect, Stoners solution is within my brain power and works a treat, Thanks

    goldfish24
    Full Member

    Pivot table seconded

    yetidave
    Free Member

    those pivot tables look like a good idea for next time.. 😀

    slackboy
    Full Member

    Please use a pivot table. they are perfect for what you want.

    Its dead easy to summarise by

    count
    sum
    average
    max
    min

    here is an example:

    https://dl.dropboxusercontent.com/u/438710/pivttableexample.xlsx

    bikebouy
    Free Member

    @sum( . )

    HTHs.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Excel for begineers’ is closed to new replies.