Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fam fam is offline
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
fam fam is offline
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
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.


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 my functions to use subtotals? cherman Excel Worksheet Functions 6 December 22nd 09 02:32 AM
using the subtotals (data) can you use muliple functions(sum,max) cooleys Excel Worksheet Functions 1 October 3rd 06 07:16 PM
Filtering With Subtotals. pt_lily Excel Discussion (Misc queries) 2 June 6th 06 10:36 PM
Subtotals Problem when Filtering Brenda Rueter Excel Discussion (Misc queries) 2 February 15th 05 09:05 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 12:25 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"