Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, put this in a module and give it a keyboard shortcut so you ca activate it, its just a macro recording of selecting cell A2 the clicking on the sum symbol on the standard toolbar and then draggin all the cells you want to calculate. hope this helps Simon Sub cellcalculate() Range("A2").Select ActiveCell.FormulaR1C1 = "=SUM(R[-1]C:R[-1]C[36])" Range("A2").Select End Su -- Simon Lloy ----------------------------------------------------------------------- Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670 View this thread: http://www.excelforum.com/showthread.php?threadid=27142 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count a Match set of values between cells | Excel Worksheet Functions | |||
Count cells with values x and <y | Excel Discussion (Misc queries) | |||
How do I count cells with non zero values? | Excel Discussion (Misc queries) | |||
Count cells with specific values in the cells next to them? | Excel Worksheet Functions | |||
Using the COUNT funciton to count cells with values | Excel Programming |