average the 6 most recent dates
Column A has a list on various date entries, and column b has a list on numerical entries that correspond to the dates in column A.
I want to use a formula to average the most recent 6 entries (according to the date) in cell C1 and another formula to add
the most recent 6 entries (according to the date) in cell D1.
Is this possible? Thanks.
Anwsers to the Problem average the 6 most recent dates
Download Error Fixer for Free Now
...
what if I wanted to average the 30 most recent entries from column B by date with the same scenario already mentioned and also add the 30 most recent entries from column B by date ...
You can hard code the 30 into the formula as you mentioned or put it into a cell and reference the cell.
Let's assume that you put
30 into Z1.
Your two formulas would be,
=AVERAGEIF(A:A,">="&LARGE(A:A,MIN(Z1,COUNT(A:A))),B:B)
...
and,
=SUMIF(A:A,">="&LARGE(A:A,MIN(Z1,COUNT(A:A))),B:B)
You may want to tighten up those full column references (e.g.
A:A, B:B to
A2:A999, B2:B999) to save some processing power.
You can reference cells that are blank or contain text and they will be happily
skipped over byt the SUMIF() and AVERAGEIF() functions.
I've added a MIN(COUNT()) function to make sure that you are not asking for more values than are available.
AVERAGEIF function
SUMIF function
LARGE function
MIN function
COUNT function
- Open Internet Explorer.
- Go to "Tools > Internet Options > Advanced Tab".
- Uncheck "Enable third-party browser extensions".
- Click "Apply".
- Reboot your computer.
Another Safe way to Fix the Problem: average the 6 most recent dates:
How to Fix average the 6 most recent dates with SmartPCFixer?
1. Download SmartPCFixer . Install it on your computer. Click Scan, and it will perform a scan for your computer. The errors will be shown in the scan result.
2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, windows updating and print spooler error repair.
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: How Can I Fix - Backup and Restore hangs up and will not complete successfully.?,Back up fails with Error code: 0x8078012D Tech Support,Troubleshooting:Backup and\/or formatting dvds causes drive to go into a loop. Need to manually eject to stop it. Error,How to Fix Error - Asus laptop keeps showing blue screen?,Troubleshooting:autofill when typing in a listbox,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?
No comments:
Post a Comment