r.offset

  1. gheyman

    Modify code so that it takes the results of the code and multiplies it by a value

    The code below runs fine. But I also want to use it to take the results (Dn.Offset(, 6).Value = R.Offset(, 5).Value) and multiplies R.Offset by the value in in the current row. Sub Find_Parent_Quantity() 'Find the Parent's Quantity and place it in Column K Dim Rng As Range, Dn As Range, n As...
  2. E

    VBA - How to get the offset value of filtered data.

    i have filtered data and trying to do the calculation with the one row above or one row down of the filtered data .how to achieve that . please advise? Sub GarsButSuspense() c = 64 rc = Cells(Rows.Count, "A").End(xlUp).Row With Range("A1", Cells(rc, c)) .AutoFilter Field:=64...
  3. M

    UDF for a non-UDF vba

    Is it possible to make the vba code below a UDF function? Instead of running macro with F8 everytime, I'd like to use it with a UDF function only for specific cells? Thanks! Sub Intervals() Dim r As range, C As range With Cells(1).CurrentRegion With .Offset(1).Resize(.Rows.Count...
  4. U

    VBA Modification

    Hi everybody, I have this VBA code which works on the data starting from Row2 of worksheet. Instead of Row2, I want it to start from row5. I tried to change it a little but I was not successful. How can i do this? please. thanks. Sub Intervals() Dim R As Range, C As Range With...
  5. D

    [VBA] set range find() -> finds wrong value

    Hey all, My first time posting on this forum. :) I'm troubled by an annoying problem in my code. My goal is to transpose some data from a vertical to a horizontal structure. A date is looked up in a datasheet and everytime it finds that date, it should copy a value next to it to my summary...

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