Excel for begineers
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Excel for begineers

8 Posts
7 Users
0 Reactions
46 Views
Posts: 1583
Free Member
Topic starter
 

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.


 
Posted : 20/02/2017 12:54 pm
Posts: 36
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.


 
Posted : 20/02/2017 1:00 pm
Posts: 17
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


 
Posted : 20/02/2017 1:01 pm
Posts: 1583
Free Member
Topic starter
 

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


 
Posted : 20/02/2017 1:09 pm
Posts: 12079
Full Member
Posts: 1834
Full Member
 

Pivot table seconded


 
Posted : 20/02/2017 1:12 pm
Posts: 1583
Free Member
Topic starter
 

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


 
Posted : 20/02/2017 1:18 pm
Posts: 2081
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:

[url= https://dl.dropboxusercontent.com/u/438710/pivttableexample.xlsx ]https://dl.dropboxusercontent.com/u/438710/pivttableexample.xlsx[/url]


 
Posted : 20/02/2017 1:34 pm
Posts: 0
Full Member
 

@sum( . )

HTHs.


 
Posted : 20/02/2017 1:56 pm