Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
I have a sheet with data that is organized by program. For each program I have a subtotal. At the very top I add up all the subtotals to a grand total. As the subtotals are non-continuous and not at a regular intervall, I have so far used a plain Sum function. However, I found an alternative, which is as follows: SUM(A1:A500)/2 It works just the same but I do not understand how. Can somebody please explain? TIA. Regards, Antje Crawford |
#2
![]() |
|||
|
|||
![]()
Because you have subtotals in the same column.
If I have 3 and 4 in a column, and the subtotal in the same column, which is 7, then 3+4+7=14. If I divide 14 by 2, I get my subtotal anyway, which is 7, which is correct. ******************* ~Anne Troy www.OfficeArticles.com "Antje" wrote in message ... Hello, I have a sheet with data that is organized by program. For each program I have a subtotal. At the very top I add up all the subtotals to a grand total. As the subtotals are non-continuous and not at a regular intervall, I have so far used a plain Sum function. However, I found an alternative, which is as follows: SUM(A1:A500)/2 It works just the same but I do not understand how. Can somebody please explain? TIA. Regards, Antje Crawford |
#3
![]() |
|||
|
|||
![]()
Another way to SUM non-contiguous cells is to create a Non-Contiguious
RANGENAME by holding down the Ctrl key while selecting the cells to be included then doing Insert Name Define and giving that range a Name, then use......... =SUM(RangeName) Vaya con Dios, Chuck, CABGx3 "Antje" wrote in message ... Hello, I have a sheet with data that is organized by program. For each program I have a subtotal. At the very top I add up all the subtotals to a grand total. As the subtotals are non-continuous and not at a regular intervall, I have so far used a plain Sum function. However, I found an alternative, which is as follows: SUM(A1:A500)/2 It works just the same but I do not understand how. Can somebody please explain? TIA. Regards, Antje Crawford |
#4
![]() |
|||
|
|||
![]()
One more way:
Use the Subtotal() function throughout for your subtotals, and also for your grand total. Subtotal ignores other subtotal() formulas within the list. Subtotal() does different things, i.e., averages, counts, etc. To make it sum, the syntax is =SUBTOTAL(9, range) You can replace the SUM()s in your list by searching for "=SUM(" and replacing with "=SUBTOTAL(9," "Antje" wrote: Hello, I have a sheet with data that is organized by program. For each program I have a subtotal. At the very top I add up all the subtotals to a grand total. As the subtotals are non-continuous and not at a regular intervall, I have so far used a plain Sum function. However, I found an alternative, which is as follows: SUM(A1:A500)/2 It works just the same but I do not understand how. Can somebody please explain? TIA. Regards, Antje Crawford |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing a range name as an argument to the Index Function | Excel Discussion (Misc queries) | |||
Reference the worksheet from a multiple worksheet range function ( | Excel Worksheet Functions | |||
Function that filters a list (Database) for criteria in a range a. | Excel Worksheet Functions | |||
Function to determine if any cell in a range is contained in a given cell | Excel Worksheet Functions | |||
Counting Function Dilemma | Excel Worksheet Functions |