ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subtracting based on 2 conditions (https://www.excelbanter.com/excel-worksheet-functions/450326-subtracting-based-2-conditions.html)

[email protected]

Subtracting based on 2 conditions
 
Please help me:
On column C5:C40 I have Tickets resolved i.e (10,30,50)etc on column D5:D40 I have Major Outages i.e (3,2,1)
On Column C4 The header is Tickets Resolved On Column D4 The header is Major Outages and on B5:B40 I have agent names. The Month name I can have anywhere on sheet.

on a Separate sheet I need to Subract Major Outages from Tickets resolved based on Name and Month

Can someone please help??


Claus Busch

Subtracting based on 2 conditions
 
Hi,

Am Wed, 10 Sep 2014 12:51:14 -0700 (PDT) schrieb :

Please help me:
On column C5:C40 I have Tickets resolved i.e (10,30,50)etc on column D5:D40 I have Major Outages i.e (3,2,1)
On Column C4 The header is Tickets Resolved On Column D4 The header is Major Outages and on B5:B40 I have agent names. The Month name I can have anywhere on sheet.


your month names in column A and the expected month name and agent name
in the seperate sheet in G1 and H1 then
=SUM(IF(Sheet1!A5:A40&Sheet1!B5:B40=$G$1&$H$1,Shee t1!C5:C40-Sheet1!D5:D40))

and enter the array formula with CTRL+Shift+Enter


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional

Claus Busch

Subtracting based on 2 conditions
 
Hi,

Am Thu, 11 Sep 2014 09:33:01 +0200 schrieb Claus Busch:

=SUM(IF(Sheet1!A5:A40&Sheet1!B5:B40=$G$1&$H$1,Shee t1!C5:C40-Sheet1!D5:D40))


you can do it also with a Pivot table


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional

[email protected]

Subtracting based on 2 conditions
 
On Wednesday, September 10, 2014 2:51:14 PM UTC-5, wrote:
Please help me: On column C5:C40 I have Tickets resolved i.e (10,30,50)etc on column D5:D40 I have Major Outages i.e (3,2,1) On Column C4 The header is Tickets Resolved On Column D4 The header is Major Outages and on B5:B40 I have agent names. The Month name I can have anywhere on sheet. on a Separate sheet I need to Subract Major Outages from Tickets resolved based on Name and Month Can someone please help??




Thank you Clause that works like a charm, your always very helpfull.


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com