Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am looking for a way to use script to say if there is data in A place
=B1+C1 in D of the same row. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub formularizer()
For Each r In Intersect(ActiveSheet.UsedRange, Range("A:A")) If IsEmpty(r) Then Else n = r.Row r.Offset(0, 3).Formula = "=B" & n & "+C" & n End If Next End Sub -- Gary''s Student - gsnu200909 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Would this go in the sheet code?
These are the actual formulas I am using =A55-WEEKDAY(A55,2)+1 =A55-DAY(A55)+1 Thank you "Gary''s Student" wrote: Sub formularizer() For Each r In Intersect(ActiveSheet.UsedRange, Range("A:A")) If IsEmpty(r) Then Else n = r.Row r.Offset(0, 3).Formula = "=B" & n & "+C" & n End If Next End Sub -- Gary''s Student - gsnu200909 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
For your initial query.
Range("D1:D10").Formula = "=IF(A1<"""",B1+C1,"""")" If this post helps click Yes --------------- Jacob Skaria "Jeremy" wrote: Would this go in the sheet code? These are the actual formulas I am using =A55-WEEKDAY(A55,2)+1 =A55-DAY(A55)+1 Thank you "Gary''s Student" wrote: Sub formularizer() For Each r In Intersect(ActiveSheet.UsedRange, Range("A:A")) If IsEmpty(r) Then Else n = r.Row r.Offset(0, 3).Formula = "=B" & n & "+C" & n End If Next End Sub -- Gary''s Student - gsnu200909 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula or script needed | Excel Discussion (Misc queries) | |||
Automate a formula in excel | Excel Discussion (Misc queries) | |||
Vlookup formula script | Excel Discussion (Misc queries) | |||
How can I script formula? | Excel Worksheet Functions | |||
automate formula | Excel Discussion (Misc queries) |