efficiency

  1. J

    I want to learn

    I have a Database that looks like this: Before <tbody> [A].NAME, [A].GROUP_CODE, [A].ENTITLED_AMT, A].PTY_TRN_UID, [A].SumOfEntAmt Jim NAN -26.20 J301 -218.5 Jim NAN 26.20 J302 218.5 Jim NAN -75.20 J301 -218.5 Jim NAN 75.20 J302 218.5...
  2. S

    Use Macro to replace =sum() for large amount of data

    Hi, This is what I currently have : Google Drive: https://docs.google.com/file/d/0B89c...it?usp=sharing I currently have =sum() formula in the STARTING from the column range: EA101 --> =SUM(CA101:CA105) <<sum of="" 5="" rows="">></sum> Drag to autofill across, and to bottom, 4 rows above...
  3. K

    What is more efficient?

    I have several tabs that break out specific data for different locations. </SPAN> I am creating another tab summarize the data. What I am wanting to know is it more efficient to subtotal the data on each location tab and then total the sub totals on the summary tab or is it better to total...
  4. A

    How to "split" and store the highest array item in a single line of code

    I currently have the following code to load all file names and paths into my workbook: For Each File In fld.Files DoEvents 'allow other processes to execute TotalFileCount = TotalFileCount + 1 'increment file counter...
  5. E

    How do I do this efficiently?

    I have a large spreadsheet with students' test scores since 2006. I wanted to find out how 10th graders who were in our system in our system since 4th grade did. Thus I want I subset of our group of 2012 10th grade students. The spreadsheet has student info and then grade, the date the test...
  6. J

    how can this loop be speeded up?

    iRowL is generally over 2000. Waiting for this loop to execute is like watching paint drying. Any suggestions will be appreciated.
  7. D

    VBA - Faster alternative to Vlookup?

    I have a macro that loops thousands of times, and I believe it is really being slowed down by several Vlookups occuring in the code. I have several large arrays with data, and I need to pull data from the array in each loop using a different lookup value. Currently I am using...
  8. Z

    Reducing Solver Calculation

    i've create a VBA code that uses Solver several times to optimize four values on my spreadsheet (the location of the four values does not change). The solver only requires calculations on a certain number of rows (say 1-200), but changing the four variables will recalculate the entire...
  9. E

    More Efficient Average

    I thnk this should be easy but I did not find it in a quick look through the archives. I have an example where I want to find the state average (mean) but the way the state reports the data makes it more complicated. It does not tell me the state average but it does tell me the number of kids...
  10. P

    Alternative to using a slow loop!!

    hi all, Im hoping that someone can help me improve the efficiency of the below code. It currently takes about 20-25 seconds to run, which would be acceptable if it only had to run once, but it has to run 10+ times, which is blowing the processing time out into minutes which is far to long. The...
  11. P

    improving efficiency of a macro (eliminate worksheetfunctions)

    Hi all, I'm hoping somebody out there can help me with this. I currently have a macro that loops through a series of cells and populates them off a table stored in another sheet. The segment of the current code is below: On Error Resume Next Dim lookup_val As String For x = 12 To 36...
  12. D

    Simultaneous running of macros...

    Curious to know is there a way to run multiple macros at once...literally at the same time. For example, let's say I had a macro "A" which works well but takes three hours to complete... I'm wondering if I open three sessions of MS Excel and run macro "A1", "A2", and "A3" if I can cut down the...
  13. I

    IF statement efficiency

    I'm trying to make sure that a huge range of IF statements evaluate as quickly and efficiently as possible. Each cell that I'm testing has either a number or a "-" if there is no data. On the presentation sheet, I want to show a blank cell when there is no data. So, the IF statements all say...
  14. B

    Copy -> Paste Values Efficiency Question

    Quick question here: If I want to copy a cell (say... the input sheet, cell C4) and paste only its value somewhere else (say... the results sheet, cell B4), is there a better way to do it than [C4].Copy Sheets("Results").Range("B4").PasteSpecial Paste:=xlPasteValues, Operation:= _...
  15. B

    Formatting Macro

    I'm working on creating a table that dynamically adjusts its appearance based on what data the user inputs. Eventually, this table will be used to feed an existing spreadsheet with data to generate an entire new spreadsheet worth of results. The way it works now is that there are several...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top