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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
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,221,814
Messages
6,162,135
Members
451,744
Latest member
outis_

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