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
ADVERTISEMENT
May 11, 2007
In the attached file, there are three sheets: Data and Private. Sheet Data contains data source. I want to try to covert the data in sheet Data into Private in triangle format.
For example, Sheet Data range A1:A5 will be converted into the latest diagonal in sheet Private range A1:E5.
Sheet data range D2:D5 will be converted into the second latest diagonal in sheet Private range A1:E5.
Sheet data range G3:G5 will be converted into the third latest diagonal in sheet Private range A1:E5.
Just follow the step, there will be a triangle range A1:E5 in Private. Same thing, there will be another triangle in Private.
During the past few years, I use an Offset/Row/Column formula to create a triangle. I feel code can do the same thing because the data structure follows a kind of pattern. I tried and failed.
View 6 Replies
View Related
Mar 28, 2013
I have a 22x22 matrix with correlations; I want to extract the lower traingle as a single row; so my matrix is
# r1 r2 r3 r4 r5 etc
r1 1 0.5 0.3 0.7 etc
r2 0.5 1.0 0.5 etc
r3 0.3 0.5 1.0 etc
r4
r5
etc
I want my row to be
r11 r12 r13 r14...r1-22 r21 r23 r24 etc..
View 5 Replies
View Related
Mar 27, 2009
I need to write a spread sheet that will calculate the length of 2 unknown sides of a right triangle using the following information.
Here is what I know
1. I have a right triangle
2. I know the length of the hypotenuses
3. I know the ratio between the length of the other 2 sides
I need to write and Excel file that will solve for the length of the other two sides
The math look like a^2+b^2=c^2
with c being known and the ratio between a and b known
View 9 Replies
View Related
Sep 23, 2006
I sent an excel file to a friend. When they opened the file a half triangle mark appears in any cell where there is a formula. How do i get rid of this mark?
View 3 Replies
View Related
Sep 12, 2012
I have a matrix that calculate lenght of the sides in a triangle, this is for the purpose of a camera and the pixelsize/inchsize.
Is it possible to create a chart that will give the user an visual control on how the cameras detection area looks like?
View 2 Replies
View Related
Mar 9, 2013
How to plot circles via vb. Basically I would like to plot circles on the vertices of a triangle with the following data.
1) length a = 69, b=103, c=119.9967, angle between a and b =86.1. (These values are determined from the cosine rule)
2) Diameter D1=40,D2=98, D3=108
See link of circles : IMAG0176.jpg
View 9 Replies
View Related
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
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
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
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
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
View Related
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
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
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
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
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
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
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
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
May 19, 2014
In need of a macro to change the look of the attached example spreadsheet.
View 3 Replies
View Related
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
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
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
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
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
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
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
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
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