request formula

A

Ann

I have a list of data points such as 1,2,4,14 and I need to have a column
that finds each time the data points move by an absolute value of 5.
tia
 
R

Rick Rothstein \(MVP - VB\)

Your question is not clear as to whether you want to mark differences that
are exactly 5 or 5 or greater. If exactly 5, use this formula...

=IF(ABS(A2-A1)=5,"X","")

If 5 or more, use this formula...

=IF(ABS(A2-A1)=>5,"X","")

Rick
 
A

Ann

i want exactly 5, thanks!

Rick Rothstein (MVP - VB) said:
Your question is not clear as to whether you want to mark differences that
are exactly 5 or 5 or greater. If exactly 5, use this formula...

=IF(ABS(A2-A1)=5,"X","")

If 5 or more, use this formula...

=IF(ABS(A2-A1)=>5,"X","")

Rick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top