ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Removing unwanted data in a column (https://www.excelbanter.com/excel-discussion-misc-queries/86177-removing-unwanted-data-column.html)

nate2345

Removing unwanted data in a column
 
Hi Guys,

Lets say A1 - A20 were numbered 1 through 20. And B1 - B10 contained random
numbers between 1 - 20. How can I create a rule that will tell Column A to
remove any of its numbers that are found in Column B?

I appreciate your assistance!
--
thanks,
Nate

Ardus Petus

Removing unwanted data in a column
 
In column C, enter:
=COUNTIF(B$1:B$10,A1)0
and copy down

Then you can remove all numbers from column A that have TRUE in col. C

HTH
--
AP

"nate2345" a écrit dans le message de
news: ...
Hi Guys,

Lets say A1 - A20 were numbered 1 through 20. And B1 - B10 contained
random
numbers between 1 - 20. How can I create a rule that will tell Column A to
remove any of its numbers that are found in Column B?

I appreciate your assistance!
--
thanks,
Nate





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com