Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default 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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate the difference between two cells jrivel Excel Discussion (Misc queries) 2 October 31st 06 02:08 PM
Getting Difference between two cells Jimmydageek Excel Worksheet Functions 3 February 19th 06 01:23 AM
Difference between Cells Jim Excel Worksheet Functions 2 October 27th 05 01:24 PM
Non-signed Difference between 2 cells cherft Excel Worksheet Functions 6 May 15th 05 08:42 PM
Calculating the difference between cells SheriffCassidy Excel Worksheet Functions 3 February 15th 05 06:30 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"