Count Excel Formula

luisitocarrion1900

Board Regular
Joined
Oct 30, 2017
Messages
194
Office Version
  1. 365
Platform
  1. Windows
I need a formula that will count if

Sheet name “Data”

Column header Asset Type has the name “VEHICLES” and

Column QTR Rptd has the name “Q2” and

column header Prior/Current has the name “Prior” and

Column Header Category of Acquisition has the named “Acquisition

Asset TypeAsset NumberAcquisition DateQtr RptdPrior/CurrentFY and/or QtrCategory of Acquisition
VEHICLESAVIS 202051006
11/14/2017​
Q2PriorFY 2018Acquisition
VEHICLESAVIS 202051007
11/14/2017​
Q2PriorFY 2018Acquisition
VEHICLESAVIS 202071017
12/3/2014​
Q2PriorFY 2015Acquisition
VEHICLESAVIS 202075008
12/6/2017​
Q2PriorFY 2018Acquisition
 

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)
You can post this in previous thread
but of course you can do what you want
 
Upvote 0
If your version of 365 has the FILTER function try:
Book1
ABCDEFG
1Asset TypeAsset NumberAcquisition DateQtr RptdPrior/CurrentFY and/or QtrCategory of Acquisition
2VEHICLESAVIS 20205100611/14/2017Q2PriorFY 2018Acquisition
3VEHICLESAVIS 20205100711/14/2017Q2PriorFY 2018Acquisition
4VEHICLESAVIS 20205100811/14/2017Q2CurrentFY 2019Acquisition
5VEHICLESAVIS 20205100911/14/2017Q2PriorFY 2020Test
6VEHICLESAVIS 20207101712/3/2014Q2PriorFY 2015Acquisition
7VEHICLESAVIS 20207500812/6/2017Q2PriorFY 2018Acquisition
8
9Count4
Sheet1
Cell Formulas
RangeFormula
B9B9=ROWS(FILTER($A$2:$G$7,($A$2:$A$7="VEHICLES")*($D$2:$D$7="Q2")*($E$2:$E$7="Prior")*($G$2:$G$7="Acquisition")))
 
Upvote 0
Or another option: =COUNTIFS($A$2:$A$7,"VEHICLES",$D$2:$D$7,"Q2";$E$2:$E$7,"Prior";$G$2:$G$7;"Acquisition")
 
Upvote 0
Put sheet reference into the formula
=COUNTIFS(Sheet1!$A$2:$A$7,"VEHICLES",Sheet1!$D$2:$D$7,"Q2",Sheet1!$E$2:$E$7,"Prior",Sheet1!$G$2:$G$7,"Acquisition")
 
Upvote 0

Forum statistics

Threads
1,214,421
Messages
6,119,392
Members
448,891
Latest member
tpierce

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