Combining a SUMPRODUCT and a COUNTIF formula

broncos347

Active Member
Joined
Feb 16, 2005
Messages
293
Office Version
  1. 365
Platform
  1. Windows
Hi, I have these two formulas;

=SUMPRODUCT(--('All Station Surveys with Type a'!$E$6:$E$2000="accepted"),--('All Station Surveys with Type a'!$G$6:$G$2000="in progress"),--('All Station Surveys with Type a'!$C$6:$C$2000="visual"))

=COUNTIF('All Station Surveys with Type a'!D:D,">="&B2)-COUNTIF('All Station Surveys with Type a'!D:D,">"&AA2)

which i would like to combine in to one formula to show how many of a certain type of survey was done inbetween certain dates.

Is there anyone who can help?
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi, I have these two formulas;

=SUMPRODUCT(--('All Station Surveys with Type a'!$E$6:$E$2000="accepted"),--('All Station Surveys with Type a'!$G$6:$G$2000="in progress"),--('All Station Surveys with Type a'!$C$6:$C$2000="visual"))

=COUNTIF('All Station Surveys with Type a'!D:D,">="&B2)-COUNTIF('All Station Surveys with Type a'!D:D,">"&AA2)

which i would like to combine in to one formula to show how many of a certain type of survey was done inbetween certain dates.

Is there anyone who can help?

Try...

=SUMPRODUCT(
--('All Station Surveys with Type a'!$E$6:$E$2000="accepted"),
--('All Station Surveys with Type a'!$G$6:$G$2000="in progress"),
--('All Station Surveys with Type a'!$C$6:$C$2000="visual"),
--('All Station Surveys with Type a'!$D$6:$D$2000>=B2),
--('All Station Surveys with Type a'!$D$6:$D$2000<=AA2))
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,308
Members
452,904
Latest member
CodeMasterX

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