update cell with conditional formatting

skunkworks

New Member
Joined
Jan 21, 2022
Messages
23
Office Version
  1. 2016
Platform
  1. Windows
In the example spreadsheet, is it possible to update column E with a number based on the following criteria?
column D > 10.00 and column B = 0.00 or blank: code 1
column D > 10.00 and column B > 0.00: code 2
column D < 10.00 and column C > 0.00: code 3
column D < 10.00 and column C = 0.00 or blank: code 4


Author2024 Q3 bal2024 Q4 royaltyduecodecurrency
Author A7.112.019.123GBP
Author B0.0030.9230.921USD
Author C6.185.8111.992USD
Author D5.186.9712.152USD
Author E2.181.824.003USD
Aughor F5.565.564USD
Author G9.569.564USD
Author H25.3825.384USD
Author I0.0015.4115.411USD
 

Attachments

  • Screen Shot 01-17-25 at 10.17 AM.PNG
    Screen Shot 01-17-25 at 10.17 AM.PNG
    42.1 KB · Views: 4

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What you are asking for is unrelated to conditional formatting.

Put in E2, and copy down.
Excel Formula:
=IF(D2>10,IF(B2>0,2,1),IF(C2>0,3,4))

What do you want the result to be if column C = 10.00?
 
Upvote 0
Thank you, Jeff! To answer your question, it depends. :-) In order to be paid, an author must have a balance of 10.00 or more (column D). If royalties are accrued in the current quarter (column C) and there are no royalties due from the previous quarter (column B), the code is 1.

If column B and column C add up to more than 10.00 in column D, the code is 2.
 
Upvote 0

Forum statistics

Threads
1,225,606
Messages
6,185,957
Members
453,333
Latest member
BioCoder84

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