Loop through rows and compare values in Excel [closed] - excel

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How would I go about looping through a row of values to see whether or not the row is a duplicate of another row, and then remove the duplicate? For example, in the below screenshot the duplicate rows would be 1 & 8, 2 & 9. I would want to keep 1 and 2 and just remove rows 8 and 9.

Use Remove Duplicates within the tool bar at the top of excel, this allows you to remove duplicate entries but keep the first record found. See here for more information.

Related

Count Data from Excel when one cell had array data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have some data in excel and i want to count of data, as simple as that..
I'm using countif/countifs but return number was wrong..
I want to return count of data from B3:B10 and the criteria is C3
Here's data :photo
To count the number of cells that contain at least one instance of 111111 use:
=COUNTIF(B3:B10,"*" & C3 & "*")
To count the number of times 111111 occurs, use:
=(LEN(TEXTJOIN(",",TRUE,SUBSTITUTE(B3:B10," ","")))-LEN(SUBSTITUTE(TEXTJOIN(",",TRUE,SUBSTITUTE(B3:B10," ","")),C3,"")))/LEN(C3)

Add suffix in excel for conditional list [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to add suffix ')' in all the cells in excel which are in '(XXX' format.
Example:
Data: (1123 (212 254 123 (124 (12
desired: (1123) (212) 254 123 (124) (12)
Thanks,
Srinivas K.
Create a row or column next to your data, depending on how it's laid out, and use:
=IF(AND(LEFT(A1,1) = "(", RIGHT(A1,1) <> ")"),CONCAT(A1,")"),A1)
Where A1 is your first cell of data you wish to manipulate, then drag down or across for all valid cells.

Excel Number Separation [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Need help on make excel number format to a list of numbers.
For example:
1-3
to become below on different rows.
1
2
3
If anyone could help
A solution with a formula only:
We assume that A1=1-3. Fill the following formula into A2 and copy it down.
=IF(A1<>"",IF(ISNUMBER(A1),IF(A1+1<=VALUE(RIGHT(A$1,LEN(A$1)-FIND("-",A$1))),A1+1,""),VALUE(LEFT(A$1,FIND("-",A$1)-1))),"")
The result will be
1
2
3
This works for any numbers devided by -.

Numbering a column of mixed items [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have a column with multiple labels that I need to number. eg:
A|1
B|1
C|1
A|2
B|2
B|3
C|2
A|3
A|4
So each A gets listed 1 through 4 even though there are Bs and Cs in between. The Bs and Cs also need to get numbered.
If the first letter is in A2, place this formula in B2 and copy down to the last letter:
=COUNTIF(A$2:A2,A2)
What this does is place the count of all the prior occurrences of the letter on the current row (including the current row) in the cell.

How to delete the columns except the first three columns? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a worksheet where after all the operations are done I want to clear all the contents except in first three columns (A, B, C).
Is it possible to achieve using VBA?
To remove formula and values use:
Range("D:XFD").ClearContents
To remove formula, values and formatting, use:
Range("D:XFD").Clear

Resources