IF-Condition coloring cell

Yaerox

I'd like to compare 2 cells (A1 and A2 - both formatted hh:mm) and color one cell, A3, depending on the result of the comparison of A1 and A2.

A1: Hours per day to work: 8

A2: Hours worked: 8

Pseudo Statement

IF (
  A1 = A2,
  "",
  IF ( 
    A1 > A2,
    COLOR_CELL( A3 ),
    IF (
      A1 < A2, 
      COLOR_CELL( A3 )
    )
  )
)

I researched but I only found that you can use conditional formatting. This doesn't seem to help me ... is this possible?

Ron Rosenfeld

You wrote that you could not use conditional formatting because I can't multiple events on one cell using conditional formatting. Note in the screenshot that we have multiple rules applying to cell A3, which is colored according to those rules:

enter image description here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Coloring Text in JTable Cell

From Dev

Datagridview coloring cell

From Dev

Coloring if() condition in exel

From Dev

Excel Cell Coloring using xlsx

From Dev

DataGridView cell coloring throws error

From Dev

Excel VBA - Extremely slow cell coloring

From Dev

IE not coloring :before as table-cell, why?

From Dev

VBA Coloring Bar Charts Based on Cell Color

From Dev

Coloring partial text within cell in Excel

From Dev

Fine Grained Cell Coloring with Excel and .NET

From Dev

JavaFX : Coloring TableView row and formatting the cell text

From Dev

coloring primefaces table cells depending on condition

From Dev

coloring primefaces table cells depending on condition

From Dev

coloring text in a time when condition is fulfilled

From Dev

IF (Condition) and (another condition) increment cell

From Dev

If Cell empty then condition

From Dev

Highlighting cell using if condition

From Dev

How to use python to save dict as a table in PDF with cell coloring?

From Dev

Coloring separate rows based on matching of data in key cell

From Dev

Kendo UI Grid cell coloring in MVC4

From Dev

Coloring a single cell in a JTable when representing Color objects

From Dev

Microsoft Excel cell coloring using values of other cells

From Dev

C# WPF Datagrid coloring a cell with code behind

From Dev

Column Chart with condition-based coloring in R and highcharts

From Dev

VBA Excel - Coloring eacht cell in a row that contains a value based on the value of another cell

From Dev

Add value to cell if condition is meet

From Dev

Custom TableView Cell ,check condition

From Dev

Add formula containing condition to cell

From Dev

EXCEL: change the color of a cell at a condition

Related Related

HotTag

Archive