llastrow

  1. C

    Need help adding the same formula multiple times below the last row with data

    Hi all Could any of you please let me know if this is possible. The macro below adds the formula 5 times after the last data entry. Is there a way to shorten it, so the rows 1-5 could be on 1 line. Sub Test() Dim lLastRow AsLong With Sheets(1) lLastRow = .Range("K" &...
  2. B

    Help with reparing code for removing blank rows in a range

    The following code for deleting blank rows within a range has stopped working for me. I need help with direction for how to make it start working again. Here is the message dialog box that popped up when I did a "Step In" to see if I could figure out what was wrong with the code: Run-time...
  3. L

    VBA Formula with dynamic range.

    Hi, I'm struggling with a formula in VBA. I need a formula for a dynamic range. This is the formula I have in my spreadsheet =SUM(P10:Q16)/(SUM(C10:C16)-SUM(D10:16)) I need help with the code below, which I need to put in the macro. I want it to calculate the cells from row 5 to the last row...
  4. M

    Removing duplicates from each column

    Hi, I found the following code to remove duplicates from each column without taking the contents of other columns into account. However, this code is designed to complete this action for each worksheet in a workbook. For the purposes of my learning more about VBA (I have just started to do some...
  5. S

    How to Extend the Formula with Iferror Vlook

    Hi Friends, i am new to VBA, need to help with the code i am already using it , Need to add formula In Priced Accessions if Cell P2 = 0 then K2*50% I am using Iferror and Vlook up in the below code, now i also need to ammend where the result came o it will be multiplied by Corresponding...
  6. R

    Vlookup

    I am trying to lookup the value in column I, in worksheet "QA Hold", and paste the value from the lookup table in worksheet “Master Part Numbers” A2:B1000, column B, and paste in column J in worksheet “QA Hold”. If I were doing a formula, it would look like this: =VLOOKUP(I2,'Master Part...
  7. J

    Macro to concatenate

    I'm trying to run a macro to concatenate two columns J&D to column K. Ive looked through past threads and got this far, but some of my cells are blank in column J&D but would still like to combine the data. What do I need to change to make this happen I'm guessing its something to do with...

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