ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I format a cell based on conditions in five different cells (https://www.excelbanter.com/excel-discussion-misc-queries/221644-how-do-i-format-cell-based-conditions-five-different-cells.html)

dallasfinance

How do I format a cell based on conditions in five different cells
 
I want the change the color in a cell that sums five different cells, but the
color (five different colors) will be based on the conditions in each of the
five cells. I have tried conditional formatting/new rule/using formulas to
create format. However, I can't seem to get an if statement to work in the
formula?

Sheeloo[_3_]

How do I format a cell based on conditions in five different cells
 
Suppose you want to format A1 based on B1 (and/or C1) then use a formula like
=B1=15
or
=B110
or
=AND (B110,B1<21)
or
=AND (B110,C120)

You get the idea.

Upto Excel 2003 you can have at most three set of conditions... You can have
3 conditions plus one when none of those three are true.
You can have three more based on cell formatting but those have limitations.


"dallasfinance" wrote:

I want the change the color in a cell that sums five different cells, but the
color (five different colors) will be based on the conditions in each of the
five cells. I have tried conditional formatting/new rule/using formulas to
create format. However, I can't seem to get an if statement to work in the
formula?



All times are GMT +1. The time now is 12:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com