i need a formula for one cell to be subtracted from another cell, then round up to 1 if <= 0.8

Ez00l

New Member
Joined
Jan 21, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I have tried a few formula's; however, none have worked properly, so I am asking here for help with it. What I need is to come up with a formula that can subtract the value of one cell from a previous cell: ex: M4=(K4-L4) After that, if cell M4 <= 0.8 then put a "1" in that cell (M4).

So if I have .76 in an o2 tank, then I want 1 to get ordered since the tank has 0.8 or less in it.

Any ideas are welcome and appreciated.
 

Attachments

  • excel formula.png
    excel formula.png
    10.3 KB · Views: 6

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,215,326
Messages
6,124,263
Members
449,149
Latest member
mwdbActuary

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