Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2013, 06:42 PM
joflow21 joflow21 is offline Average for the month Windows XP Average for the month Office 2010 32bit
Novice
Average for the month
 
Join Date: Oct 2013
Posts: 8
joflow21 is on a distinguished road
Default Average for the month

Hi,
I have a spreadsheet (1) where there are weekend dates in each column of row 1 and values in the rows below each of those dates. I would like to write a formula in the 2nd tab that will show me the averages of these values for each month. For example, for all columns, in sheet (1), that have a weekend date in the month of January 2014, I would like to show, in sheet (2), the average of the values in row 2 for those columns. I need to do this for each month from September 2013 through January 2015. I am attaching my spreadsheet to, hopefully, make it clearer.



Thanks,
Jodie
Attached Files
File Type: xlsx Averages.xlsx (12.7 KB, 19 views)
Reply With Quote
  #2  
Old 10-20-2013, 01:41 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Average for the month Windows 7 64bit Average for the month Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi

does the attached help ? ( hope I didn't mix up with the relative/absolute ref )
Attached Files
File Type: xlsx Averages.xlsx (15.2 KB, 15 views)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 10-20-2013, 11:00 AM
joflow21 joflow21 is offline Average for the month Windows XP Average for the month Office 2010 32bit
Novice
Average for the month
 
Join Date: Oct 2013
Posts: 8
joflow21 is on a distinguished road
Default

Thank you very much Pecoflyer. This is exactly what I needed and the absolutes are where they need to be.

Now, I just have to figure out how each of the functions work so I can use them again.

I think I know, but I am not sure what the "+1" does. I believe the "-1" is subtracting a month, but I don't understand what is being added with the "+1".

Thanks,
Jodie
Reply With Quote
  #4  
Old 10-21-2013, 12:45 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Average for the month Windows 7 64bit Average for the month Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

EOMONTH returns the last day of a month.
Using -1 gives the last day of the month before, and adding 1 returns the first day of the month

So, EOMONTH(today(),-1) returns Sep 30th, and adding 1 gives Oct 1st

The result can be obtained other ways ( like DATE) but it would have made the formula longer, or using >eomonth(ref,-1) instead of >=.
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #5  
Old 10-21-2013, 06:57 AM
joflow21 joflow21 is offline Average for the month Windows XP Average for the month Office 2010 32bit
Novice
Average for the month
 
Join Date: Oct 2013
Posts: 8
joflow21 is on a distinguished road
Default

Thank you Pecoflyer. This is very helpful.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum, count and average not working Cooman Excel 1 03-19-2012 04:12 AM
Column Chart Average blaqsheep Excel 0 02-07-2012 07:04 PM
Average minus outliers? markg2 Excel 2 01-07-2012 05:46 PM
'AVERAGE' Formula nfphilpot Excel 3 11-24-2010 02:19 PM
Average for the month Average of many rows speedycorn1 Excel 1 10-30-2010 07:54 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft