Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Compare the Cell between + or - value

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Compare the Cell between + or - value

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.


"Vadhimoo" wrote:

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 123
Default Compare the Cell between + or - value

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


On May 23, 11:56 am, Vadhimoo
wrote:
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.

"Vadhimoo" wrote:
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.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 846
Default Compare the Cell between + or - value

=if(abs(a1-b2)<=2,"True","False")
--
Wag more, bark less


"Vadhimoo" wrote:

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.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,549
Default Compare the Cell between + or - value


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



"Vadhimoo"

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.
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
FIND / SEARCH text compare cell to string in 3rd cell nastech Excel Discussion (Misc queries) 0 October 29th 07 02:51 AM
Compare text string of a cell in Column A VS another cell in Colum Tan New Users to Excel 2 August 1st 07 09:45 AM
Compare text string of a cell in Column A VS another cell in Colum Tan Excel Discussion (Misc queries) 1 August 1st 07 09:03 AM
Compare text string of a cell in Column A VS another cell in Colum Tan Excel Worksheet Functions 1 August 1st 07 09:01 AM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM


All times are GMT +1. The time now is 07:06 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"