Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default subtotal function using criteria

I'm trying to use the subtotal function to total figures in a list based on a
technician's name. For example, use the subtotal function instead of the
sumif function. In short, can you use criteria with the subtotal function...

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default subtotal function using criteria

Assuming that A2:A100 contains the name, and B2:B100 contains the
figures, try...

=SUMPRODUCT(SUBTOTAL(9,OFFSET(B2:B100,ROW(B2:B100)-ROW(B2),0,1)),--(A2:A1
00="Name"))

Hope this helps!

In article ,
dbroc wrote:

I'm trying to use the subtotal function to total figures in a list based on a
technician's name. For example, use the subtotal function instead of the
sumif function. In short, can you use criteria with the subtotal function...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default subtotal function using criteria

Here is an example of a SUBTOTAL count with a criteria

=SUMPRODUCT(SUBTOTAL(3,OFFSET(C1,ROW($C$2:$C$19)-ROW($C$1),,1)),--($C$2:$C$19="Assigned"))


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"dbroc" wrote in message
...
I'm trying to use the subtotal function to total figures in a list based
on a
technician's name. For example, use the subtotal function instead of the
sumif function. In short, can you use criteria with the subtotal
function...



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default subtotal function

I am using a file with more than 10000 lines, i have used subtotal function &
when I remove the subtoal its taking a lot time to remove, is there any
solution to this?
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default subtotal function

You may want to consider using pivottables.

But I'd try turning calculation to manual, then remove the subtotals, then turn
it back to what it was (automatic??).

In xl2003 menus:
tools|options|calculation tab
is where you'd find this setting.

Rajesh Kodethoor wrote:

I am using a file with more than 10000 lines, i have used subtotal function &
when I remove the subtoal its taking a lot time to remove, is there any
solution to this?


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default subtotal function

Hi,

Just a clarification - have you used Data Subtotal or =subtotal(9,range)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rajesh Kodethoor" wrote in
message ...
I am using a file with more than 10000 lines, i have used subtotal
function &
when I remove the subtoal its taking a lot time to remove, is there any
solution to this?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed a countif function in subtotal function? Stuck at work Excel Worksheet Functions 1 February 14th 06 03:19 AM
subtotal - multiple criteria mdma Excel Worksheet Functions 7 August 18th 05 05:19 PM
Subtotal function George Gee New Users to Excel 3 January 20th 05 08:37 PM
How do I nesting subtotal function within average function in Exc Amy Yeh Excel Worksheet Functions 4 January 19th 05 06:23 PM
SUBTOTAL and then count with criteria Jane Excel Worksheet Functions 3 January 13th 05 07:04 AM


All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"