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  

Sum if unique and another criteria



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2009, 10:31 AM posted to microsoft.public.excel.worksheet.functions
Gareth.Evans
external usenet poster
 
Posts: 13
Default Sum if unique and another criteria

Thankyou for everyone's help yesterday it was great. I have one last
thing that is bafaling me to do with the same thing.

I have a column in D that shows the number of days an invoice is over
due


| A | B | C
| D |
10 N/A yes
0
10 N/A yes
0
11 N/A
no 2
11 N/A
no 2
12 N/A yes
0
13 N/A
no 2
13 N/A
no 2
13 N/A
no 2

I wish to sum the number in coulmn D for those that are overdue (no in
Column C) and that are unique entries (column A, invoice number), in
this example there are 4 unique entries.

With the help from everyone yestarday i have manged to be able to sum
up the number of invoices that were overdue (Column C=no), so in the
obove example the result would be 2 (invoice 11 and 13) by useing this
array formula.

=SUM(N(FREQUENCY(IF(C:C="No",MATCH(A:A&"",A:A&"",0 )),MATCH
(A:A&"",A:A&"",0))0))

I am at a loss at how i can then extend this to sum up the same
corrospnding values in column D.

Oh and i then need to also devide this by the total number of invoices
that failed.

Hope someone can help.

Many Thanks
Gareth


 




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 09:31 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.