ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cells turn colors if greater than specified values or pop up remin (https://www.excelbanter.com/excel-discussion-misc-queries/181079-cells-turn-colors-if-greater-than-specified-values-pop-up-remin.html)

hmsawyer

Cells turn colors if greater than specified values or pop up remin
 
I already have the following formula in this cell but I also want to add that
if the sum is greater than or equal to 4, it will turn red and/or have a pop
up message. Any help is appreciated!

=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),E3:CE3)

Mike H

Cells turn colors if greater than specified values or pop up remin
 
Format|Conditional format
Select cell value is
4

Pick a colour
Click OK

Mike

"hmsawyer" wrote:

I already have the following formula in this cell but I also want to add that
if the sum is greater than or equal to 4, it will turn red and/or have a pop
up message. Any help is appreciated!

=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),E3:CE3)


Mike H

Cells turn colors if greater than specified values or pop up remin
 
I never checked you formula before my previous post but it will be very
unusual for it ever to be <4 because your summing dates. Also your ranges are
different lengths. Could you really mean

=COUNTIF(C3:CE3,"="&DATE(YEAR(TODAY()),MONTH(TODA Y())-6,DAY(TODAY())))

or possibly
=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),C4:CE4)

Mike

"hmsawyer" wrote:

I already have the following formula in this cell but I also want to add that
if the sum is greater than or equal to 4, it will turn red and/or have a pop
up message. Any help is appreciated!

=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),E3:CE3)


hmsawyer

Cells turn colors if greater than specified values or pop up r
 
I acutally have a vlookup formula in it, so it is returning a point value
based on the date. Your first suggestion worked. Thanks so much!

"Mike H" wrote:

I never checked you formula before my previous post but it will be very
unusual for it ever to be <4 because your summing dates. Also your ranges are
different lengths. Could you really mean

=COUNTIF(C3:CE3,"="&DATE(YEAR(TODAY()),MONTH(TODA Y())-6,DAY(TODAY())))

or possibly
=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),C4:CE4)

Mike

"hmsawyer" wrote:

I already have the following formula in this cell but I also want to add that
if the sum is greater than or equal to 4, it will turn red and/or have a pop
up message. Any help is appreciated!

=SUMIF(C3:CE3,"=" & DATE(YEAR(TODAY()),MONTH(TODAY())-6,DAY(TODAY())),E3:CE3)



All times are GMT +1. The time now is 06:25 AM.

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