Counting formula required

becvec

New Member
Joined
Sep 23, 2010
Messages
4
Hi,

I have 2 worksheets in the one spreadsheet. In worksheet called Data I have a list of names and in column C is either the word new or existing, in column E is either the value 1 or 0.

In the worksheet called totals I would like to have a formula that counts the values in column E if the word in column C = new and column E = 1
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi,

I have 2 worksheets in the one spreadsheet. In worksheet called Data I have a list of names and in column C is either the word new or existing, in column E is either the value 1 or 0.

In the worksheet called totals I would like to have a formula that counts the values in column E if the word in column C = new and column E = 1

Give this a try:

Excel Workbook
BCD
2EdNew1
3TomExisting0
4GeorgeExisting1
5SarahNew0
6FabiolaNew1
Data
Excel Workbook
E
22
Excel 2010 Totals Sheet Totals
Excel 2010
Cell Formulas
RangeFormula
E2=SUMPRODUCT(--(Data!C2:C6="New"),--(Data!D2:D6=1))



HTH, Ed
 
Upvote 0
Try,

Excel 2007+

=COUNTIFS(Data!C:C,"New",Data!E:E,1)

Excel 2003-

=SUMPRODUCT(--(Data!C2:C1000="New"),--(Data!E2:E1000=1))
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top