Averageif date is less than today
I need to run a Month to Date average of units run each day. I have a Macro that sets up each months worksheets. I would like to have a formula that will give me a percent average each day for the Month to Date. I want each day to only use the current
date and the previous days of the month.
B37 = Date 08-07
F37 = current days percentage of units run 87.1%
$H$2 = current working day 5
I have tried this formula with a few variations but I get a #Value error. I know that is a mismatched data error but I am stumped on where to go now and I really think I am overlooking the obvious.
Thanks for any help you can give me.
Anwsers to the Problem Averageif date is less than today
Because AVERAGEIF can't be used in a 3D reference, one alternative would be to pull the data from each sheet's F37 cell into a table on your data analysis sheet, and then do the average from the table.
Continuing with the August 2012 example, I'm assuming there's a sheet for each weekday (Mon-Fri).
So you could form a table as follows, formatting column B as text, and typing a space before each 08:
A B C
1 DAY DATE WORKDAY
2 Wednesday 08-01 1
3 Thursday 08-02 2
4 Friday 08-03 3
5 Monday 08-06 4
6 Tuesday 08-07 5
7 Wednesday 08-08 6
: : : :
23 Friday 08-31 23
In column D you can pull in the F37 values with this formula e.g.
=INDIRECT("'" & A2 & B2 & "'!F37")
And then the average formula would be
=AVERAGEIF(C2:C23,"<=" & H2,D2:D23)
where H2 holds, as you've indicated, the current workday number (assuming you have a formula for deriving this).
Hope that's something close to what you need.
Open Action Center by clicking the Start button Picture of the Start button, clicking Control Panel, and then, under System and Security, clicking Review your computer's status.
Update and run your antivirus software. Windows doesn't come with antivirus software, but Action Center can often monitor the antivirus software that you or your computer manufacturer have installed.
Recommended Method to Repair the Problem: Averageif date is less than today:
How to Fix Averageif date is less than today with SmartPCFixer?
1. Click the button to download Error Fixer . Install it on your system. Open it, and it will scan your system. The junk files will be shown in the list.
2. After the scan is done, you can see the errors and problems which need to be repaired.
3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been fixed.
Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: [Solution] autocorrect custom settings work fine on one document, but not on others,How to Fix - ATHEROS AR9285 and windows 7 64 bit problem?,Fast Solution to Error: Back up - lock screen,Troubleshoot:Atheros AR9002WB-1NG Wireless Network Adapter problems Error,Tech Support: Arrays for defining the \"Find_Text\" criteria of the Search function,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?