#1   Report Post  
Posted to microsoft.public.excel.misc
ale ale is offline
external usenet poster
 
Posts: 14
Default Redundant data

Hi!

I need to remove redundant/common data from two different column.
For example, I have columns A and B as follows:

A B
1 7
3 9
4 3
7 1
8

and I'd like to have two more columns, like C and D, containing:

C D
4 9
8

How is it possible to do that?

Thanks a lot,

ale

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 461
Default Redundant data

How good are you with VBA?

Otherwise the only way you can do it is if you allow blank/error cells...
although it is easy to create a macro that matches the values then deletes
the ones that don't match.

For Example, in Cell C1
=IF(ISERROR(MATCH(A1,$B$1:$B$4,0)),A1)
In Cell D1
=IF(ISERROR(MATCH(B1,$A$1:$A$5,0)),B1)

What this well give you is the values that match well show up as errors.
Then you can highlight the columns, press CTRL + G and then select Formulas
and check the Errors box. Then right click on one of the error cells and
click delete and have the cells shift up. If you do this quite often, I can
write a Macro/VBA for you to loop through and automatically do it for you.

"ale" wrote:

Hi!

I need to remove redundant/common data from two different column.
For example, I have columns A and B as follows:

A B
1 7
3 9
4 3
7 1
8

and I'd like to have two more columns, like C and D, containing:

C D
4 9
8

How is it possible to do that?

Thanks a lot,

ale

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
MULTIPLE DATA - How to insert new data into existing data.... Rodorodo Excel Discussion (Misc queries) 0 December 15th 06 11:50 PM
Password redundant through use of cancel Blokeyfella Excel Discussion (Misc queries) 1 February 1st 06 05:00 PM
finding redundant data eternal_cat via OfficeKB.com Excel Worksheet Functions 1 December 8th 05 07:53 AM
Matching a List Containing Redundant Values Rick Hess Excel Discussion (Misc queries) 1 November 26th 04 02:39 PM


All times are GMT +1. The time now is 01:17 AM.

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"