Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If one follows your example's instructions, rather than your example's
cell references, one way: Dim rRng As Range Set rRng = Range("I3:I" & Range("I" & Rows.Count).End(xlUp).Row) With rRng.Offset(rRng.Count + 1, 0).Resize(1, 1) .Formula = "=SUBTOTAL(109," & rRng.Address(False, False) & ")" .AutoFill .Resize(1, 3) .Formula = Application.Substitute(.Formula, "103,", "109,") End With In article , "swatsp0p" wrote: Please translate the following commands into working code. start in column I find the last row go down two more rows (leaving one blank row) enter formula =SUBTOTAL(103,I3:I*) move one cell right (col K) enter formula =SUBTOTAL(109,J2:J*) move one more cell right (col L) enter formula =SUBTOTAL(109,L2:L*) * = the last row with data above current row. Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter a formula that will update as more rows are added? | Excel Worksheet Functions | |||
Find text and enter in new cell | Excel Discussion (Misc queries) | |||
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. | Excel Worksheet Functions | |||
I need a formula to find rows within a date range in one column? | Excel Worksheet Functions | |||
Find, Offset, Enter Number | Excel Programming |