lkconcepts
New Member
- Joined
- Oct 12, 2018
- Messages
- 2
I am looking to create a spreadsheet to analyze another formatted spreadsheet. There is a list of names and I need to count how many times those names appear. I am arranging formulas on sheet 1 to draw information from sheet 2, so that if I paste a database from Oracle onto A1 of sheet 2 then sheet 1 will populate all of the metrics I need. The point I am having difficulty is in condensing a list of names so that I can automate the counting.
Column A is 40,000 names, which I pulled from sheet 2 with a TRIM function and extended the formula down 40,000 cells. I did this because our database has trailing spaces. I would like column B to be a formula to pull one of each instance of the name. It is easy to do manually with an advanced filter, but I am hoping there is a formula that can be used to the same effect, so I don't have to teach other people how to use advanced filter every time we analyze these databases. This would allow me to set up column C as a COUNTIF, taking the name from the condensed list in column B.
It should look something like this:
<tbody>
</tbody>
Thank you!
Column A is 40,000 names, which I pulled from sheet 2 with a TRIM function and extended the formula down 40,000 cells. I did this because our database has trailing spaces. I would like column B to be a formula to pull one of each instance of the name. It is easy to do manually with an advanced filter, but I am hoping there is a formula that can be used to the same effect, so I don't have to teach other people how to use advanced filter every time we analyze these databases. This would allow me to set up column C as a COUNTIF, taking the name from the condensed list in column B.
It should look something like this:
Raw Names | Condensed Names | Qty |
A | A | 4 |
A | B | 3 |
A | C | 1 |
A | ||
B | ||
B | ||
B | ||
C |
<tbody>
</tbody>
Thank you!