Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jim
 
Posts: n/a
Default Difference between Cells

I would like to calculate the difference between two cells. For example:

A B C
Amy J Hespen Amy Hespen Amy Hespen
Andrew Fries Andrew Fries

In C I would like for the B name to appear if it is different from A. If
the name in B is the same as in A, then I would like for the C cell to remain
blank.

Any help and thanks

  #2   Report Post  
Mladen_Dj
 
Posts: n/a
Default Difference between Cells

Use IF formula vith EXACT function:

=IF(EXACT(A1,B1),"",B1)

"Jim" wrote in message
...
I would like to calculate the difference between two cells. For example:

A B C
Amy J Hespen Amy Hespen Amy Hespen
Andrew Fries Andrew Fries

In C I would like for the B name to appear if it is different from A. If
the name in B is the same as in A, then I would like for the C cell to
remain
blank.

Any help and thanks



  #3   Report Post  
hideki
 
Posts: n/a
Default Difference between Cells


Is this what you want?

Let say you have data in A1 and B1. In C1 write this formula
=IF(A1=B1,"",B1)

This formula means, if you have A1=B1 then write blank. If A1 not B1
then write B1 to the C1.


--
hideki
------------------------------------------------------------------------
hideki's Profile: http://www.excelforum.com/member.php...o&userid=18903
View this thread: http://www.excelforum.com/showthread...hreadid=479752

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
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
Fill cells from non-adjacent cells Abes Excel Discussion (Misc queries) 2 March 25th 05 01:15 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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