![]() |
#1
|
||||
|
||||
![]()
Hi all. I have a spreadsheet that needs a subtotal of values below a blank cell. Is there a single formula that I could use to get the subtotals by filtering the cells where the subtotals are and pressing Ctrl+Enter? I would like to use =SUBTOTAL(109) instead of the SUM function to get the totals.
Attached is a sample table. The real table contains around 3,800 subtotals. Thank you. |
#2
|
||||
|
||||
![]()
I don't quite understand your query
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#3
|
||||
|
||||
![]()
Okay. In the attached sample table, if I select C8:C35, what is the formula that would get the subtotal of all values above the formula until the blank cells? That after entering the formula, I press Ctrl+Enter to apply the code in all the selected cells where the subtotals should be?
Thank you. |
#4
|
|||
|
|||
![]()
Instead of copy of paper table from 18.-19. century, use a table with structure like
Name, Amount1, Amount22, Amount222 or even better Name, WhateverParameter, Amount Then you can simply create a pivot table which will give you any totals and subtotals you need. |
#5
|
||||
|
||||
![]()
I still don't get it. Could you please fill in some desired results manually. Thx
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#6
|
||||
|
||||
![]()
Attached is the desired result in another table. Thank you.
|
#7
|
||||
|
||||
![]()
Would using some extra columns help?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#8
|
||||
|
||||
![]()
Any success?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#9
|
||||
|
||||
![]()
I'm sorry. I had been swamped by other tasks. Adding helper columns would mess the table. Thank you for the suggestion. I could use it in other data problems.
|
#10
|
|||
|
|||
![]()
Why don't do it as in added example instead?
The totals calculation doesn't depend on order the data are entered into tData Table. I.e. there is no need for entered data to be sorted in any way (e.g. by Group); To add new groups later, you simply add a new row into tTotals Table with new group value, and after that you can add any number entries for new group into tData Table - without any need to redesign of any formulas. In tData Table, you can hide the Group column, in case you want this. I freezed the rows until the header row of tData table, so this header and tTotals Table will be always visible. (Btw. You can define the Group column of tTotals Table as Named Range, and use it as the source of Data Validation List for Group column in tData Table) |
#11
|
||||
|
||||
![]()
Thank you Arvil. Yours is another idea and approach that I could use later.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to match values in one column to values in six others and return the value of a cell from corre | SnakeDoctor | Excel | 4 | 09-09-2024 12:55 PM |
IF cell in Col A is populated BUT cell in Col C is blank DELETE ROW | ChrisOK | Excel Programming | 7 | 05-05-2019 09:00 PM |
![]() |
kevinbradley57 | Excel Programming | 2 | 04-17-2018 08:40 AM |
![]() |
mbesspiata | Excel | 1 | 01-17-2015 05:02 AM |
![]() |
TBD | Excel | 3 | 06-09-2014 06:14 AM |