Get a daily use average?

tl7612

New Member
Joined
May 14, 2019
Messages
13
Office Version
  1. 365
Platform
  1. Windows
I have a monthly spreadsheet that numbers are keyed in from readings that are done on different days of the month. The spreadsheet has the dates in across the top in row 1 and the locations in the rows below. For example, I would have a reading on April 8th for 83,055,000 and then on April 15th for 83,203,000. I of course could do the the math and get the daily average between those two numbers by substracting the two and divide by 7. That would get me a daily average use of 21,143. However, I will have more dates keyed in and would like a formula to figure out what the daily average use would be no matter what dates entered.
1621278733415.png
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
365 is the version.
 
Upvote 0
In that case, assuming only two values per row, how about
+Fluff 1.xlsm
ABCDEFGHIJKLMN
108/04/202109/04/202110/04/202111/04/202112/04/202113/04/202114/04/202115/04/202116/04/202117/04/202118/04/202119/04/2021
2830550008320300021142.86
321000330006000
Main
Cell Formulas
RangeFormula
N2:N3N2=(MAX(B2:M2)-MIN(B2:M2))/(MAXIFS($B$1:$M$1,B2:M2,"<>")-MINIFS($B$1:$M$1,B2:M2,"<>"))
 
Upvote 0
No there will be multiple amounts on each row. However, each number should increase in each reading.
 
Upvote 0
Do you just want the average between the largest & smallest based on their dates?
 
Upvote 0
In that case the formula I suggested should still work.
 
Upvote 0
The formula works but the problem is at the end of the month it divides by the number of days before the last day of the month. For example in April there are 30 days and the formula divides by 29 days instead of 30 days. There would always be a reading on the first day of the month and the last day.
 
Upvote 0
That is not what you showed in your op, but you can just add 1 to the formula like
Excel Formula:
=(MAX(B2:M2)-MIN(B2:M2))/(MAXIFS($B$1:$M$1,B2:M2,"<>")-MINIFS($B$1:$M$1,B2:M2,"<>")+1)
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,111
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top