Pasting Value Of 15000 Rows Take More Than 5 Mins
Oct 3, 2013
I am copy a range of data (15000 rows, 9 columns) from a worksheet to another worksheet in the same workbook. But it's taking extremely long. I am simple copy and pasting as values. That's all. Is this normal? Is there anyway to speed up this?
View 7 Replies
ADVERTISEMENT
Dec 4, 2007
I have a workbook of which has different times in columns D and E. What im trying to do is where the time difference between the columns is LESS than 5 mins I need that row deleting and cells shifting up.
I.E lets say D14 is 05.24 and E14 is 05.50. I need that line keeping but if E14 was lets say 05.27 then I need that line deleting and cells shifting up.
I need to be able to do this right down the workbook until the last entry.
View 9 Replies
View Related
Apr 22, 2009
I have a problem with a data set that I'm working on. Basically, I've got a data set that was downloaded from a weather station. I need weather data like average temperature, maximum temperature, minimum temperature for each day over a 90 days period. This is simple enough.
The problem, however, is that the weatherstation has been sampling every 5 minutes. In the data sheet, each day is represented by 12*24 rows of data (12 samples per hour times 24 hours). The total dataset across all days is something close to 26000 rows!
Of course, I can spend hours doing all this by manually by average(), min() and max() and then selecting the cells I want it to apply to each time, but the thought of doing so makes me wince. I would have to do it 90 times per column across hundreds of cells each time and I'm after much more than just temperatures.
Is there a less labour intensive way of doing this?
View 12 Replies
View Related
Aug 14, 2006
Say I have a list in Column A, down 5 rows:
test 1
test 2
test 3
test 4
test 5
I want to write a macro which does the following:
1. Count number of items in A, call it X.
2. On another worksheet, insert X number of rows.
3. copy each of the items in A, and uses those items as headings in the new columns.
This is where I get to my problem. How do you copy the items in A, and paste them horizontally across the top as headings, instead of the normal vertical?
View 4 Replies
View Related
Mar 5, 2010
I am trying to develop a macro in excel that CUTS AND PASTES rows of data from one worksheet in to the next available row in a new worksheet if there is a date in a particular cell. If the cells that are being checked for a date are empty, then the routine would skip these rows of data.
Here is an example of the worksheet. All rows containing a date in the Scanned column, would be cut and pasted in to a new worksheet. And any rows that have an empty cell in the Scanned column are ignored. If the Scanned column is filled at a later date, then when the macro is run, the data in that row would be cut and pasted in to the next available row in the new worksheet.
TasksNameIDRespPhaseDueScannedImportedSamLLLLO119/04/201003/04/2010KM12/02/2010BMJoe123DH1JOD12/02/2010BMAnn456WS117/03/201003/03/2010JOD12/02/2010BMJohn789DH401/03/201015/02/2010JOD12/02/2010BM
View 9 Replies
View Related
Jun 1, 2006
I have a main worksheet with several categories in column A. I would like to set up an IF statement VBA macro, where by if cell "A2" = XYZ, then copy entire row 2 to worksheet XYZ; if cell "A3" = ABC, then copy entire row 3 to worksheet ABC, etc.
View 4 Replies
View Related
Jul 10, 2014
So, I have a document 25 pages long. It has 26 sections (1-26) and each section has up to 10 (.1 - .10) sub sections which contain 16 (a-p) sub-sub-sections. There are 6 columns of varying widths. Some cells, in a row, merge into adjacent cells.
I would like to break this document into 26 documents - one for each section - so that I may recombine and regroup them in the future incorporating a few modifications. Whenever I copy and paste to a new Workbook, I loose the formatting of column widths. Resetting these alone takes lots of time.
I have come up with is to duplicate the entire document and delete everything above and below the section I would like to save. Then repeat for next section. There's got to be a better way?
View 10 Replies
View Related
Aug 8, 2007
In column A I have the age of a sale i have completed (compared against todays date) and from B - N of the same row i have the data that coresponds to the sale. As Column A changes daily by 1 i would like to only keep the rows whereby column A is between 1 - 10. For any that are above 10 I would like to cut and paste to a second sheet, strangely entitled "older than 10 days" !
as there are formulas after column N which calculates the data i would only like to cut columns B - N of the specific row.
I think I need to create a macro that first sorts column A so I have the oldest data at the top and then a loop to check if these are above 10, i then want to cut from B - N and paste into another sheet.
View 9 Replies
View Related
Jan 15, 2009
Here's what I want it to look like:
Here's Macro Code I have thus far: ....
View 9 Replies
View Related
May 7, 2009
I am trying to round up or down in excel to the nearest 5 mins , but with no joy
ie 05:24 = 05:25
06:21 = 06:20
View 4 Replies
View Related
Jan 31, 2014
I have a table into which I paste values to ColumnA. The other columns have formulas. The number of values to be pasted varies. When the number being pasted this time is less than the number pasted last time, empty rows remain above the valid data after sorting, which is undesirable. I want to get rid of those rows just before (or after?) pasting the new values. The way I see it is I want to delete all but the first data row of the table so the formulas remain untouched in the first row. Then, as new values are pasted the formulas replicate automatically.
Sample file is attached : Sample.xlsm
View 14 Replies
View Related
Mar 17, 2009
I have a data feed that gives a column of cells formated mm/dd/yy hh:mm
These are call entries, what i want to do is count all the occurances each hour, so count all the entries say between 9am and 10am. However the column is very long and holds data for many weeks so i want to be able to ignore the date part of the cell.
For example
3/17/09 9:58
3/18/09 10:58
3/18/09 8:58
3/19/09 8:58
3/19/09 9:58
3/19/09 9:58
So the entries between 9 and 10 are = 3
Ideally i do not want to do text to colums and split out the parts. i would like to leave the source data alone.
View 7 Replies
View Related
Nov 23, 2012
I have an entire column with numbers such as 48, 95, 30 etc representing hours. how do i format cell so that these numbers will show, 2days, 3days-23hrs-45mins, 1day-6hrs
Thought it would be easy enough to just right click and format the cell but doesn't seem to have the option *shrugs*.
View 2 Replies
View Related
Mar 11, 2014
I have a macro which opens a csv file, moves a few columns about then pastes the data into a master workbook. The problem I have is that even though there is only around 1,500 rows of data on the csv file, the sheet on the master workbook is showing up to row 1,048,576 after the data has been pasted in! This is causing issues as I use this data later on in the macro and there are a couple of 'find and replace' commands that take an age to run because of the number of blank rows.
Code:
Workbooks.Open Filename:= _
"L:PVDDBB15." & Format$(Sheet1.Range("G5"), "ddmmyy") & ".csv"
Columns("AB:AB").Select
[Code].....
View 7 Replies
View Related
Aug 1, 2008
i have =TIME(LEFT(F17,FIND("h",F17)-1),RIGHT(F17,2),0). which gives a time in the format 9:30PM, or 10:30AM etc. How would i change the formula to give me a time minus 15 mins. Eg, if the above formula gave me 8:45PM, i would want it to show 8:30PM
View 4 Replies
View Related
Jan 14, 2009
I am creating a very quick holiday excel sheet where people can fill in the hours they want on which days.
I have a summery sheet too.
So if someone wants to take a full day which is 7.4 hours. How would this be represented as Hours and minutes?
View 9 Replies
View Related
Feb 10, 2010
Formula that will change seconds to hours and mins, example 270 mins would show up as 4 hours 30 mins, not 4.5 hours. My second thing is how can I double the times in the same formula.
View 9 Replies
View Related
Jan 12, 2009
If a person does a full day I want the formula to calculate how many hours minus 30 mins for lunch i.e. 7:30 - 4:00 = 8 hours. I have done this and it works fine, the problem comes when a person does a half day i.e. 7:30 - 11:30, this will read 4.5 hours. If this is the case I don't want the 30mins deducted so it should be 4.0 hours worked.
I have high lighted a column in the work sheet (yellow) whereby the user puts an 'x' in the appropriate cell if they are working a half day.
The probem is I cannot incorperate the two formulas in one cell (the Actual hours cell) I have the one formula in the actual hours cell and the other bolted on the end thus giving two different readings.
View 14 Replies
View Related
Oct 13, 2008
how do i go about setting a message box to pop up every 10 mins or so prompting the user to close the workbook.? i want it to be as irritating as possible! iv'e had a look at ontime but cant get my brain into gear!also don't some of these timers fire even if workbook closed?
View 4 Replies
View Related
Feb 3, 2010
I was messing around with a simple countdown timer and need a little help converting a decimal into a format of #days, #hours, #minutes and #seconds.
Cell A1 has target to countdown to 4/14/2010 12:00:00 AM
Cell A2 contains =NOW()
Cell A3 contains =A1-A2 with the result being 69.4021441 with the amount of decimal places varying depending on when it is refreshed.
I'd Like the result in A3 to read something like "There are 69 days, XX hours, XX minutes and XX seconds until event"
View 10 Replies
View Related
Mar 2, 2010
The below formulae allows me to see the difference between two dates and only returns the difference in working hours ie :
Difference between
02/02/2010 08:00 & 03/02/2010 08:00 is 16 Hours 0 Minutes
=(INT(A3)-INT(C6))+MAX(MOD(A3,1)-MAX(MOD(C6,1)))
The following displays it in the Hrs and Mins format
=TEXT(B15,"[h]")&" Hour"&IF(OR(TEXT(B15,"[h]")+0=0,TEXT(B15,"[h]")+0>1),"s "," ")&MINUTE(B15)&" Minute"&IF(MINUTE(B15)1,"s ",""))
View 9 Replies
View Related
Feb 9, 2010
For simplicity sake if I wanted to paste the letter A in to a cell that already had the letter B in it to make the cell read AB how could I achieve this?
View 10 Replies
View Related
Apr 21, 2009
i need to convert second to Hours and mins and can do so using:
View 3 Replies
View Related
Dec 11, 2006
I have a macro that is checking to see if a column meets my criteria. If it does I have it set up to copy the entire row and paste it to the next sheet. How can I write the code to tell it to paste to the next available row on that sheet?
View 9 Replies
View Related
Jul 9, 2014
Let's say there's a couple row:
[Code].....
Here's a column I will be pasting:
[Code] ....
If I want to "Insert Copied Cells" in place of Yellow on Row1 and shift the cells down, the rows would look like this:
[Code] .....
How can I make it so the rows would be the following during such a paste:
[Code] .....
This is because I have hundreds of cells that I need to insert as columns all the while pushing complete rows down. If you're trying to understand why, it will be for some online marketing purpose as demonstrated here in this sheet: [URL] ...
View 7 Replies
View Related
Apr 1, 2014
I have the following which works as it should. However I want to tweak it so that instead of the Environ Username getting pasted into the sheet under the last used row in Column U, it pastes the environ username in the first blank row it finds in Col U starting from row 1 and looking down.
[Code] .....
View 1 Replies
View Related
Dec 15, 2008
I have the following code which copies and pastes from one row to another
View 3 Replies
View Related
Mar 25, 2009
I'm trying to paste something into the row after the last row with data in Column A. What is wrong with my code?
View 2 Replies
View Related
Jul 12, 2007
On a sheet of my workbook, I need to allow typing but not pasting. I'm using Workbook, because I'd just as soon not allow pasting anywhere.
If the data is copied from within Excel, this seems to work:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Application.CutCopyMode = False
End Sub
but if the data is copied from somewhere outside of Excel, it pastes it anyway.
View 9 Replies
View Related
Dec 1, 2007
I've got cells which change after I use Solver to do simulations, These cells after the calculation is run I'd lke to paste into a seperate sheet and row for example (in preparating of charting them for example)..
I would like to paste it as folllows for example... .. but problem is, let's say the below list are in column A of the new sheet, than column B would be the first output of the calculation in the other sheet, column C would be the second output from the calculation in the other sheet. and so on..
I don't know the first thing on scripting, but I'd like to click on button where the calculations are made which when clicked on ,will paste to the other sheet in this sort of manner below.
Each calculation will use another column.. so the script must recognise there is other columns to the left already filled, ie. B, C, D, E F, coresponding to the results of calculations already performed.
Gross income
Expenses
Net Tax
View 9 Replies
View Related