Compare the Cell between + or - value

V

Vadhimoo

Dear All,
Good evening, I need to compare(look up ) the value in cell A and cell B
(plus or minus of the value in cell A) and put the result in cell c "false "
or "true"

Ex :

Cell A Cell B Cell C
10 12 True

12 20 false

18 16 true

25 30 false


Please help me in this situation, we need to compare thousand of lines in
every day.

Thanks and Regards,
Vadivelan Adhimoolam.
 
V

Vadhimoo

Dear All,
Good evening, I need to compare(look up ) the value in cell A and cell B
(plus or minus 2 of the value in cell A) and put the result in cell c
"false "
or "true"

Ex :

Cell A Cell B Cell C
10 12 True

12 20 false

18 16 true

25 30 false


Please help me in this situation, we need to compare thousand of lines in
every day.

Thanks and Regards,
Vadivelan Adhimoolam.
 
R

Reitanos

It sounds like you need an IF:
=IF(OR(ABS(A2-B2)<=2,ABS(A2-B2)<=2),"True","False")
 
J

Jim Cone

=ABS(A2-B2)<=2
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Vadhimoo"
<[email protected]>
wrote in message
Dear All,
Good evening, I need to compare(look up ) the value in cell A and cell B
(plus or minus of the value in cell A) and put the result in cell c "false "
or "true"
Ex :
Cell A Cell B Cell C
10 12 True

12 20 false

18 16 true

25 30 false
Please help me in this situation, we need to compare thousand of lines in
every day.
Thanks and Regards,
Vadivelan Adhimoolam.
 

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