Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I hope someone out there can help!
I want to write a macro that performs the sumif function on files in which the range changes from worksheet to worksheet. Each worksheet that contains a variable number of rows. At the end of the worksheet, I would like to have a macro to sumif column L through column Z (dependent on column A). One worksheet might have 15 rows and another might have 300 rows. The criteria in column A is text and column L through column Z is numerical : it is the number of rows that change. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Can anyone help write the macro to accomplish this task?
"csimont" wrote: I hope someone out there can help! I want to write a macro that performs the sumif function on files in which the range changes from worksheet to worksheet. Each worksheet that contains a variable number of rows. At the end of the worksheet, I would like to have a macro to sumif column L through column Z (dependent on column A). One worksheet might have 15 rows and another might have 300 rows. The criteria in column A is text and column L through column Z is numerical : it is the number of rows that change. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Why not just use the whole column?
And if you put the totals at the top (row 1), you can use row 2 to 65536. csimont wrote: I hope someone out there can help! I want to write a macro that performs the sumif function on files in which the range changes from worksheet to worksheet. Each worksheet that contains a variable number of rows. At the end of the worksheet, I would like to have a macro to sumif column L through column Z (dependent on column A). One worksheet might have 15 rows and another might have 300 rows. The criteria in column A is text and column L through column Z is numerical : it is the number of rows that change. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I use formulas with changing ranges in excel with macros | Excel Discussion (Misc queries) | |||
monitoring a changing range of cells | Excel Discussion (Misc queries) | |||
monitoring a changing range of cells | Excel Worksheet Functions | |||
Changing a range of an array in a SUMPRODUCT formula gives a #N/A error | Excel Discussion (Misc queries) | |||
changing a range of fields | Excel Discussion (Misc queries) |