Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Compare column with nested if

Hi,
I have the results I want with my formula, but would like to know if maybe
it could be done in another way. The situation is as follows.
I am comparing 3 columns in which all 3 data must match. The moment one of
the data does not match I want a message that tells me so, otherwise OK.
My data is in column C, D and E.
My formula is: =IF(C3=D3,IF(D3=E3,IF(C3=E3,"OK","C is not equal to E"),"D is
not equal to E"),"C is not equal to D")
Appreciate your valuable feedback.
Thanks & Regards, Lupe
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Compare column with nested if

You don't need to test for C3=E3, because you wouldn't have got there unless
C3=D3 and D3=E3.
--
David Biddulph

"Lupe" wrote in message
...
Hi,
I have the results I want with my formula, but would like to know if maybe
it could be done in another way. The situation is as follows.
I am comparing 3 columns in which all 3 data must match. The moment one of
the data does not match I want a message that tells me so, otherwise OK.
My data is in column C, D and E.
My formula is: =IF(C3=D3,IF(D3=E3,IF(C3=E3,"OK","C is not equal to E"),"D
is
not equal to E"),"C is not equal to D")
Appreciate your valuable feedback.
Thanks & Regards, Lupe



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
Maddening Dilemma - Compare each cell within column a to each cell in column b and find unique matches [email protected] Excel Worksheet Functions 66 May 1st 23 03:44 AM
How do I compare string values in one column to another column? Nick N. Excel Worksheet Functions 1 April 29th 06 02:56 AM
Compare one Column to a Second Column Formula Help Needed jeffc Excel Worksheet Functions 1 April 13th 06 03:23 PM
compare the first column and concatenate the second column smb2000user100 Excel Worksheet Functions 0 April 22nd 05 07:12 PM
How Do I created a nested sumif - if this column has this and thi. Gita Mooney Excel Worksheet Functions 5 November 1st 04 04:18 PM


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