Using Find and using delete set of rows you can delete rows that contain certain content.
Is it possible to select and delete a group of rows that looks similar?
Take this excel file for instance. I want to delete all rows that are similar to 1576 to 1578, because there are many tables that has these values and I would like to get the "Mean" row right below "Dislike -B" row
Assuming Total is in ColumnA, I think in Row2 of a spare column and copied down:
=OR(RIGHT(B2)="_",A1="Total",A2="Total")
will give you a flag to filter on to select rows for deletion.
Related
So I have to clean data where from a given range of rows maybe 2 or 3 are exact same, rest have at least one column different. I need a way to find it out as I don't want to do it manually. I've tried conditional formatting but that only works with columns.
In the image you can see rows 550:569 a few of them are exactly same. How do I highlight or find out that. I don't want to manually check each column
enter image description here
Insert a column (let's say column AG) where you put a formula like =TEXTJOIN(",",TRUE,A2:AF2)
Sort the range per the new column
Eliminate duplicate using Excel's Remove Duplicate tool.
I have one array of zeros and ones in one row like this:
But I want to rearrange them to look like this, every 5 bits in one row:
with Office 365:
=INDEX($1:$1,SEQUENCE(INT(COUNT($1:$1)/5),5))
The result will spill.
with older versions use:
=INDEX($1:$1,((ROW($ZZ1)-1)*5)+COLUMN(A$1))
Copy over five columns and down till you get all 0
Copy each set of cells that you want to rearrange from row to column format, special paste and make sure to check the box "transpose".
I have a txt imported table (few columns, roughly 3k rows) however it has some empty rows (entirely). I want, with use of formula only, to create a copy of this table without those empty rows. It this possible? If it is, how?
The formula from https://stackoverflow.com/a/23013689/1544886 may help, provided of course you change the "yes" to "" and adjust for the number of columns.
=IFERROR(INDEX(Sheet1!B:B,SMALL(IF(Sheet1!$A$2:$A$7="",ROW(Sheet1!$A$2:$A$7)),ROW()-ROW($A$2)+1)),"")
Good Morning,
I have a spreadsheet with 40,000 products and a spreadsheet with 35,000 products all with item ID's
Is there anyway I can add in the missing 5,000 ITEM ID's using a forumla? I dont want to manually go through each item and see what is missing
Thank you very much for your time and help
Cheers
If ColumnA holds the unique ID's in each sheet please try:
=COUNTIF(Sheet1!A:A,A1)
in Sheet2 and
=COUNTIF(Sheet2!A:A,A1)
in Sheet1, both copied down to suit.
Then sort both on the results of these columns and copy those that result in 0 from one sheet to the other to ensure complete sets in both sheets and to check whether either sheet has duplicates.
next to column "A" in your longer list, put a formula in cell B1 assuming your data starts from A1:
=if(isna(VLOOKUP(A1,**column A of first shorter list**,1,false)),"Missing","Exists")
and populate down until the end of the list, the entries reading "missing" are the ones that are missing from the first list.
I assume your list of source IDs lays in Sheet1!A2:A40001, row 1 is for headers. The target IDs are in Sheet2!A2:A35001
Detect which are missing.
Use the following formula in Sheet1!B2:
=MATCH($A2,Sheet2!$A$2:$A$35001,0)
Copy down to Sheet1!B2:B40001.
Filter out those already present.
Select row Sheet1!1:1. Use Data -> Filter. Go to the drop-down arrow in cell B1, and select only #N/A.
Copy those missing.
Select all values shown in column Sheet1!A:A. Copy, and paste below the last value in column Sheet2!A:A.
It is easy to figure out how to do the same if you have adjacent columns with relevant data that you want to copy as well.
I have a list of names in one column in sheetA. I want to copy the duplicate names from sheet A to sheet B and also provide a count of those duplicate names beside each copied name in sheet B.
I’m guessing it is ‘manually’ so would suggest a helper column in sheetA with =COUNTIF(A:A,A1) copied down (assuming your list of names starts in A1. For each row this should count the number of rows that contain that row’s name.
Copy ColumnA:B into your sheetB with Paste Special Values, then use Data > Data Tools – Remove Duplicates and filter and delete all rows with 1 in the count column.
easiest method I can think of would be a pivot table, rows=names, columns=count of names, filter table for counts greater than 0? then when you want to run a fresh report, past in the original information and refresh the table?
Probably way too late to be helpful, but maybe for the next person...