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  

filtering subtotals and if functions



 
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2010, 08:46 PM posted to microsoft.public.excel.worksheet.functions
fam
external usenet poster
 
Posts: 2
Default filtering subtotals and if functions

I have amount due in column G, who owes amount in column H, who provided the
service in column f.

I need to be able to Filter on column f, total amount due in column G, based
on who owes in column H.

I wrote a formula which works for totals in column G based on column H, but
it includes all service providers and I want it to only include the items I
have filtered for. =SUMIFS(G7:G1448,H7:H1448,1)

Currently Column G subtotals when I filter on column F. I need subtotals
for column G based on who owes in Column H.
  #2  
Old May 3rd, 2010, 11:09 PM posted to microsoft.public.excel.worksheet.functions
fam
external usenet poster
 
Posts: 2
Default filtering subtotals and if functions

C F G H
A Jim 5 1
B Jimmy 6 2
C John 5 2
A Joe 6 1

Column C is the company a service was provided for.
Column F is the person who provided the service.
Column G is amount due
Column H designates if the company pays me directly (2) or if the company
paid the service provider who then pays me (1).
Currently I provide the company with the details of what they owe my by
filtering on Col C and then sbutotal Col G for companys' amount due.

I want to find an efficient way to be able to provide the service provider
with the details of how much he owes me and how much I directly collected
from companies where he provided the service.
Currently I filter on F (service provider) and use the following formula in
2 separate cells:
=SUMIFS($G$7:$G$1448,$F$7:$F$1448,"Jim",$H$7:$H$14 48,1)
=SUMIFS($G$7:$G$1448,$F$7:$F$1448,"Jim",$H$7:$H$14 48,2)
The problem is: I have between 90 -150 names each month in Col F and so I
have to type the service provider name in the each time I filter by Col F.

Is this clearer?



"fam" wrote:

I have amount due in column G, who owes amount in column H, who provided the
service in column f.

I need to be able to Filter on column f, total amount due in column G, based
on who owes in column H.

I wrote a formula which works for totals in column G based on column H, but
it includes all service providers and I want it to only include the items I
have filtered for. =SUMIFS(G7:G1448,H7:H1448,1)

Currently Column G subtotals when I filter on column F. I need subtotals
for column G based on who owes in Column H.

  #3  
Old May 4th, 2010, 01:55 AM posted to microsoft.public.excel.worksheet.functions
Domenic
external usenet poster
 
Posts: 219
Default filtering subtotals and if functions

Try...

=SUMPRODUCT(--(H7:H1448=1),SUBTOTAL(9,OFFSET(G7:G1448,ROW(G7:G14 48)-ROW(G7),0,1)))

--
Domenic
Microsoft MVP - Excel
www.xl-central.com, "Your Quick Reference to Excel Solutions"

"fam" wrote in message
...
I have amount due in column G, who owes amount in column H, who provided
the
service in column f.

I need to be able to Filter on column f, total amount due in column G,
based
on who owes in column H.

I wrote a formula which works for totals in column G based on column H,
but
it includes all service providers and I want it to only include the items
I
have filtered for. =SUMIFS(G7:G1448,H7:H1448,1)

Currently Column G subtotals when I filter on column F. I need subtotals
for column G based on who owes in Column H.


 




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:18 AM.


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