conditional formatting result of formula

Kim B

Board Regular
Joined
Jun 16, 2008
Messages
233
Office Version
  1. 365
Hello. I want to apply a conditional formatting icon but the tricky part is the cell that receives the formatting isn't the result of the formula.

Excel Workbook
CDE
41/1/19912640
Sheet1


the difference result if 40-26 is 14 the conditional formatting needs to be applied against the result of 14 being less than, greater than, or equal to a value. So if the result is less than 5 then i would want a yellow icon.

Not sure it can be done without a result column, but thought I would give it a shot

thanks in advance
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
You need to choose to have your conditional formatting by a formula rule.

Then paste this formula

=$E$4-$D$4<5

You then only need to modify your format for what you want.

So, for your answer, why couldn't you do it without a result column?
 
Upvote 0
Because under the edit format rule, I can't give it a formula, the box wants a value, unless I am in the wrong place to begin with?
Excel Workbook
ABCDE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Sheet1
 
Upvote 0
The screen shot didn't come through correctly. The icon conditional formatting wants a value to apply the formatting to, I can't type in a formula. If I change to format based on formula, I can type in a formula, but then my formatting selection goes away for icons.
 
Upvote 0
Icon sets can only be applied to the cells containing the values, not to other cells.
 
Upvote 0
ok thank you, then maybe you can suggest some other kind of formatting. I have included more data to help. A color would appear for each value that is less then 5 years left, less than 7 years left, less than 10 year left less than 15 years left and greater than 40. Each statement is indicative of itself. So if a value is 26, it would be the color of less than 15...

Excel Workbook
DE
42640
52740
63140
7940
81640
9340
101640
Sheet1
 
Upvote 0
So if a value is 26, it would be the color of less than 15...
26 < 15?

Aside from that,

Conditional Formatting, Use a Formula

=Me < 5, pick a color, tick Stop if True
=Me < 10, pick a color, tick Stop if True
=Me < 15, pick a color, tick Stop if True

Replace Me with the address of the cell in which it appears.
 
Upvote 0
Sorry for the confusion, it is so simple, it is confusing. The difference between 40 and 26 is 14, that is what is left. The interpretation is if item has a useful life of 14 years left, it is 26 years old as of now. But the measurement is not how old it is now, but how many years until it has maxed out.
 
Upvote 0
No matter; the cells are formatted based on their values. You can figure out what those values are and then proceed as suggested, no?
 
Upvote 0
Doesn't seem to be working.

Excel Workbook
DEF
42640
52740
63140
7940
81640
9340
101640
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E41. / Formula is =$F$4-$D$4<5Abc
E42. / Formula is =$F$4-$D$4<7Abc
E43. / Formula is =$F$4-$D$4<10Abc
E44. / Formula is =$F$4-$D$4<15Abc
E45. / Formula is =$F$4-$D$4<1Abc
E51. / Formula is =$F$4-$D$4<5Abc
E52. / Formula is =$F$4-$D$4<7Abc
E53. / Formula is =$F$4-$D$4<10Abc
E54. / Formula is =$F$4-$D$4<15Abc
E55. / Formula is =$F$4-$D$4<1Abc
E61. / Formula is =$F$4-$D$4<5Abc
E62. / Formula is =$F$4-$D$4<7Abc
E63. / Formula is =$F$4-$D$4<10Abc
E64. / Formula is =$F$4-$D$4<15Abc
E65. / Formula is =$F$4-$D$4<1Abc
E71. / Formula is =$F$4-$D$4<5Abc
E72. / Formula is =$F$4-$D$4<7Abc
E73. / Formula is =$F$4-$D$4<10Abc
E74. / Formula is =$F$4-$D$4<15Abc
E75. / Formula is =$F$4-$D$4<1Abc
E81. / Formula is =$F$4-$D$4<5Abc
E82. / Formula is =$F$4-$D$4<7Abc
E83. / Formula is =$F$4-$D$4<10Abc
E84. / Formula is =$F$4-$D$4<15Abc
E85. / Formula is =$F$4-$D$4<1Abc
E91. / Formula is =$F$4-$D$4<5Abc
E92. / Formula is =$F$4-$D$4<7Abc
E93. / Formula is =$F$4-$D$4<10Abc
E94. / Formula is =$F$4-$D$4<15Abc
E95. / Formula is =$F$4-$D$4<1Abc
E101. / Formula is =$F$4-$D$4<5Abc
E102. / Formula is =$F$4-$D$4<7Abc
E103. / Formula is =$F$4-$D$4<10Abc
E104. / Formula is =$F$4-$D$4<15Abc
E105. / Formula is =$F$4-$D$4<1Abc
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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