Conditional Formatting Formula

heinojt

New Member
Joined
Oct 24, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Please help, I need to write a formula for the following: if cell A2 is between 0-10% then A3 must =5% of A1, but if A2 is between 11- 20%, then A3 must = 7% of A1
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Welcome to the MrExcel board!

Your actual question does not seem to have anything to do with "Conditional Formatting Formula". Did you just mean "Conditional Formula"?

You didn't say what to do if A2 is greater than 20% or whether that is possible with your data.
Assuming A2 cannot be bigger than 20% then try
Excel Formula:
=A1*IF(A2<=10%,5%,7%)

If A2 can be bigger than 20% then perhaps something like this?
..or explain what should happen for >20%
Excel Formula:
=IF(A2<=10%,A1*5%,IF(A2<=20%,A1*7%,"A2 is bigger than 20%"))
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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