A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

subtotal function using criteria



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2008, 11:22 PM posted to microsoft.public.excel.worksheet.functions
dbroc
external usenet poster
 
Posts: 2
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  
Old April 19th, 2008, 11:40 PM posted to microsoft.public.excel.worksheet.functions
Domenic[_2_]
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  
Old April 19th, 2008, 11:41 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips
external usenet poster
 
Posts: 5,994
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  
Old January 9th, 2010, 02:30 PM posted to microsoft.public.excel.worksheet.functions
Rajesh Kodethoor
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  
Old January 9th, 2010, 04:04 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
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  
Old January 10th, 2010, 02:46 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
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?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.