I am trying to analyse a whole heap of data generated by an image analysis package. The data is exported out in to excel, I then need to be able ot rearange it a bit and export it out to another program.
I have attached a smaller version of the data as an example. The example data set only contains 3 image planes with ~100 entries for each. A full data set contains 96 planes and ~2000 entries each.
So what i want to do.
I want to setup a workbook i can dump this data into and have it spread everything out over 96 different sheets (1 for each plane).
I can get it to do it for the first lot of data using a IF command like =IF('Object Data'!B:B=1,'Object Data'!D3,)
But that only really works for the first plane, as the starting cell for plane 2 is always going to be different.
So what i need is a formula that will say: look at the plane column, if it equals a certain value print out the value for the other cells in that row.
I wondering if it is possible for a macro to recognise whether or not there is text in an adjacent cell, and if there is, then to copy data from another adjacent cell.
For example, because there is data in C2, data from A2 has been inputted into B2. And any blank cells are left alone.
In my worksheet I have 'Column A' and 'Column B', In 'Column A' are product I.D. numbers. In 'Column B' is a text description of the product, whose I.D. number is in 'Column A,' and should also contain the I.D. number from 'Column A' somewhere in the midst of the descriptive text. However, some of these in 'Column B' do not.
I need to create a function that looks for the value in 'Column A' and determines whether or not it is present in the text of 'Column B'. Therefore, spitting the answer out in 'Column C' so that I can copy it down for 100,000 cells.
I'm revamping a key inventory for my company and would like to be able to track the history of each key (name of person who it was issued to, date issued, date returned). I figure the best way to do this for the 90 keys I currently have in circulation is to create drop down lists for each key that has been used by more than one person in its history and upon selecting a given person from the drop down list of keys used more than once, the adjacent cells would populate with the corresponding data of date issued and date returned. Some keys have not been used more than once so not every key will have a drop down. Here is what my key inventory spreadsheet looks right now.
Until now if I needed to find a cell's data (and its adjacent data) I've been using code in the format of (for the purpose of this example, you can assume all data in coulmn 1 is unique. Functioning as aprimary key using incremeting integers):
writing a Macro which will move data from a cell to an adjacent cell.
E.g Column B has only data in certain cells, I would like the Macro to work down the column and every time it encounters data in Column B to move it into the adjacent cell into Column A.
I want the user the be able to pick a number. This number corresponds to a table value. The formula needs to take the value in the adjacent cell from the picked number and run a calculation on it.
For example, if the user picks 7, it will select the adjacent value to 7 in a table for use in a calculation in another cell.
I have one sheet in my workbook called 'mapping' which has a list of codes on it, the length of which will vary on a periodic basis.
I have another fairly large sheet on the workbook called 'data' (around 2000 rows) that will also vary in size. I want to do a search on the data tab for each code that is contained on column 4 of the mapping tab and if the code is found, enters the corresponding value from column 1 of the mapping tab to the cell 6 columns to the left of where the code was found on the data tab (cols H and B in this case).
The issue I have is the codes maybe contained more than once on the data tab so I need the find/replace command to search the whole of the data tab and perform the task each time.
What I would like to do is to fill in B1:B3 with A0001 and B6:B9 with A0002. The number of rows in each set of data will vary, but the identifier (A000X) will always be located in the row in column B adjacent to the last entry for that set of data in column A and there will always be empty cells between data sets. The number of data sets will also vary.
I want to extract first data from column Name where in the data corresponding to it in Column Marks is blank, and if that is filled, i want the next data to be shown automatically
I have a have excel problem Im trying to figure out. I have 2 sheets. Sheet1 and Sheet2. I want to copy into sheet1 cell B2 the contents of sheet2 column C row x iff sheet2 column B row x = 1. There will be only one cell in that column equal to 1, so I will be copying that cells(colB; rowx) adjacent cell (colC;rowx) contents. This is what I have so far but it doesnt work. =IF('Sheet2'!B:B=1,DONTKNOW WHAT TO PUT,""))
I own a Hair Salon which collates its daily takings using a spreadsheet. A section of this takings sheet asks staff to enter which Products have been sold and what they where sold for (RRP), so that once all products have been entered, totals at the end of the day allowing the end -of-day "till-up" process to reconcile purchases and services rendered aginst cash and cheques received.
Unfortunately there is over 600 products to choose from and this evergroes as new products are introduced by manufacturers. Names are long and often very similar, and product price manual listings are slow to reference, therefore the customer has to wait while the staff find the right product and select the right price.
All of this is subject to human error. What i would like is simply to enter part of the product name into a Cell and the right product to be visibly selectable and the price automatically added to an adjacent cell.
i have a problem in that i need to generate a random 6 digit number preceeded by an X if the data in column B is either blank or 0. This needs to be filled in if the adjacent cell in column C has data in. i am a moderate macro writer and am finding this part quite challenging.
I have 2 problems relating to LOOKUP. Not sure if Excel can perform these calculations as they could get to complex.
Problem 1 Can it be possible to have excel look at data from one cell reference another cell then display the results from the cell next to it in another cell, sort of example:
Tab 1 (Never changes) AB Bob1 Jon2 Fred3
Tab 2 (Dynamic, changes each week) AB Jon Fred Bob
So it would work as follows. Tab2 column B will take Tab2 column A’s data check Tab1 column A and display Tab1 column B’s result.
Problem 2
Weekly league rank table that shows position movements week by week Example.
Week1 1Jon 2Bob 3Fred
Week2 1FredUp 2 2BobNot Moved 3JonDown 2
Can Excel calculate/show the actual movements of league positions?
I have a credit card payment estimation sheet that i am trying to set up a cell that will display the same data as the last cell in columb A that the IF function displays true. I have attached a sample of what i have so far. Would like the data do display in the yellow cell with the red border. File is in Excell 2007 Format.
Column L14 - L47 is not very wide on my spreadsheet because I wanted the whole sheet to be in view when you look at it on the screen. But there will be times when the user needs to put quite a bit of information in there. The cell will let you keep typing as long as you want, but if you don't have any information in the cell to the left of it, then the information spills over into those cells.
I don't like the look of that. Is it possible to make the cell automatically populate a drop down type box if the information is longer than the cell. Then have the cell display normal when you click out of it, whith a little arrow in the bottom right hand corner of the cell to tell the user that there is more information in that cell, they just have to click on it.
I have a spreadsheet that we use to generate visual data, with very small column widths. I have a column width of 1 at the moment, and some data displays, while some doesn't. I want it to show a number which appears every 5th column, without having to merge and center each set. I used to use a macro to merge and center across the data set but the data set length is now dynamic so that is difficult.
I got work sheet with all data, and i need something like, if cell A1 = Left, and cell A2 = right, display only a range of data, say all data in row P to R and row U to W only accordingly to the criteria i set in a new worksheet in same workbook. And i need the display data to update automatically everytime i change the criteria.
I wonder if the following is possible in the worksheet_open event. I want to be able to open my worksheet and see via a message box all the important features I need to look at.
Using column AG, Take the cells that are conditionally formatted to red, take the corresponding cells in column A & B and output this information in a message box.
I am trying to create a formula which will allow me to type a word in a cell on the Main sheet, and then pull any row from multiple sheets and display them on the Main sheet. For example, my sheet named Main looks like this:
A B C D E 1 Query: 2 Fruit Store Cost Mode Date
And there's a sheet for each month with the same format and different data: A B C D E 1 Fruit Store Cost Mode Date 2 Apple Dominicks 1.99 Bagged 3/16/2014 3 Apple Piggly Wiggly 2.19 Ala Carte 3/14/2014 4 Banana Jewel 0.49 Bagged 3/1/2014 5 Banana Dominicks 0.57 Ala Carte 3/16/2014 6 Banana Costco 0.69 Ala Carte 3/16/2014 7 Cantaloupe Jewel 2.99 Ala Carte 3/14/2014 8 Cantaloupe Dominicks 1.99 Ala Carte 3/1/2014 9 Eggplant Jewel 0.99 Ala Carte 3/30/2014 10 Eggplant Dominicks 1.19 Ala Carte 3/30/2014 11 Eggplant Costco 1.29 Ala Carte 3/21/2014 12 Eggplant Safeway 0.79 Ala Carte 3/16/2014 13 Pears Jewel 1.19 Ala Carte 3/14/2014 14 Pears Dominicks 1.59 Bagged 3/1/2014 15 Pears Piggly Wiggly 0.99 Ala Carte 3/30/2014 16 Rhubarb Jewel 0.99 Ala Carte 3/14/2014 17 Rhubarb Piggly Wiggly 0.59 Ala Carte 3/14/2014 18 Rhubarb Costco 0.89 Ala Carte 3/14/2014 19 Tomatoes Jewel 1.99 Ala Carte 3/1/2014 20 Tomatoes Safeway 1.69 Bagged 3/30/2014 21 Tomatoes Dominicks 1.89 Carton 3/27/2014
... and so on. On my main sheet in Cell B1, I want to type a fruit name, such as Banana, and have every row in every sheet with Banana in column A,pulled and displayed on the Main sheet. Firstly, is this even possible with a macro?
Can i put into the cells B38-AF38, that would display the sum of B20:AF20 + B24:AF24 + B28:AF28 + B32:AF32 +B36:AF36 in a h:mm format.
When imputing the data into a cell in a h:mm format, I need it to display in that cell and formula bar the h:mm format without having to put an apostrophe in front of "h" or ":mm" value. Once complete, this form is going to go to other trainers to use on their computers and I dont think they would remember to keep putting an apostrophe before the data.
Example:
B20= 1:15 (1h15m) NOT 1:15:00 AM
B24= :30 (30min)
B28= :45 (45min)
B32= 1:45 (1h45m) NOT 1:45:00 AM
B38= 4:15 (4h15min)
I have attached a copy of the form for better clarification.
It doesnt seem to be complicated, but it's certainly a lot more than I thought.
I have 3 columns of data that are being copied from a .csv file. The data is pasted into Columns B, C, & D. Columns C and D are hidden. So that the user does not have to unhide the columns in order to delete the data, I would like to make it so that when the data in column B is deleted, the data in columns C and D is also deleted.
I have a workbook with 30 worksheets. Each sheet has 84 rows of data (start in 15 columns (A to O). I would like to create a summary sheet that only shows the most important data from each sheet.
The summary sheet would have 12 lines of headers and formatted crap at the top. The Summary sheet header columns would be:
Site (A), Date (B) Health (C), Status (D), Critical (E), Task (F), Dependencies (G), Owner (H), T-Date (I), Task Date (J), Mitigation Date (I)
The data in the sheets are not in that order, of course.
That 1. puts the name of the sheet I am copying from in column A 2. the deadline date in Column B (that date is always in C10 of each worksheet) 3. and copies Cells from Column A,B,G,H,I,O in any row in which the value in A is not "good" into columns C through H. I would like to paste those rows into the summary sheet. I have code that loops through the sheets and rows in each sheet to find the rows to copy. I can copy cell values directly from the active sheet to the summary sheet, but because I am copying a cell at a time, it takes 7 minutes. Yes I am impatient :)
Here is the code snippet where the copying is done:
Dim sh As Worksheet 'current worksheet Dim DestSh As Worksheet 'worksheet in which to paste summary Dim Last As Long Dim CopyRow As Long 'row to copy Dim LastCopyRow As Long
[Code] ........
ExitTheSub:
Application.Goto Sheets("KMARollup").Cells(1) End Sub
I think there must be a way to use ranges to build an array of cell values and paste only once but I am lost here.
I have data in 37 sets of 6 columns and on several rows (that increase in number depending on my needs). Rows 1 to 3 are information headers.
For each row, starting on row 4, I would like to sum the cells that are on the 4th column of every set, providing that the info in the 1st row & 2nd column of each set equals either "USD", "EUR" or "GBP". If one of the above conditions is met but the cell is empty (shows "#value!"), I do not want it to be taken into account.
I have a spreadsheet with rows of data. Presently, there are three pairs of columns. The first column in each pair has a label (E, F, R). The second column represents the number assigned to the label (e.g. 30, 40, 60, 70). The labels may appear in the first column of any of the three pairs. I would like to reorganize the data in three columns, which are headed, E, F, R, with the associated number underneath the heading. I have attached a sample spreadsheet showing the desired results.