Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
how can I write a formula to populate the "13" or "20" automatically
for whatever row I am in? Just to be different... Add a range name formula. This macro will do it for you... ActiveWorkbook.Names.Add Name:="fx", RefersToR1C1:= _ "=RC2*SUM(RC3:RC5)" Now, in a cell in any column(except B:E), just enter the formula =Fx = = = = = = = HTH :) Dana DeLouis On 3/12/2010 8:53 AM, DaveR wrote: I have several rows with the same formula but they are seperated, in some cases, by rows with other information to prevent me from just dragging a formula down to other rows. Ex. While in row 13: B13*C13+B13*D13+B13*E13 While in row 20: B20*C20+.... how can I write a formula to populate the "13" or "20" automatically for whatever row I am in? Thanks, Dave |