Assigning Value To Duplicates

Dec 4, 2013

The first column shows the sample data. The second column is what I'm expecting.

How to assign a similar value to the duplicates and the unique ones should have the values in order

605-21501
605-21612
605-21501
605-26123
605-26134
605-21612
605-26195
605-21612

View 10 Replies


ADVERTISEMENT

Data Scrubbing - Identifying Duplicates And Assigning One Number

Feb 11, 2014

I am involved in a software conversion that is taking 4 full time folks over 5 weeks to clean up and assign an alpha-numeric sequential number to each vendor, client. Each scrubber is reviewing an excel spreadsheet containing the names, addresses, FID, telephone, etc. of our vendors and customers. This information is being pulled from 2 separate sources. We are assigning a BP # to the main office location and not retiring that one. then we go on to identifying the dups. All dups get a Y to be retired, but if they have a different address then the main one, we place a Y to bring that address over under that BP#.

Ultimately, we end up with 2 systems combined into one dumping all old numbers assigned and giving each vendors, customers, etc. a new BP# that may have muliptple addresses.

How can we assign a alpha numeric number without going through each individual line...over 900,000 of them to do. Key is to identify duplicate addresses and duplicate names. Some names might be RK Electrical or Robert King Electrical but the address will be duplicated usually.

View 9 Replies View Related

Pivot Table To Not Count Duplicates - But Show Duplicates When Click Into It

Aug 24, 2011

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).

View 3 Replies View Related

Count Duplicates And Duplicates With Suffix As One Instance

Mar 23, 2014

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

View 7 Replies View Related

Excel 2010 :: How To Count Duplicates Of Duplicates

Jan 24, 2012

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.

I am using Windows 7 and MS Office 2010.

View 2 Replies View Related

Assigning Value To A Row

Jun 4, 2013

I would like to assign a value to a row so I can enter different quantities in a cell in that row, and then sum the total of multiple rows.

Example;

I want to add up c3-c10, d3-d10, e3-e10. I want to make row3=$4, row4=$5, row5=$6 etc.

So c3, d3, e3, f3 cells will have different totals ex; I type 10 in c3, 12 in d3 and 15 in e3... but they are values of $4, so
When I sum up a column c3 will actually represent $40, c4=$48, e3=$60 and so on.

Another example;

row3=$4 and row4=$5
i type 10 in c3, and type 5 in c4.
the sum of c3 and c4 = $65

How I assign a value to a row?

View 2 Replies View Related

Assigning A 0 Value To Text

Oct 6, 2008

I've been doing a very simple table for my father's bass club. The club has one tournament a month and the 2 lowest weights are dropped. The table has a column of names on the left hand side, beside the name is 12 columns for one weight per month, right of that is a sum of the fisherman's catch weight in column O and to the far right is an equation that removes the 2 lowest weights =O4-(SMALL(C4:N4,1)+SMALL(C4:N4,2))

In the past I have put a 0 if someone didn't fish. He has asked me if it's possible to put DNF for Did Not Fish in lieu of a 0. This way they have that information and know how many people fished and caught nothing versus how many didn't fish. I need to know how to assign DNF a value of 0 for the whole table so that I can still drop the 2 lowest weights

View 3 Replies View Related

Assigning IDs To Names Possible?

Dec 1, 2013

I have a column with names (repeated names by month). There are about 3700 of them spread over 12 month. so it's about 300 names per month.

Is it possible to assign an ID (a number) to specific names?

So let's say - John Smith will have ID 1 (for example), and will always get this ID?

View 8 Replies View Related

Assigning Macro To TAB Key?

Sep 1, 2013

Can you assign a macro to the tab key?

View 4 Replies View Related

Assigning Value In Formula

Apr 4, 2014

What I'm trying to so is track weekly labor costs- my crew makes a rate for 6 days then an additional amount for a 7th day. I have attached an image of what I'm trying to do. Basically I want to add up the crew members "a" rate plus the "b" rate (if applicable) over multiple weeks in the total column.

View 1 Replies View Related

Assigning Macros

May 27, 2008

I have created an add in for excel with all the macros that will be used for a particular workbook. I have some buttons in the workbook that I have macros assigned to them. I assigned them to the xls workbook before I saved it as an add in. Now, when one of the buttons is pressed, it opens the xls workbook.

how to assign the macros from the add in to the buttons.

View 9 Replies View Related

Assigning More Than One Function To Yes / No Message Box

Feb 15, 2013

I have a problem with a spreadsheet I am working on.

When a user clicks on column N in the sheet, I have a yes/no message box open asking if they would like to create an invoice for a customer, which opens an external spreadsheet.

The problem I have is that I can't seem to get the message box to perform seperate functions for each button (open the external spreadsheet 'for yes' OR Close the message box 'for no). I can only assign one funtion between the two buttons.

The code I have is as follows:

VB:
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
If Not Intersect(Target, Range("N:N")) Is Nothing Then
MsgBox "Do you want to create an invoice for this customer?", vbYesNo
If response = vbYes Then
Workbooks.Open Filename:=("H:Copy of Support Service Charges Form.xlsx")

[Code] .....

View 2 Replies View Related

Assigning Headers Using Code?

Aug 5, 2014

I have a table that needs headers assigned to it. I have copied a link to view the example spreadsheets. The first sheet has the table and the second sheet has the headers. The code is designed to go to sheet 1 see what file name is being used and assign the header to the file name. Each file has two columns of data for Location 1 and Location 2, but have the same file name so it's assigns the first header, but ignores the second header. How to fix it so that it assigns it by the file name and also if it's Location 1 data or Location 2 data.

[URL]

VB:
Code:
Sub FindHeaders()
Dim iRowH, iColH, iRowD, iColD As Integer
Dim strHeader, strData, strTitle As String

[Code].....

View 1 Replies View Related

Assigning The Range Of A Cell A Value

May 5, 2008

I have a number of cells which are connected to various formulas. EX. A1 = 7. Well I want a formula in A2 which can look at A1 and if A1 = 5-6, then A2 = 1, if A1 = 7-8, then A2 =2, if A1 = 9-10, then A2 = 3, if A1 = 11-12, then A2 = 4. And so on.

View 11 Replies View Related

Assigning Numbers To Letters

Oct 26, 2009

I have a word, for example ROCK. I asigned numbers to the word. R=1,O=2,C=3,K=4. My Question: If I type in ROC it must return 123. If I type in KR it must return 41, etc. Is there a basic formula I can use to solve this?

View 4 Replies View Related

Assigning Formula To Sheet Name?

Nov 29, 2012

is there any way wer i can assign the name of a sheet to cell so that watever i typ in the cell automatically becomes the name of that sheet? i have more than 2000 sheets

View 4 Replies View Related

Assigning A Function To Array?

Feb 21, 2014

I am trying to write a code for simulating a stock price using geometric brownian motion. I have the function part down as follows:

Public Function SimStock(Initial_Stock_Price As Double, _
Expected_Return As Double, _
Volitility As Double, _
End_Time_Days As Double, _
Number_of_Steps) As Double
SimStock = Initial_Stock_Price * Exp((Expected_Return - Volitility ^ 2 / 2) * (Number_of_Steps / End_Time_Days) * NRnd2() * Sqr((Number_of_Steps / End_Time_Days)))
End Function

Now what i need to do is to apply this to an array. so that when i run the sub it will simulate prices from today up to some number of days that i specify. This number of days will be equal to "End_Time_Days" which is part of my function. Furthermore the simulation has to be such that it uses the above formula for the first entry but then replaces "Initial_Stock_Price" with the result of the preceding entry in each subsequent entry.

View 1 Replies View Related

Assigning 3 Macros To One Button...

Jan 16, 2009

How would i go about assigning three sub routines to one button so that they all activate when a command button is clicked.

View 3 Replies View Related

Assigning Strings To An Array

Apr 22, 2009

My question is about assigning strings to an array.

The following code searches a cell for three strings (said, told, asked):

View 2 Replies View Related

Assigning Rows To Row Numbers

Jan 14, 2010

I need a macro/script that will allow me to move rows based on cell values, i.e.: ....

View 14 Replies View Related

Assigning Points To Rankings

Apr 14, 2006

I have ranked the times of races for 30 participants. The results are in a
column. I want to display the points given in the next column. The only
points given are for 1st through 6th place. 1st=6pts, 2nd=5pts, 3rd=4pts,
4th=3pts, 5th=2pts, 6th=1pt, 7th place through 30th place =0. Times,
therefore ranks, will change with each race, so this information needs to be
in every cell in that column.

NAME TIME RANK PTS
Joe 12.05 2 5
Mary 13.00 3 4
Sue 10.57 1 6
Sam 15.04 8 0

I figured out the rank formula, but I can't figure out how to assign the
points.

View 9 Replies View Related

Assigning Macro To A Cell

Oct 7, 2011

How do I assign a macro to a cell. Tried right clicking but "assign macro" but not there...

View 1 Replies View Related

Using VBA Form In Other Sub Or Assigning To Button

Apr 10, 2012

I've built a form in VBA which is working great. I now want to call it by creating a button in a worksheet and then assigning the Form macro to it so the user can just click a button. I've tried looking for it in the Assign Macro dialog and it isn't there (even though I've declared it as a public sub) and I can't call it from a normal Module as it says it's an undeclared variable.

View 3 Replies View Related

Assigning Accounts Using VLOOKUP?

Aug 30, 2012

I have two spreadsheets, one named Tracker, the second named Data. Data is a central database spreadsheet with account #s and Tracker pulls information from it. A team is assigned an account based on the last two #s of the account #, called term digits.

Goal: A VLOOKUP to where if a column equals the term digit range (example, any accounts ending in 00 to 09), it will pull the account # from Data to Tracker.

That part is easy, the tricky part I'm having issues with is that I need it to do the search mentioned above AND search for account #s that end in 60.

So: search for 00 to 09 and 60, pull the account # from Data to Tracker once found.

Edit: Term Digit is on column B and the account # is on column A - both in the Data spreadsheet

View 9 Replies View Related

Assigning Macro To Button

Sep 5, 2012

I'm using below code to add number of buttons and assigning macro to all of them at run time.

Code:
j = 1
Do
ActiveSheet.Buttons.Add(2.25, Top, 66.5, 14).Select
With Selection
.Caption = "play " & j
.Font.Size = 8
.onselection = "mymacroname"
End With
Top = Top + 15
j = j + 1
Loop Until j = I

What do i write in macro to know the caption of the button being clicked?

View 4 Replies View Related

Assigning Values To Value Ranges?

Jan 4, 2013

Essentially, I'm arranging an excel spreadsheet to organise my ongoing sales and keep record. I would love to have a formula to calculate the appropriate comission for each sale.

The ranges are:

0-199 = 0 Comission
200-499 = 10 Comission
500-999 = 25 Comission
1000+ = 50 Comission

I managed to get the 0, 10 Comission to be processed correctly but sadly I've hit a brick wall as to how to include the 25, 50.

The formula I have so far is as follow: =IF(COUNT(D22),IF(D22

View 2 Replies View Related

Assigning Numeric Value To A Letter

Mar 18, 2013

I have been trying to resolve my latest issue using various IF and Lookup formulas but havent been able to find the answer.

I have designed a spreadsheet that logs staff members hours. Staff input their hours worked in cells C12:BL12 and BM12 uses a simple sum formula to add them all up =sum(C12:BM12).

What i would like to do is input "S" for sick, "H" for holiday, "BH" for bank holiday etc and each one of these letters represent a number of hours adding in to my sum formula in BM12.

For example: Below shows a working week with the total hours worked per day underneath If H=8 and S=7.4, the total would read 39.4

MTWTF
8S8HH

Is this possible?

View 1 Replies View Related

Assigning Values To Letters

Jan 24, 2014

I have to assign 3 values to 3 letters, I have been using the LOOKUP function,

P=20, C=35, W=100

I have input the following:-

=LOOKUP(A1,{"P","C","W"},{20,35,100})

But for some reason it is inputting 35 for the value of P.

View 3 Replies View Related

Assigning Variable As Workbook

May 15, 2014

So I have a macro that is saving new excel files based on month and year. I want to assign a variable but I keep getting an error.

Here's what I have:

***********
Sub AssignVariables()
Dim Rebates as Workbook
Dim Master as Workbook
Dim month as string

[Code]....

The last two lines are the errors. I want to type in:

Rebates.Activate
Master.Activate

But the error occurs as it gets to the last two lines. By the way, all these two documents are open.

View 4 Replies View Related

Assigning Points For Placing

Sep 1, 2007

i have a spred sheet that i am trying to give them scores from highest 10 down to 6 then anyone under will get 5

However if there is a tie for first they will each get 10 then the next will only get 8

ex)

a1 b2( this would be there score

3.45 10
3.45 10
3.40 8
3.20 7
2 6
1.99 5
1.89 5
1.5 5
1 5

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved