IF THEN ...

COOT

New Member
Joined
Apr 29, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
hello... im trying to work out a formula that adds a fee if a cell is above or below a dollar amount. so if cel K4 is over $10 then a fee of .40 is applied to cell O4, AND if cell K4 is under $10 then a .30 fee is applied to cell O04.

basically if a sale is less than $10 dollars that cell should have .30 in it, and if its over $10 it would have .40 in it.
 

Attachments

  • Capture.PNG
    Capture.PNG
    58.5 KB · Views: 5

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Perhaps
Excel Formula:
=IF(K4>10,.4,.3)

What if K4 is exactly $10?

Maybe
Excel Formula:
=IF(K4>=10,.4,.3)
 
Upvote 0
Perhaps
Excel Formula:
=IF(K4>10,.4,.3)

What if K4 is exactly $10?

Maybe
Excel Formula:
=IF(K4>=10,.4,.3)
uh oh. ok so that worked great but I didn't account for K4 being blank. if K4 is blank then O4 should remain at zero until K4 is populated.
 
Upvote 0
uh oh. ok so that worked great but I didn't account for K4 being blank. if K4 is blank then O4 should remain at zero until K4 is populated.
Then try:
Excel Formula:
=IF(K4="",0,IF(K4>10,.4,.3))
 
Upvote 0
Solution
You are welcome. Just a variation of dreid1011's initial response.
Glad we were able to help!
 
Upvote 1

Forum statistics

Threads
1,224,527
Messages
6,179,357
Members
452,907
Latest member
Roland Deschain

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