I have an array of data with column headings and changeable row "item names" in the left most column. The intersecting matrix of data contains quantity values at the intersection cells of column and row headings. I need to automatically reorganize the data as a list in a column with the row "Item Names" at the left but and repeated as necessary but instead of the additional columns of quantity values, I need to have this data listed in a single vertical column along with an additional column with the original column header that corresponds to the quantity value. I think there must be some kind of lookup function to do this but I can't find the right way to do it.
I need a macro that allows me to select a matrix of cells and converts it into a single column elsewhere, pasting the second column below the first and so on. Is it possible to select the matrix, hit a macro key and then paste it in my selected location?
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.
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:
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?
Using VBA, I wish to work out the inverse matrix of a large matrix (100*100), but keep getting the # Num! Error. I am using the minverse function. I have defined variable as "variant", does this give me the same possiblities in terms of number size as the variable "Double"?
I M trying to get the lower values between to cells and have the lower valued cell highlighted,,,i have over 43 thousand lines of data to go throughand i was wondering if there was a quicker way to do this,,,for example cellA1 is $4.25 and cellA2 is $5.25 i want cell A1 to be highlighted,,is there a way?
I have a long list (+1000 entries) of numbers (that actually represent dates) in cells one under neath another.I need to get them into date form so i can arrange them from earliest to latest.
Kind of looks like the following:
Cell1 - 1122005 (which i supposed to represent 1/12/2005) Cell2 - 10192005 (.......................................10/19/2005) Cell3 - 9282005 (.........................................9/28/2005)
Right now Excel just sees a bunch of numbers and does not know what to do with them.
I am trying to insert a macro to send myself an email when ever someone uses my spreadsheet (I'll embed the code in an existing macro).
The reason for this is to not only gauge who/how many people are using it but also make sure no one is using it externally (I suspect people are passing it on to people outside the company which they are not supposed to). I need it to be covert so I don't tip them off and they don't start circumventing this check.
I have found the below which works well, but I wanted to see if there could be some additional checks to better conceal the sending of an email.
Can I also somehow check the Outlook status to make sure it is working "online" so the email doesn't sit in their Outbox if they are not connected to the network/LAN?
Code:
Private Sub Workbook_Open() Application.DisplayAlerts = False Dim oApp As Object 'Outlook.Application 'Object Dim ns As Object 'Namespace Dim fldr As Object 'MAPIFolder Dim mItem As Object 'Outlook.MailItem Dim sendTo As Object 'Outlook.Recipient Dim bOutlookFound As Boolean
I have searched all through the threads but I can't find anything similar to my problem. I am trying to create a checkbox that when the excel file would be saved as a *.csv file, the value for the checkbox would be saved as an boolean value 0/1. I created a macro that would populate the cells with the form control checkbox and linked it to the respective cell, I just need to change the value.
I would like to convert a number to minutes. For example .48 or 48 as a formula result to 48 minutes. The reason for doing this is I will add the result to a time.
Forumula result = 48 -> convert to {48 minutes + 12:00 = 12:48}
For a table like the one below produced for the sake of example (actual is much much bigger) I want to make it list rows that are true for a certain column for a certain variable in the matrix. So for say water terrain, which types of activity can I do i.e. swimming. Or for Offroad the activites which I can't do i.e. Run and Swim.
ActivityWaterRoadOffroad Jog nym Run nyn Walk nyy Swim ynn y=yes n=no m=maybe