Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Changing my functions to use subtotals?

I have 2 functions that are calculating my data correctly, except now I need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think it
will ever be over 10,000. I'm using Excel 2003, so I think there's an issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2: SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Changing my functions to use subtotals?

Hi,
Excel 2003 doesn't support to have ranges like A:A you need to specify the
row number

to get subtotal with filters the formula to be used is

=subtotal(9,A1:A30000)

when you filter the total will be updated to the filtered data

to copy filtered data to other sheet do this

once filtered hightlight the range, click CTRL G, Special, visible cells
only, OK, CTRL C, go to where you want to copy the information and paste

if this helps please click yes thanks

"cherman" wrote:

I have 2 functions that are calculating my data correctly, except now I need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think it
will ever be over 10,000. I'm using Excel 2003, so I think there's an issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2: SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Changing my functions to use subtotals?

Thanks for your reply! I appreciate the time.

Can you write out what my new formulas would be? I need to integrate the
subtotal into both my current formulas listed below and I cannot figure
either of them out. I also need the sheet reference I mentioned below. I have
no problems using A1:A10000 instead of A:A.

Thanks again!

"Eduardo" wrote:

Hi,
Excel 2003 doesn't support to have ranges like A:A you need to specify the
row number

to get subtotal with filters the formula to be used is

=subtotal(9,A1:A30000)

when you filter the total will be updated to the filtered data

to copy filtered data to other sheet do this

once filtered hightlight the range, click CTRL G, Special, visible cells
only, OK, CTRL C, go to where you want to copy the information and paste

if this helps please click yes thanks

"cherman" wrote:

I have 2 functions that are calculating my data correctly, except now I need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think it
will ever be over 10,000. I'm using Excel 2003, so I think there's an issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2: SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Changing my functions to use subtotals?

Hi,
The formula below are based in conditions to be met, for example if column A
is equal to cell I5601 you want to sum column F. in this case I don't see why
you want to apply filters. Despite that if you want to apply filters you will
have to add this formula in another cell

=subtotal(9,$c$1:$C$10000)

if you want to have totals of sheet called AAT_Raw_Data use

=subtotal(9,AAT_Raw_Data!$C$1:$C$10000)



"cherman" wrote:

Thanks for your reply! I appreciate the time.

Can you write out what my new formulas would be? I need to integrate the
subtotal into both my current formulas listed below and I cannot figure
either of them out. I also need the sheet reference I mentioned below. I have
no problems using A1:A10000 instead of A:A.

Thanks again!

"Eduardo" wrote:

Hi,
Excel 2003 doesn't support to have ranges like A:A you need to specify the
row number

to get subtotal with filters the formula to be used is

=subtotal(9,A1:A30000)

when you filter the total will be updated to the filtered data

to copy filtered data to other sheet do this

once filtered hightlight the range, click CTRL G, Special, visible cells
only, OK, CTRL C, go to where you want to copy the information and paste

if this helps please click yes thanks

"cherman" wrote:

I have 2 functions that are calculating my data correctly, except now I need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think it
will ever be over 10,000. I'm using Excel 2003, so I think there's an issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2: SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Changing my functions to use subtotals?

Try these...

Let's assume the full unfiltered range is row 2 to row 15.

FORMULA 1: SUMIF(A:A,I5601,C:C)


=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2:C15,ROW(C2:C15)-ROW(C2),0,1)),--(A2:A15=I5601))

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))


=SUMPRODUCT(SUBTOTAL(9,OFFSET(D2:D15,ROW(D2:D15)-ROW(D2),0,1)),--(A2:A15=I5601),--(E2:E15=1))

--
Biff
Microsoft Excel MVP


"cherman" wrote in message
...
I have 2 functions that are calculating my data correctly, except now I
need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think
it
will ever be over 10,000. I'm using Excel 2003, so I think there's an
issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into
account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Changing my functions to use subtotals?

That was the ticket. Just a couple minor changes and bam!

Much thanks!!!


"T. Valko" wrote:

Try these...

Let's assume the full unfiltered range is row 2 to row 15.

FORMULA 1: SUMIF(A:A,I5601,C:C)


=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2:C15,ROW(C2:C15)-ROW(C2),0,1)),--(A2:A15=I5601))

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))


=SUMPRODUCT(SUBTOTAL(9,OFFSET(D2:D15,ROW(D2:D15)-ROW(D2),0,1)),--(A2:A15=I5601),--(E2:E15=1))

--
Biff
Microsoft Excel MVP


"cherman" wrote in message
...
I have 2 functions that are calculating my data correctly, except now I
need
to consider the autofilter. I figure using subtotal is the way to go if I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't think
it
will ever be over 10,000. I'm using Excel 2003, so I think there's an
issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into
account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint



.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Changing my functions to use subtotals?

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"cherman" wrote in message
...
That was the ticket. Just a couple minor changes and bam!

Much thanks!!!


"T. Valko" wrote:

Try these...

Let's assume the full unfiltered range is row 2 to row 15.

FORMULA 1: SUMIF(A:A,I5601,C:C)


=SUMPRODUCT(SUBTOTAL(9,OFFSET(C2:C15,ROW(C2:C15)-ROW(C2),0,1)),--(A2:A15=I5601))

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))


=SUMPRODUCT(SUBTOTAL(9,OFFSET(D2:D15,ROW(D2:D15)-ROW(D2),0,1)),--(A2:A15=I5601),--(E2:E15=1))

--
Biff
Microsoft Excel MVP


"cherman" wrote in message
...
I have 2 functions that are calculating my data correctly, except now I
need
to consider the autofilter. I figure using subtotal is the way to go if
I
want to disregard filtered out rows. Also, I plan on moving my data to
another sheet, so it will need to reference the current sheet, which is
AAT_Raw_Data. Finally, the # of rows of data will vary, but I don't
think
it
will ever be over 10,000. I'm using Excel 2003, so I think there's an
issue
with using something like "A:A" in my formulas.

Can someone help me change these to add in a subtotal and take into
account
the other things I mentioned?

FORMULA 1: SUMIF(A:A,I5601,C:C)

FORMUA 2:
SUMPRODUCT(--($A$1:$A$9995=I5601),--(E$1:E$9995=1),($D$1:$D$9995))

Much Thanks!
Clint



.



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
Changing error reports in functions SupperDuck Excel Discussion (Misc queries) 2 December 20th 06 10:02 AM
using the subtotals (data) can you use muliple functions(sum,max) cooleys Excel Worksheet Functions 1 October 3rd 06 07:16 PM
Why use Subtotals 1-11 instead of the built-in functions directly? Epinn New Users to Excel 6 August 19th 06 10:20 AM
Automatically Changing Functions bmstar Excel Discussion (Misc queries) 2 July 28th 06 02:03 PM
pivot table, functions for subtotals Massimo Excel Worksheet Functions 2 January 23rd 05 07:59 AM


All times are GMT +1. The time now is 01:20 AM.

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

About Us

"It's about Microsoft Excel"