detect lower number in list and makes calculations

bumfart66

New Member
Joined
Aug 23, 2017
Messages
12
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I've written a basic spreadsheet to calculate new electric bills when readings are estimated and then a lower reading is given by a customer , for example 65765 is an actual reading then 69000, 70000, and 71000 are estimated, then the customer gives a reading of 67898. If this happens we have to divide the difference by 4 and add this to the estimated readings to recalculate bills, the system won't let you enter a lower reading when a bill has been generated. We only have to regress bills when there are either 1,2 or 3 bills to regress. My spreadsheet is dumb because i have to write it for 3 scenarios, shown below


What i would like is a spreadsheet where you enter the readings in column A and it calculates when a lower number is added and then makes the calculation as below, for example
1000 Current Read1000 Current Read
2000 Estimate800 Estimate
3000 Estimate600 Estimate
400 Actual Read400 Actual Readexcel detects lower than 1000, subtracts lower actual read from current read, divides by 3 and adds the difference to two estimated reads leaving the current read as 100

<tbody>
</tbody>



My Spreadsheet



Regress Three Readings - divided by 4
Current ReadUpdated Read
Quarter 46789867898
Quarter 37100067365
Quarter 27000066832
Quarter 16900066298
Quarter 465765
Difference between Current and in line reading2133
Increment 533
Regress Two Readings - divided by 3
Current ReadUpdated Read
Quarter 32500025000
Quarter 23456723782
Quarter 13123422563
Quarter 421345
Difference between Current and in line reading3655
Increment 1218
Regress One Reading - divided by 2
Current ReadUpdated Read
Quarter 134563456
Quarter 445672795
Quarter 32134
Difference between Current and in line reading1322
Increment 661

<!--StartFragment--> <colgroup><col width="129" span="3"> </colgroup><tbody>
<!--EndFragment--></tbody>

 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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