Deep question regarding IF function and everything else I want it to do

MarplesMan

New Member
Joined
Sep 11, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello :)

How can I get a cell to say, "Over Budget" in the BAD STYLE (red background, dark red text) if SUM of two cells is over value of another... and also to say, "Ok" in GOOD style (green background, dark green text) if SUM of two cells is equal to or under value of another???

Picture attached... I want to make both sure that both our semi-monthly paycheques are accounted for in this IF function. I have it working for a single cell and without the coloring... but the colouring isn't necessarily a deal-breaker.

Let me know if you have any questions.

Thanks!

MarplesMan
 

Attachments

  • Excel Question Screenshot.png
    Excel Question Screenshot.png
    9.7 KB · Views: 29

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Please provide at least 2 example lines, one for the case of "bad style" and one for the case of "good style", and highlight/color them MANUALLY as requested
 
Upvote 0

Almost ! See the picture attached.
It's more like the combination of E4 and H4 going over value in B4 and activating G4 has "Over Budget" or Good"
Secondly, did you manually change the styles of "Over Budget" and "Good" or did you do that automatically some how?
Lastly, would you mind typing out the formula so that I can copy/paste?

Thanks !! :D
 
Upvote 0
first i cant see column H4,
second one is u can follow my shortcut key ALT + H + L + H + T ( Mark one column, follow my short cut, and fill with "BAD" or "Good" Teks, and choice mark colour u want )
third
=IF(OR(B4>$B$1, AND(B4=$B$1,B4<$B$1)),"Over Budget","OK Good")
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,148
Members
452,615
Latest member
bogeys2birdies

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