Cleaning a Spreadsheer

Prime88

New Member
Joined
Oct 20, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Afternoon!

This is probably very simple, but I have a large spreadsheet ( 100,000 records ) and I need to remove about 3000 that I have on 2 x different excel sheets..

Without me searching for every single record and removing them, is there a way I can do this quicker?

Thanks in advance!!
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Morning!

How do you know which 3000 rows need to be removed?

Doug
 
Upvote 0
Morning!

How do you know which 3000 rows need to be removed?

Doug
All of them on the smaller spreadsheets, so I have 2 spreadsheets with records on them, and wondered if there is a quicker way to identify them on the large spreadsheet and remove
 
Upvote 0
So if the record is on the smaller and larger spreadsheet, you want to remove it from the larger spreadsheet? If yes, on the larger spreadsheet, you would add a column that identifies the matches, sort them so they are all together, highlight them, and then delete them.

If you could please provide some sample data, I can write the match formula for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data, allowing us to copy/paste it to our Excel spreadsheets to work with the same data you are. As of October 2023, the latest version is 2.1. Instructions on using this tool can be found here: XL2BB Add-in

Note that this board also has a "Test Here” forum. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

Doug
 
Upvote 0
I made up some data...
Book1
ABCDE
1ABCDOn Sheet 2?
2A2B2C2D2TRUE
3A3B3C3D3TRUE
4A4B4C4D4FALSE
5A5B5C5D5TRUE
6A6B6C6D6FALSE
7A7B7C7D7FALSE
8A8B8C8D8FALSE
9A9B9C9D9FALSE
10A10B10C10D10FALSE
11A11B11C11D11FALSE
12A12B12C12D12FALSE
13A13B13C13D13FALSE
14A14B14C14D14TRUE
15A15B15C15D15TRUE
16A16B16C16D16TRUE
17A17B17C17D17FALSE
18A18B18C18D18TRUE
19A19B19C19D19TRUE
20A20B20C20D20FALSE
21A21B21C21D21TRUE
22A22B22C22D22FALSE
23A23B23C23D23TRUE
24A24B24C24D24TRUE
25A25B25C25D25FALSE
26A26B26C26D26TRUE
Sheet1
Cell Formulas
RangeFormula
E2:E26E2=ISNUMBER(MATCH(BYROW(A2:D26,LAMBDA(y,TEXTJOIN("|",TRUE,y))),BYROW(Sheet2!$A$2:$D$13,LAMBDA(x,TEXTJOIN("|",TRUE,x))),0))
Dynamic array formulas.


Book1
ABCD
1ABCD
2A2B2C2D2
3A3B3C3D3
4A5B5C5D5
5A14B14C14D14
6A15B15C15D15
7A16B16C16D16
8A18B18C18D18
9A19B19C19D19
10A21B21C21D21
11A23B23C23D23
12A24B24C24D24
13A26B26C26D26
Sheet2

The TRUE/FALSE values could be sorted and then all the TRUE values could be highlighted and deleted. You will likely have to convert the formulas to values (Copy, Paste Special, Values) in order to sort because dynamic array formulas do not allow you to sort them.

Hope that helps,

Doug
 
Upvote 0

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,166
Latest member
hokjock

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top