ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to set an alarm when there is a difference between cells? (https://www.excelbanter.com/excel-worksheet-functions/141701-how-set-alarm-when-there-difference-between-cells.html)

Khaledity

How to set an alarm when there is a difference between cells?
 
Hi,

I need your help to make a formula gives me alert when the difference
between 3 cells is more that 1 point!

For example: If A1=1, A2=2, and A3=3 then this is fine,
But if A1=1, A2=2, and A3=4 so I want to see an alarm on A3 when the
difference between A1, A2 & A3 is more than 1

Thanks in advance.

Khaledity


Sandy Mann

How to set an alarm when there is a difference between cells?
 
If you mean for Conditional Formatting then try:

=MAX(A1:A3)-MIN(A1:A3)2

If you mean to show an error message in a cell then try:

=IF(MAX(A1:A3)-MIN(A1:A3)2,"Too Big!","")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Khaledity" wrote in message
ups.com...
Hi,

I need your help to make a formula gives me alert when the difference
between 3 cells is more that 1 point!

For example: If A1=1, A2=2, and A3=3 then this is fine,
But if A1=1, A2=2, and A3=4 so I want to see an alarm on A3 when the
difference between A1, A2 & A3 is more than 1

Thanks in advance.

Khaledity




Teethless mama

How to set an alarm when there is a difference between cells?
 
=IF(A2-A1=A3-A2,"","more than 1")

"Khaledity" wrote:

Hi,

I need your help to make a formula gives me alert when the difference
between 3 cells is more that 1 point!

For example: If A1=1, A2=2, and A3=3 then this is fine,
But if A1=1, A2=2, and A3=4 so I want to see an alarm on A3 when the
difference between A1, A2 & A3 is more than 1

Thanks in advance.

Khaledity



Sandy Mann

How to set an alarm when there is a difference between cells?
 
"Teethless mama" wrote in message
...
=IF(A2-A1=A3-A2,"","more than 1")


With the OP's data yes but what if the values are A1=4, A2=5 & A3=5?

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk




All times are GMT +1. The time now is 12:43 PM.

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