Conditional formating.

Patb3

New Member
Joined
Jul 5, 2020
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
I need a formula to accomplish the following.: If b5=D17 or F17 , then E17 =0% if b5=D18 or F18,then E18=38%. If b5 =D19 or F19, then E19=55% etc for 13 different values.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Patb3,

Without knowing how the percentage is calculated then all I can provide is a column of values to be selected.

Book2
BCDEFGH
577
16
175 70
1859 6138
19116 11855
20176 17877
217762%7762
22143 1432
23212 2124
24779%2849
25152 35926
2623087%7787
27311 15888
28395 24244
297725%32925
Sheet1
Cell Formulas
RangeFormula
E17:E29E17=IF(OR($B$5=D17,$B$5=F17),H17%,"")
 
Upvote 0
Welcome to the MrExcel board!

I need a formula to accomplish the following.: If b5=D17 or F17 , then E17 =0% if b5=D18 or F18,then E18=38%. If b5 =D19 or F19, then E19=55% etc for 13 different values.
This sounds like you want a value displayed somewhere in column E depending on the values in columns D & F.
What, if anything, does it have to do with Conditional Formatting which is the title of your thread?

Can you use XL2BB to give us some sample data and expected results and explain further in relation to that sample data?
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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