I have a combo box with a list of vendors. The problem is that a vendor can appear more than once. The list of vendors is dynamic so new vendors can be added and still appear in the combo box but how can I get the combox box list to only recognize the vendor name once so I don't have multiple duplicate vendors showing in the list?
I have a list of names and an associating number with those names. I'd like to create a dynamic top 10 list, but my problem is that I have duplicate values, here's a sample:
[Code].....
I tried to use LARGE and INDEX to create a top ten list like this:
=LARGE(Names,ROW(1:10))
=INDEX(Names,MATCH(T2,Count,0),1)
But, when the list comes out, it shows only the first entry with a duplicate result:
[Code] ....
How I can get it to grab the second "Name" with the same value as the first?
I have conditional formatting set to hilight duplicates, but I a, wonder if there is a way to exclude special characters (in this case specifically dashes).
I have a large list of items and have set up some dynamic drop down lists but need to know if/how to make these lists only show each item once and therefore ignore any duplicates.
From a list of data in a column (which will be containing duplicate values), is there a way of producing a list containing no duplicates, for use in a userform combobox?
I am currently using the following to populate the choices in my ComboBox:
For Each rngX In Range("Watchlist_Source_Menu").Cells If Len(rngX.Value) > 0 Then ComboBox2.AddItem rngX.Value End If Next
The range "Watchlist_Source_Menu" is p4:p104. It works fin but if there are duplicates in that range it duplicates the choices in the ComboBox. Is there a way that I can only show unique choices and show them alphabetized in the combo box upon intializing the userform?
I need to add items to a combobox without adding duplicates or empty data. I am able to add without empty data but how to ignore the duplicates.
Here is what I have...
Code: Dim GL As Range Dim ws1 As Worksheet Set ws1 = Worksheets("Main") For Each GL In ws1.Range("MainGL") If IsEmpty(GL) Then 'do nothing Else ComboBox2.AddItem GL.Value End If Next GL
In short, I would like a pivot table to only count unique values, but when I click into the pivot I would like to show all instances of that value. For example:
I have a table of data that I am creating a pivot table from. There are fields for Customer ID, Task Name, Age, and Notes. There will be multiple records for a single Customer ID each time it has new notes.
I would like to create a pivot table that has Task Name in the Row Labels, Age in the Column Labels, and count of Customer ID in the Values, so that, for example, I can see how many accounts have been in the Design task for 2 days. However, when I do this it counts each record, but I would like it to count each unique Customer ID. Also, when I click into the pivot, instead of pulling up one line per Customer ID, I would like it to pull up each instance of Customer IDs in that Task Name/Age combination (similar to doing a DISTINCT in SQL).
I have a list of isometric drawing numbers ending with a [underscore]weld number e.g. 1692-SG-0040-04_05.
Some welds are repaired--in that scenario the amended weld number will be 1692-SG-0040-04_05R1, and even 1692-SG-0040-04_05R2 if repaired for a second time.
On occasion a weld may be cut out entirely and a new weld done. The weld number for that will be 6317-FG-1690-02_06C1.
And here's a wrinkle I've just verified...a cut weld may also be repaired so the weld number will look like 1698-SG-0077-01_04C1R1.
Is there a formula to count these as one weld: 1692-SG-0040-04_05 1692-SG-0040-04_05R1 1692-SG-0040-04_05R2
This as one weld: 6317-FG-1690-02_06 6317-FG-1690-02_06C1 6317-FG-1690-02_06C2
...and this as one weld: 1698-SG-0077-01_04 1698-SG-0077-01_04C1 1698-SG-0077-01_04C1R1
I am having trouble creating a function to count duplicates of duplicates.
An example of the data table 1 is:
Product 1 2nd Product 1 2nd Product 1 New Product 1 New Product 1 Flt Product 2 2nd Product 2 New Product 2 New Product 2 Flt Product 2 Flt Product 3 2nd Product 3 2nd Product 3 2nd Product 3 New Product 3 Flt
I created a new table (table 2) and made a list of all the Products on table 1 and removed the duplicates. I now have 3 columns with titles New, 2nd and Flt as follows:
New 2nd Flt Product 1 XX XX XX Product 2 XX XX XX Product 3 XX XX XX
I am trying to count the duplicates for each product (XX), but I can't seem to work it out. I've tried the MS help function, but unsure of the actual formula I need to be using.
Am trying to get dynamic population of 2nd combobox based on match from criteria in combobox 1.
if column a = bears and column b = colours of bears then
when I select bears in combobox one, combobox 2 would populate with colors of bear.
I am think of having a combobox 1 change event that evaluates each row in a specific range (does it match the criteria?) if so, then add 2nd cell (column b) of that row to the combobox 2.
I know it would probably involve match and offset, add item and loop, but I am not sure what the syntax is.
I need to populate two combo boxes from excel sheet, the data will be like below:
Column A Column B A 1 A 2 A 3 A 4 A 5 B 100 B 101 B 102
So from the above data, one combo box should hold unique values A & B.
On selecting a value from the 1st combo box A or B, respective values should be populated in 2nd combo box.
So the data should be like below:
If A is selected in the 1st combo box, then 2nd combo box should only show the values 1,2,3,4 & 5. If B is selected in the 1st combo box, then 2nd combo box should only show the values 100,101 & 102.
Friends I need it in a macro and one important point is, this is dynamic and it is not static and the data can be more.
When I make a comboBox selection from the dropdown menu, the menu stays down until the last statement of the comboBox code is finished. How do I make the dropdown disappear immediately after the selection is made?
try and achive is when a user selects a item from the 1st Combobox the 2nd Combobox is the populated with the cell that is to the right of the selected item.
for Example if a user selects AAB from combobox1,, Combobox2 should populate with Belly.
I created a UserForm then linked ComboBox1 to range A2:A, TextBox2 to range E2:E, and ComboBox3 to range M2:M of the same worksheet, named Sheet3. The row contents in Column A, Column E, and Column M are associated. Therefore, when the UserForm is active I want to be able to select a row from Column A in ComboBox1 and have the UserForm pull the contents from the same row of Column E into TextBox2, and Column M into ComboBox3. Here is what I have so far, but its not quite doing it.
Code: Private Sub UserForm_Initialize() Sheets("Sheet3").Activate Dim ColARange As Range
I have a table, headers "FirstName" and "SurName".
Further a Userform with 2 Comboboxes "FirstName" and "SurName"
I'd like to choose the FirstName (say Jack) in the "FirstName" combobox, and based on that get the choice of the Surnames of all my Jacks in the "SurName" combobox.
Actually my sheet has much more fields and comboboxes, but i think my problem is just that I do not find a way to populate them dynamically.
I have a column I want to average however it contains zero's and #DIV/0 entries in it.
Those entries are from linked sheets that have not been populated and are supposed to be there. I want to average the column that contains these values but want the values excluded from the calculation until they are populated with real numbers.
I have rows of data with numbers and these #DIV/0! errors. I need a sum formula so when going through the entire row it will ignore these errors, at the moment as they are included in my sum formula the total is also giving me #DIV/0!
I have managed to get it almost done with lots of help from here the last issue I have is this:
The module I want transferred is working the assigning of the macro within that module to the button is working, however, when it gets to the FillSalesSheet section it opens the said workbook but then jumps to the module and the FillSalesSheet in that.
Module 1 which I would like ignored on the newly formed workbooks looks like this: ...
I have stacked formulas that look for values via vlookup and index match functions.
Sometimes the worksheet will have ( 100 ) separated into 3 columns (open parenthesis, number, closed parenthesis) and the formula will pull the first column containing the parenthesis. How can I write the formula to ignore the "(" and get to the "100"?
The formula uses ISERROR to move forward, could I incorporate ISNUMBER also or is there a better way to do this?
I am using a simple SUM formula like this, =SUM(D10:E10). I would like for the SUM cell to be left blank until a value is entered into the cells D10. Currently it calculates the SUM as 0.
If I have a formula which adds the value of each day of the week and divides by 7 to get an average per day, how do i fix it to get an average if their is a holiday so their would only be 6 days without changing the formula as the holidays could change from week to week by province. =(a+b+c+d+e+f+g)/7 what happens if "e" is a holiday and I need to divide by 6, or in the case of xmas if "d and e" are holidays and I need to divide by 5?
I'm trying to average a column range range =AVERAGE(A5:A29) that has blank cells not yet populated and also cells with formulas that contain the #DIV/0! error.
Obviously the cell with my formula produces the #DIV/0! error when it tries to average this range. Can someone point me in the right direction so the formula =AVERAGE(A5:A29) will work?
The only thing is, if only one cell contains a number other than 0 (eg. 1,2 or 3) then it returns #N/A. Ideally i'd like it to show the appropriate response for the number that is in the number range. For example - if one cell shows the number 2 and the rest are 0's, i'd like it to show Secure(the response for 2) rather than #N/A.
I have a line graph that charts certain data per day in a month.
During the weekend there is no data. The graph however considers the number as zero, and I want it to just "skip" that day and plot the line directly from the friday date to the monday, instead of the line touching zero on saturday's and sundays.
Is it possible to do this? Or am I forced to adapt my table to only include days of the week?
I am a excel novice and can't seem to find a solution to this problem, there's most likely a simple solution. I want to calculate the total of N - M in L only if N is > £0, If I have not got a selling price in N how can I make cell L show blank? I have attached a sample of the sheet.