Linked Questions
17 questions linked to/from Populate unique values into a VBA array from Excel
-1
votes
1
answer
2k
views
calculate the sum of 2 column values in a 3rd column in Excel [duplicate]
Possible Duplicate:
Populate unique values in to VBA array from excel
I need to calculate the sum of 2 (A&B) columns value in a 3rd (C) Column. But I don't want to write the =B1+C1 in every ...
4
votes
4
answers
830
views
Unique values from 1D-array, without iteration
At risk of being of topic, I decided to share some code, Q&A-style. If the general opinion is such that this would be off-topic I'll be happy to delete if need be.
Background
Can we retrieve all ...
0
votes
2
answers
28k
views
Index/Match Function Lookup Array with multiple criteria
I looked but could not find a valid response for this specific circumstance.
I need to write a macro that searches a table for a specific Name (Column A), Material (Column B), and Color (Column C) ...
0
votes
1
answer
4k
views
Merge Data in Excel Range, Removing Blanks and Duplicates
I have a range of cells in Excel that is more than one column wide and more than one row long. Some of the cells are blank. I would like to merge (using VBA) the non-blank cells into a list, remove ...
0
votes
2
answers
8k
views
VBA: adding distinct values in a range to a new range
I have an unsorted list of names in Sheet1, Column A. Many of these names appear more than once in the list.
On Sheet2 Column A I want an alphabetically sorted list of the names with no duplicate ...
1
vote
4
answers
4k
views
How do I extract unique values from multiple columns and use them to populate one column?
I have a large table with lots of data, but what I'm looking at is six columns of that table - the names of people who went on a particular job together. Something like this:
+-------+--------+-------...
0
votes
2
answers
1k
views
Create list of unique values from a range in Excel
I have data (names) spread out in a sheet in Excel. It is in columns A through M.
Some rows have data in every column (A-M), some rows have nothing.
I want to extract a list of every unique value (or ...
0
votes
1
answer
2k
views
Easiest Way to Find and Remove Duplicates?
I have two columns filled with data in an Excel spreadsheet:
Column 1:
A
B
C
D
Column 2:
C
D
E
F
G
Desired Data: A,B,C,D,E,F,G (not A,B,C,D,C,D,E,F,G)
I want to combine the two columns, and remove ...
0
votes
1
answer
2k
views
VB Macros in excel 2016 for Group by multiple columns
I have following input:
I want to write a macro which will group by City first and then with Car number. In the output, I want columns from MIN(start date) to Max(end date) and each row as Unique car ...
0
votes
1
answer
1k
views
How to create a new workbook for each unique value in column and copy corresponding row data plus template
I am trying to automate the creation of a report. I have a workbook with names in column A. I am trying to program a macro that scans through column A, and for each unique name in column A, i would ...
1
vote
2
answers
338
views
Kind of like a reverse pivot in Excel VBA 2007
I have searched and found a number of similar questions (here and elsewhere) but I can't get my head around how to adapt to my needs. Usually I find pivot like Pivot data using VBA and either I can't ...
0
votes
0
answers
286
views
Adding column values to a combo box, but how to skip duplicates?
I really need your help with this as I believe that there is more to this puzzling problem. I am using a basic for loop to grab all of my column values from column A and insert them into my user form ...
0
votes
3
answers
144
views
scattered email list on excel, how to send one email per person? And how to include content of a cell in email body
So I have an excel sheet organized by case that are assigned to emails. Each case is assigned to one email and each email is responsible for more than one case. Emails are not in order, they are ...
-1
votes
1
answer
184
views
Excel VB script find duplicate values in A and copy row with the smallest value in B
I have an Excel sheet where values are in the column A and B. Column A has duplicate values. I need to find the smallest value in column B for a given value in column A, and copy that value into a new ...
0
votes
1
answer
157
views
Compare values of an Array in VBA and don't increment the array or add the value if it is a duplicate
I'm trying to loop through a spread sheet of non consecutive values and read/compare the value to the rest of the values previously read into the array before incrementing the array dimension and ...