Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, guys,
I am using data tables in Excel 2010 for Windows. I have this formula: =SUBTOTAL(102,Table2[Key]) I want the subtotal to be conditioned on whether the key value is greater than 16000000 (or more humanly readable, 16,000,000). Thanks for the ideas. /s |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Sarah,
Am Thu, 7 Jan 2016 13:10:06 +0000 (UTC) schrieb Sarah H.: =SUBTOTAL(102,Table2[Key]) I want the subtotal to be conditioned on whether the key value is greater than 16000000 (or more humanly readable, 16,000,000). can't you filter the Key by 16.000.000? If not try following formula (the values are in column A): =SUMPRODUCT(SUBTOTAL(2,INDIRECT("A"&ROW(2:1000)))* (A2:A100016000000)) Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Claus Busch wrote:
Hi Sarah, Am Thu, 7 Jan 2016 13:10:06 +0000 (UTC) schrieb Sarah H.: =SUBTOTAL(102,Table2[Key]) I want the subtotal to be conditioned on whether the key value is greater than 16000000 (or more humanly readable, 16,000,000). can't you filter the Key by 16.000.000? If not try following formula (the values are in column A): =SUMPRODUCT(SUBTOTAL(2,INDIRECT("A"&ROW(2:1000)))* (A2:A100016000000)) That's perfect! Thanks very much! I can't filter on that dependably because I want to see the data filtered other ways but still know how many are in that key category. I understand what each function does that you gave,but I don't quite understand why the INDIRECT works its magic here to help my situation. /s |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Sarah,
Am Thu, 7 Jan 2016 13:53:28 +0000 (UTC) schrieb Sarah H.: I understand what each function does that you gave,but I don't quite understand why the INDIRECT works its magic here to help my situation. you need the INDIRECT function that only the visible rows in the range A2:A1000 are calculated. Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Claus Busch wrote:
Hi Sarah, Am Thu, 7 Jan 2016 13:53:28 +0000 (UTC) schrieb Sarah H.: I understand what each function does that you gave,but I don't quite understand why the INDIRECT works its magic here to help my situation. you need the INDIRECT function that only the visible rows in the range A2:A1000 are calculated. Thank you, Claus! That makes perfect sense now. /s |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional SUBTOTAL in XL210 Table | Excel Discussion (Misc queries) | |||
Subtotal based on a range of data in Pivot Table | Excel Worksheet Functions | |||
Subtotal pivot table data to show % split | Excel Discussion (Misc queries) | |||
Conditional Subtotal in table | Excel Discussion (Misc queries) | |||
Pivot Table: showing data as % of subtotal | Excel Discussion (Misc queries) |