Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Finding Info from Column A and Removing it from Column B

Hey guys, i was wondering if there was a way to find information from "Column
A" and remove it from "Column B"

For Example

| Column A | Column B |
| 1 | 1 |
| 3 | 2 |
| 5 | 3 |
| 6 | 4 |
| 8 | 5 |
| 9 | 6 |

into

| 1 | |
| 3 | 2 |
| 5 | |
| 6 | 4 |
| 8 | |
| 9 | |

or somehow use a Column C to Identify the rows that repeat column A info in
Column B.

For example:?

| 1 | 1 | 1 |
| 3 | 2 | |
| 5 | 3 | 3 |
| 6 | 4 | |
| 8 | 5 | 5 |
| 9 | 6 | 6 |

THANKS!

johnny b
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding Info from Column A and Removing it from Column B

One way to get both result sets easily ..

Assume data in cols A and B, from row2 down

In C1:
=IF(ISNUMBER(MATCH(B2,A:A,0)),"",B2)

In D1:
=IF(ISNUMBER(MATCH(B2,A:A,0)),B2,"")

Select C1:D1, copy down to last row of data in col B. Col C returns only
items in col B not found in col A (your 1st result set), while col D returns
the other way round, ie only items in col B found in col A (your 2nd result
set). Just copy either col C or D as desired, then overwrite the source col B
with a paste special as values.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Johnny B" wrote:
Hey guys, i was wondering if there was a way to find information from "Column
A" and remove it from "Column B"

For Example

| Column A | Column B |
| 1 | 1 |
| 3 | 2 |
| 5 | 3 |
| 6 | 4 |
| 8 | 5 |
| 9 | 6 |

into

| 1 | |
| 3 | 2 |
| 5 | |
| 6 | 4 |
| 8 | |
| 9 | |

or somehow use a Column C to Identify the rows that repeat column A info in
Column B.

For example:?

| 1 | 1 | 1 |
| 3 | 2 | |
| 5 | 3 | 3 |
| 6 | 4 | |
| 8 | 5 | 5 |
| 9 | 6 | 6 |

THANKS!

johnny b

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Finding Info from Column A and Removing it from Column B

Sorry, some typos in earlier response just detected:

C1, D1 should have read as C2, D2

(trust above was obvious <g)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Finding Info from sheet 1 and removing only those rows from sheet Johnny B[_2_] Excel Discussion (Misc queries) 1 March 28th 07 02:29 PM
Finding info of one column and removing it from another Johnny B[_2_] Excel Discussion (Misc queries) 9 March 19th 07 09:19 PM
Finding/Removing Duplicate Numbers In A Column ? Robert11 New Users to Excel 3 November 26th 06 10:48 PM
Finding the closest number in column A and take the value in column B reefguy Excel Worksheet Functions 3 May 5th 06 07:25 PM
Link info in one cell to info in several cells in another column (like a database) hansdiddy Excel Discussion (Misc queries) 1 February 22nd 06 02:27 AM


All times are GMT +1. The time now is 07:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"