auto fill and shortcut keys

lgerick

New Member
Joined
Oct 8, 2008
Messages
25
Hi Excel guru's ... looking for some help on what is likely a simple issue but has me stumped!!

I am wanting to auto fill formulas in cells to the right of the original formula, but wanting the Column to stay the same and the Row to increase by 1.

for example .. there are 5 cells in question they are

A1 B1 C1 D1 E1
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=295 border=0 x:str><COLGROUP><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2157" span=5 width=59><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59 height=18><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:rect id=_x0000_s37894 style="MARGIN-TOP: -12.75pt; Z-INDEX: 6; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext 1pt solid; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37895 style="MARGIN-TOP: -12.75pt; Z-INDEX: 7; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37896 style="MARGIN-TOP: -12.75pt; Z-INDEX: 8; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37954 style="MARGIN-TOP: -12.75pt; Z-INDEX: 30; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37956 style="MARGIN-TOP: -12.75pt; Z-INDEX: 31; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37957 style="MARGIN-TOP: -12.75pt; Z-INDEX: 32; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37958 style="MARGIN-TOP: -12.75pt; Z-INDEX: 33; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37961 style="MARGIN-TOP: -12.75pt; Z-INDEX: 36; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37897 style="MARGIN-TOP: -12.75pt; Z-INDEX: 9; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37959 style="MARGIN-TOP: -12.75pt; Z-INDEX: 34; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37962 style="MARGIN-TOP: -12.75pt; Z-INDEX: 37; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37898 style="MARGIN-TOP: -12.75pt; Z-INDEX: 10; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37960 style="MARGIN-TOP: -12.75pt; Z-INDEX: 35; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37963 style="MARGIN-TOP: -12.75pt; Z-INDEX: 38; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl26 style="BORDER-RIGHT: windowtext 1pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
The Formula in A1 is =SUM(L26) and I would like to use Ctrl + R to
auto fill to the right and have the formula in B1 become =SUM(L27)
and in C1 become =SUM(L28) and in D1 become =SUM(L29) and then in
E1 become =SUM(L30)

but instead it is changing the column and not the row. I have tried
changing it to =SUM($L26) to maintain the column but that does not work
it does keep the column as L but gives the same formula all the way across;

The Formula in A1 is =SUM($L26) and I would like to use Ctrl + R to
auto fill to the right and have the formula in B1 become =SUM($L26)
and in C1 become =SUM($L26) and in D1 become =SUM($L26) and then in
E1 become =SUM($L26)


Any one know how I can make this work so that the formulas change
only the row and not the column.

example again:
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=295 border=0 x:str><COLGROUP><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2157" span=5 width=59><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59 height=18><v:rect id=_x0000_s37894 style="MARGIN-TOP: -12.75pt; Z-INDEX: 6; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext 1pt solid; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37895 style="MARGIN-TOP: -12.75pt; Z-INDEX: 7; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37896 style="MARGIN-TOP: -12.75pt; Z-INDEX: 8; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37954 style="MARGIN-TOP: -12.75pt; Z-INDEX: 30; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37956 style="MARGIN-TOP: -12.75pt; Z-INDEX: 31; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37957 style="MARGIN-TOP: -12.75pt; Z-INDEX: 32; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37958 style="MARGIN-TOP: -12.75pt; Z-INDEX: 33; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37961 style="MARGIN-TOP: -12.75pt; Z-INDEX: 36; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37897 style="MARGIN-TOP: -12.75pt; Z-INDEX: 9; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37959 style="MARGIN-TOP: -12.75pt; Z-INDEX: 34; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37962 style="MARGIN-TOP: -12.75pt; Z-INDEX: 37; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-RIGHT: #eedfdf; BORDER-TOP: #eedfdf; BORDER-LEFT: #eedfdf; WIDTH: 44pt; BORDER-BOTTOM: #eedfdf; BACKGROUND-COLOR: transparent" vAlign=top align=left width=59><v:rect id=_x0000_s37898 style="MARGIN-TOP: -12.75pt; Z-INDEX: 10; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37960 style="MARGIN-TOP: -12.75pt; Z-INDEX: 35; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><v:rect id=_x0000_s37963 style="MARGIN-TOP: -12.75pt; Z-INDEX: 38; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" o:insetmode="auto" strokecolor="windowText [64]" fillcolor="white [9]" filled="f"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl26 style="BORDER-RIGHT: windowtext 1pt solid; BORDER-TOP: #eedfdf; BORDER-LEFT: windowtext; WIDTH: 44pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
The Formula in A1 is =SUM(L26) and I would like to use Ctrl + R to
auto fill to the right and have the formula in B1 become =SUM(L27)
and in C1 become =SUM(L28) and in D1 become =SUM(L29) and then in
E1 become =SUM(L30)


Thanking all in advance for you help and consideration

laura :)
 

Some videos you may like

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
35,417
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
If that is actually your formula, then you don't need SUM and you can achieve this by entering:
|L26
in the first cell, filling across, then replacing (via Ctrl+H) the '|' character with '='
If that was just an example formula, then there is no built in fill method - you would need to adjust your formula to use the column number as an offset or index number.
 

lgerick

New Member
Joined
Oct 8, 2008
Messages
25
If that is actually your formula, then you don't need SUM and you can achieve this by entering:
|L26
in the first cell, filling across, then replacing (via Ctrl+H) the '|' character with '='
If that was just an example formula, then there is no built in fill method - you would need to adjust your formula to use the column number as an offset or index number.


Thanks for your reply .. I tried your suggestion.. it only returned the same for each cell.. Perhaps I am not clear in what I am wanting to accomplish...I will try again ...


laura
 

lgerick

New Member
Joined
Oct 8, 2008
Messages
25
Thanks for your reply .. I tried your suggestion.. it only returned the same for each cell.. Perhaps I am not clear in what I am wanting to accomplish...I will try again ...


laura

...



I am wanting to auto fill formulas in cells to the right of the original formula, but wanting the Column to stay the same and the Row to increase by 1.

for example .. there are 5 cells (columns) in question they are

A1 B1 C1 D1 E1
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=295 border=0 x:str><COLGROUP><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2157" span=5 width=59><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59 height=18><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:rect id=_x0000_s37894 style="MARGIN-TOP: -12.75pt; Z-INDEX: 6; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37895 style="MARGIN-TOP: -12.75pt; Z-INDEX: 7; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37896 style="MARGIN-TOP: -12.75pt; Z-INDEX: 8; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37954 style="MARGIN-TOP: -12.75pt; Z-INDEX: 30; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37956 style="MARGIN-TOP: -12.75pt; Z-INDEX: 31; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37957 style="MARGIN-TOP: -12.75pt; Z-INDEX: 32; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37958 style="MARGIN-TOP: -12.75pt; Z-INDEX: 33; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37961 style="MARGIN-TOP: -12.75pt; Z-INDEX: 36; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37897 style="MARGIN-TOP: -12.75pt; Z-INDEX: 9; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37959 style="MARGIN-TOP: -12.75pt; Z-INDEX: 34; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37962 style="MARGIN-TOP: -12.75pt; Z-INDEX: 37; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37898 style="MARGIN-TOP: -12.75pt; Z-INDEX: 10; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37960 style="MARGIN-TOP: -12.75pt; Z-INDEX: 35; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37963 style="MARGIN-TOP: -12.75pt; Z-INDEX: 38; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl26 style="BORDER-RIGHT: windowtext 1pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num>0</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

<v:shapetype id=_x0000_t75 filled="f" stroked="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype><v:shapetype id=_x0000_t75 filled="f" stroked="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:shapetype id=_x0000_t75 filled="f" stroked="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></v:shapetype>and 5 cells (rows) L26, L27, L28, L29, L30<TABLE style="WIDTH: 30pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=40 border=0 x:str><COLGROUP><COL style="WIDTH: 30pt; mso-width-source: userset; mso-width-alt: 1462" width=40><TBODY><TR style="HEIGHT: 12.75pt" height=17><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 30pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ffcc99" width=40 height=17 x:num>12</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ffcc99" height=17 x:num>16</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ffcc99" height=17 x:num>3</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ffcc99" height=17 x:num>19</TD></TR><TR style="HEIGHT: 12.75pt" height=17><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 12.75pt; BACKGROUND-COLOR: #ffcc99" height=17 x:num>72</TD></TR></TBODY></TABLE>

The Formula in A1 is =SUM(L26) and I would like to use Ctrl + R to
auto fill to the right and have the formula in B1 become =SUM(L27)
and in C1 become =SUM(L28) and in D1 become =SUM(L29) and then in
E1 become =SUM(L30)

<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=295 border=0 x:str><COLGROUP><COL style="WIDTH: 44pt; mso-width-source: userset; mso-width-alt: 2157" span=5 width=59><TBODY><TR style="HEIGHT: 13.5pt" height=18><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; HEIGHT: 13.5pt; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59 height=18><v:rect id=_x0000_s37894 style="MARGIN-TOP: -12.75pt; Z-INDEX: 6; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl24 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT: windowtext 1pt solid; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 12</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37895 style="MARGIN-TOP: -12.75pt; Z-INDEX: 7; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 16 </TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37896 style="MARGIN-TOP: -12.75pt; Z-INDEX: 8; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37954 style="MARGIN-TOP: -12.75pt; Z-INDEX: 30; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37956 style="MARGIN-TOP: -12.75pt; Z-INDEX: 31; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37957 style="MARGIN-TOP: -12.75pt; Z-INDEX: 32; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37958 style="MARGIN-TOP: -12.75pt; Z-INDEX: 33; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37961 style="MARGIN-TOP: -12.75pt; Z-INDEX: 36; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 3</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37897 style="MARGIN-TOP: -12.75pt; Z-INDEX: 9; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37959 style="MARGIN-TOP: -12.75pt; Z-INDEX: 34; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37962 style="MARGIN-TOP: -12.75pt; Z-INDEX: 37; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl25 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 19</TD></TR></TBODY></TABLE></TD><TD style="BORDER-LEFT-COLOR: #eedfdf; BORDER-BOTTOM-COLOR: #eedfdf; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BACKGROUND-COLOR: transparent; BORDER-RIGHT-COLOR: #eedfdf" vAlign=top align=left width=59><v:rect id=_x0000_s37898 style="MARGIN-TOP: -12.75pt; Z-INDEX: 10; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37960 style="MARGIN-TOP: -12.75pt; Z-INDEX: 35; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><v:rect id=_x0000_s37963 style="MARGIN-TOP: -12.75pt; Z-INDEX: 38; MARGIN-LEFT: 0px; WIDTH: 9pt; POSITION: absolute; HEIGHT: 13.5pt" filled="f" fillcolor="white [9]" strokecolor="windowText [64]" o:insetmode="auto"></v:rect><TABLE cellSpacing=0 cellPadding=0><TBODY><TR><TD class=xl26 style="BORDER-RIGHT: windowtext 1pt solid; BORDER-LEFT-COLOR: windowtext; WIDTH: 44pt; BORDER-TOP-COLOR: #eedfdf; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 13.5pt; BACKGROUND-COLOR: #ff99cc" width=59 height=18 x:num> 72</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

but instead it is changing the column and not the row. I have tried
changing it to =SUM($L26) to maintain the column but that does not work
it does keep the column as L but gives the same formula all the way across;



laura
 

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
35,417
Office Version
365, 2019, 2016, 2010
Platform
Windows, MacOS
I should have specified that when I said Fill across, I meant using the fill handle in the bottom right corner of the first cell. You should then get:
|L26 ... |L27...|L28
and then when you do the replace, you will get:
=L26...=L27...=L28

As I said, if your formula is more complicated, you will need to change the actual formula - you can't simply fill across.
 

lgerick

New Member
Joined
Oct 8, 2008
Messages
25
rorya ... thank you thank you and thank you .. it worked like a charm...

have a good day and a GREAT weekend :)

laura
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,897
Messages
5,514,036
Members
408,982
Latest member
starryeyed223

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top