Change To One Row Of Data From Several

Nov 7, 2009

I have a list ( no more than 500 entries that contains duplicates, one of the columns (c) contains an action number ( 1 to 11)

I download this data from a database (Which I cant change) so i will have one persons name (Column A) which will be repeated several times with a cation number in column c as one person can have several actions

e.g.

Namecalledaction
Fred10.001
Fred10.012
Fred10.013
Fred10.014
Fred10.017
John10.005
John10.014
John10.0111
Mike11.008
Adam12.022
Adam12.021
Adam12.023
Adam12.024
Adam12.045

What i need to do is delete the duplicates but put a yes in columns d through to M on a single row where they have had an action matching 2 - 11

I have got how to remove duplicates, and i ve managed to do a case statement to put a yes in the row in the right place prior to deleting it

View 14 Replies


ADVERTISEMENT

Lookup Or Data Change Based Upon The Data Reported In Column

Mar 7, 2008

I need to pull info to additional tabs. The problem I am having is that the data is sorted daily based upon performance numbers, so the REP names in column A can change based upon the data reported in column C.

What I want to accomplish:

Pull daily data for each unique name in column A to a team tab/worksheet that will be used to report that team's daily data.

Below is a representation of the data I need to break down by Rep Name and Team.


Rep DATA DATA DATA DATA DATA DATA DATA
1 2 3 4 5 6 7 REP 2 27.5% 14


51 86 REP 1 33.3% 14


42 74 REP 3 19.3% 11


57 86 REP 5 19.6% 9


46 66 REP 4 33.3% 9 ...........................

View 9 Replies View Related

When The Data In A Cell Changes, Automatically Take A Record Of This Change Data

Sep 19, 2009

I am not sure how to go about creating a spreadsheet that does this:

I have a number much like a stock market index which is in cell A1 for instance, and this data changes every second,

And I wish to create my spreadsheet to automatically make a record of this change value and populate it at the last available blank row, so ultimately, I have a full history of how this number changes during the course of time.

5450 in cell A1
a second later, it changes to 5430
and so I want to populate 5430 to A2

and then another second, it changes from 5430 to 5470 and so i want to populate 5470 to A3 and so forth....

does anyone know how to do it?

View 7 Replies View Related

Vlookup To Compare Two Sets Of Data And Change The First Set Of Data If It Is Than The First

Oct 5, 2009

I have tried nested ifs and vlookup to compare two sets of data and change the first set of data if it is than the first. But leave it alone if it either is the same or does not exist in the new set of data. It sometimes seems to work but i find it is not consistant. It looks simple but i think i am missing something.

if column A has identifiers and column B has results then it should work if the identifiers in column C are found in column A and it looks to see if column B and D are the same, then change B if different but leave it if either it is the same or not there.

A
code1
B
36
C
code1
D 33

View 9 Replies View Related

Update Data By Ado - Change/delete Data And Then Run Macro For Update Data In Source Spreadsheet

Dec 6, 2006

I have one source spreadsheet, where are columns NAME, DATE. I read these data by ADO to other spreadsheet, where I can change/delete data and then run macro for update data in source spreadsheet. The problem: In source spreadsheet is column "NAME" and column "DATE", with values e.g. "Joseph"; 1.1.1980. I read this data to other spreadsheet, then I delete in it value 1.1.1980. When I run macro Update, it messages error.

Sub UpdateItem
...
.Fields.Item(1).value = activecell 'activecell value = "Joseph"
If Not isempty(activecell.offset(0,1)) Then
.Fields.Item(2).value = activecell.offset(0,1).value
Else
.Fields.Item(2).value = "" 'I tried Empty and 0 too but when I read data again then, it displays 0.1.1900, nothing works
End If
...
End Sub

It seems that in source spreadsheet has data in column "Date" format Date and when I try to update data in format String ("") in source spreadsheet by Update macro, it messages error. When I used

.Fields.Item(2).Value = Empty
' or
.Fields.Item(2).Value = 0

after rereading data it displays 0.1.1900 What I want to get is that if the cell with date (in other spreadsheet) is empty, the cell in column Date in source spreadsheet after updating will be blank (contains no values).

View 2 Replies View Related

Picture Would Change With The Data

Nov 2, 2007

I have a sheet that I use to store machine process data. The way it works is on a main sheet I select the job I need to run and the machine I want to run it in. The sheet adjusts the process to match the machine basicly volumetric formulas and all that works great no problems. But what I would like to do is when I choose a job I would like excel to display a couple pf pictures such as a picture of the part, a picture of the machine with that job set-up in it that kind of thing. Each time I pick a new job the pictures would change with the data.

View 9 Replies View Related

Change URL With Cell Data?

Dec 15, 2012

1. I would like to get the zipwho information for a specific zip code in cell H to be inserted into this [URL] .... The sample zip code is 33134 gathered from cell H. and would like to generate a link in BA

2. I would like an addressed gathered from Cell AW, to be plugged into google maps, with the words Realtor nearby: "2991 Simpson Dr, Bartow, 33830" (like this [URL] .....) the sample address is gathered from cell AW and I would like generate a link in cell BA.

There is a sample spreadsheet attached : 121212_ELANCE_USDA_FINAL.xlsm‎

View 1 Replies View Related

VBA To Change Data Format

Aug 14, 2012

I have data in excel sheet named LSR from A2:L3000 sample as below. i want to have a VBA code to change the data as below.

Data before changing

FK
PLATE NO
Vehicle
23
1234DB
toyota

[Code]....

After running VBA code

FK PLATE NO Vehicle FK PLATE NO Vehicle FK PLATE NO Vehicle
23 1234DB toyota 23 98544DB ford
34 34322SW hyundai
21 34344TR nissan
451 43434FR toyota
39 43423TY nissan 39 34445FE ford 39 43455ER nissan 39 343444E landrover
189 44455E nissan

View 1 Replies View Related

Change Data Into Triangle

Dec 5, 2006

Sheet1, there have data in A1 (100);
Sheet2, there have data in A1 (200) and A2 (300);
Sheet3, there have data in A1 (400), A2 (500), A3 (600);
Sheet4, there have data in A1(700), A2(800), A3(900) and A4(1000).

Now I want to use For Loop code to copy the data in Sheet1 through Sheet4 and paste them in Sheet 5 beginning with A1 into a triangle format:

100 300 600 1000
200 500 900
400 800
700

View 9 Replies View Related

VBA To Insert Row On Data Change

Nov 28, 2008

I have rows of data with each row going from column A to column P

They are sorted by column A (account No.)
I need to insert 2 blank rows between each change in account No.

View 9 Replies View Related

Change Data To Text

Jan 10, 2007

I am trying to convert spreadsheet data (numbers) into text for use in a Fluke MetCal (automated calibration software) program. Does anyone have a short macro that will do the data to text conversion?

View 3 Replies View Related

Change Layout Of Data Within Cells?

May 5, 2013

I need to change the layout of data within a cells. Attached is a sample of what I need to do

View 9 Replies View Related

Compare 2 Spreadsheets And Change Data

May 30, 2014

I have 2 spread sheets

One is just email addresses
a@a.com
b@b.com
c@c.com etc.

The other contains data and also these email addresses I need to compare the 2 and when a match is found change the email address in the data table to something else, say "tony".

View 6 Replies View Related

Change Order Of Data In Column?

Oct 27, 2013

I am trying to bulk upload some geo locations for my site, but the data I have is longtude first and latitude after, whereas the site accepts the data reverse, which means latitude, longitude.

that it's possible to change the order somehow.

Here is a example of how it looks:

"(12.595342677449292 55.66937339270993, 12.595097670457731 55.669239938648126)"

View 13 Replies View Related

Macro To Change Look Of Data Sheet

May 19, 2014

In need of a macro to change the look of the attached example spreadsheet.

View 3 Replies View Related

Move Data On Change To New Sheet?

Jan 29, 2014

So I have a sheet that has 9 columns A - I sheet is called "Door Switch Times"

Basicall when column F gets data in it I need then a macro to automatically Copy B, C, D to a
new sheet called "Main". I need B to be copied to C on Main, "C" on Door Switch Timse to be copied to "D" on main and "D" on Door Switch Times to be copied to "E" on Main. I cant post the sheet as my work computer will not allow me to transfer or share files.

View 7 Replies View Related

On Value Change Copy Data To Another Sheet

Nov 5, 2009

I have a sheet in Excel (sheet 1)which reads in eleven values. If the data in the 11th value changes then I would like to copy the other 10 values to sheet 2 appending to previous values copied. Date and time on each copy would also be nice if possible.

The values in sheet 1 are being read in via an OPC server from a machine and only change at the and of a batch which could take a few hours.

We are trying to gather this information as a test just for stocking levels on a short term basis. We may look at a more sophisticated method after our trial period is completed.

View 9 Replies View Related

Change Column Data Sequentially

Jul 27, 2009

I have a spreadsheet with a column of data that is similar for a while, then changes, is similar, then changes. I need to number them as each set of data changes, how can I go about that?

Here is an example of what I have:

Dog
Dog
Dog
Cat
Cat
Bird
Bird
Bird
Bird
Lion
Elephant
Elephant.....................

View 5 Replies View Related

Charting To Change Based On Data?

Mar 26, 2012

I have data I use in a Pareto chart. This data is found somewhere in cell range A18:AF20. I want the chart to adjust itself to only the cell range with data. It may be A18:M18 or perhaps A18:AB18.

Is there any way to set the cell to look at only the cells with data in them?

View 1 Replies View Related

Auto Change Cell Data?

Jun 6, 2012

I need to know how to do the following;

When someone clicks on a specific cell, I want a different cell to then fill with data from another worksheet, can this be done?

For example, I have cells on a speadsheet box 1, box 2 and box 3. What I want, is when someone clicks on say box 2 to selects that option, then I want box 4 to auto-fill with the price I have from another spreadsheet

View 2 Replies View Related

Combobox VBA To Change Data In Cell?

Dec 12, 2012

I am looking for a way to use VBA code to allow a combo box (form control) to change the data in a cell. For example: The combo box could contain Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday. If the user selects Monday in the combo box, than cell A1 will populate the word Monday. In the particular situation that I using this for, an if statement will not work since there are 82 values (options) in the combo box.

View 2 Replies View Related

Hyperlink For Each Change Of Data In Cell

May 24, 2013

I have a question regarding hyperlinks. I created a combo box where if I select a product (s), the sales data will change in another cell by using the offset formula. I was wondering if there is a way where each data that changes in the cell can have a hyperlink to a different location in the workbook? Can you do this by a formula or only use of VBA?

View 1 Replies View Related

Insert Same Row Every Time There Is Data Change?

Jan 30, 2014

I have spreadsheets I generate weekly that have 100s of rows. Everytime there is a data change in a certain column, I need the same row entered. I found a macro from this site that got me sort of half way.

I am trying to paste the macro that I found, but I am such an idiot I can't figure out how without it losing its formatting. Regardless, it only enters a blank row at every data change. Is there a way to enter a row with the same labels already entered in it?

View 1 Replies View Related

VBA To Change Workbook Data Connections

Jun 2, 2014

My issue is we have a remote office, using an access DB which links to an Excel file. We sometimes send the files to other people to make changes, but the link is then broken (it was a network location).

You can just change it manually, or accept the many prompts that come up, but it needs doing at each end, each time.
I thought I'd do a routine to change the connection paths, this is what I have...

Code:
Sub alan()
Dim i As Long
Dim cnt As Long
Dim modtext As String, modfile As String
Dim modrange As String, OldPath As String, NewPath As String

OldPath = "\192.168.1.100MultimediaCommissioning Folder"
NewPath = "C:matts"

[Code] ...

I added the sourcedatafile part to the routine afterwards, because the connection string part worked fine. But I now get Run-time error '1004' Application-defined or object-defined error...

View 3 Replies View Related

Mass Data Change Macro

Feb 10, 2009

I have a large worksheet with a unit name column, category, brigade, etc.

Everytime I get the data, I have to make the same changes. Is it possible for me to automate the process so that for example if the name column contains 'CID' or 'AMC MGD' delete those rows, if it contains 'ENG' change the brigade column for that row to '92ENG' etc.?

View 9 Replies View Related

Change Strings Data Alphanumeric

Jan 25, 2010

I have in two cells :
a1 b1
1m 1-3-6-11-17

how can I get:

1m1
1m3
1m6
1m11
1m17

using vba code.

View 8 Replies View Related

References Change When Importing Data

Jul 18, 2006

This issue is similar to absolute/relative references, but it's related to the data being referenced, not the cells doing the referencing. If I have a call the references cell A3 then I insert a row above row 3 (making the original A3 cell now A4), my reference automatically changes to A4. How can I get it to stay at A3 no matter what happens?

This may sound like an odd request, but I reference a bunch of cells on a worksheet. This sheet retrieves data from a database which changes regularly. The changes that it receives are not just updated in the cells, but rather the rows are deleted and reinserted changing all my references to this sheet. For example, say I import data and it fills cells A1 to A20 and I make a reference to A15. If I change the data that is imported and the data now only fills cells A1 to A10, the reference to A15 is now set to #REF since it actually clears all cells from A1 to A20 and then reinserts new data.

View 5 Replies View Related

Change Formula When Data Entered

Jul 22, 2006

There are two worksheets: Finances and Summary. On Finances, there is data input for years, quarterly. There is a cell on Summary that depends on which year is input first, in which case the cells in the formula SUM("cell1:cell4"))/4 is currently changed manually by the user by just checking to see which year data is input first on Finances. I need a macro or a formula function where the workbook finds which year is being used on Finances first, then changes the cells in the Summary formula accordingly.

View 6 Replies View Related

Automatically Autofilter Upon Data Change

May 4, 2007

I have a worksheet set up with code to have it Autofilter. My criteria is that if it has 0's in column d then it gets hidden.

This sheet is automatically filled in from information on another sheet.

Is there anyway that when the information is changed that the AutoFilter will automatically refresh itself?

View 4 Replies View Related

Change Chart Source Data From Add-in

Aug 9, 2007

I have an excel addin that contains chart templates. Without going into too much detail a user will select an option which will update these templates then move the charts along with the source data to a new workbook. My question is this; How do I change the chart references programatically so that the chart data now points to the source data in the new workbook.

View 5 Replies View Related







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