How to write an excel formula to autocalculate ?

Status
Not open for further replies.

MrNewExcel

New Member
Joined
Apr 14, 2022
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Pls help. I like to create a formula but I don't know how to input the correct formula.

What i like is to have a formula that will automatically calculate defending to which gasoline product i choose to consume and automatically sum up, if how much i consume on each product.
Pls. see my excel example and picture.
Never mine the colors, i just highlighted for easy reference. Thank you.



GAS PRODUCT MONITOR.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1ENGINE NO.1 CONSUMPTIONENGINE NO. 2 CONSUMPTIONENGINE NO. 3 CONSUMPTION (ALWAYS IN PETRON)OIL ConsumptionConsumption (Total)
2CounterDensityTemp[ltr.]Cons.SHELLPETRONCALTEXCounterDensityTemp[ltr.]Cons.SHELLPETRONCALTEXCounter INCounter OUTDensityTemp[ltr.]Cons.CounterLBSOHSSHELLPETRONCALTEX
3698688000.98001309000.8X111347000.9900929000.8X79798200.98001301600.1143669010=1.6 (0.8+0.8)=0.1
4698693000.98001305000.5X111351500.9900924500.4X79799300.98001301100.1143670010=0.4=0.1=0.5
5698696000.98001303000.3X111356400.9900924900.5X79800200.9800130900.1143671010=0.1=0.8
6698697000.98001301000.1X111362700.9900926300.6X79802000.98001301800.2143671010=0.9 (0.1+0.6+0.2)
Sheet1
Cell Formulas
RangeFormula
E3:E6,V3:V6,M3:M6E3=ROUND((B3-0.000625*(C3-15))*D3/1000,1)
L4:L6,D4:D6D4=IF(A4>0,A4-A3,0)
U4:U6U4=IF(Q4>0,(Q4-Q3)-(R4-R3),0)
 

Attachments

  • Screenshot (395).png
    Screenshot (395).png
    33.9 KB · Views: 1

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Duplicate to: how create a formula that is autocalculate?

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,155
Messages
6,123,331
Members
449,098
Latest member
thnirmitha

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