RE: Count if

Bazola

New Member
Joined
Mar 14, 2018
Messages
34
Office Version
  1. 365
Platform
  1. Windows
RE: Count if

Hi All

I need some help if you dont mind,

I have a sheet called "Detailed NTWK (LAN) HW Status, and on there is two columns: -

F3:F60 - Core Switch Model - This is a drop down box for selection
G3:G60 -Core Switch Quantity - This is a drop down box for selection
H3-H60 - Access Switch Model - This is a drop down box for selection
I3-I60 - Access Switch Quantity - This is a drop down box for selection

I then have another sheet called "Hardware Order details" and on there I want it to do a count of particular switch model, so for example: -

F3 on sheet "Detailed NTWRK (LAN) HW Status" on cell F3 Core Switch Model contains model Cisco 2960XR and cell G3 contains the number of them. I want to display a count of each model on the Hardware Order Details Tab but I am struggling to make it work. There is also the same model listed under Access switches so I want to combine the numbers - total numbers of Cisco 2960XR in column H3:H60 & I3-I60.

I hope you can help.

Thanks
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Re: Count if

It sounds like you need SumIF rather than CountIf. So try this basic formula and adapt it to your needs:

Code:
=SUMIF(F3:F60,"Cisco 2960XR",G3:G60)+SUMIF(H3:H60,"Cisco 2960XR",I3:I60)

Reference to a different worksheet is required before the range
Replace "Cisco 2960XR" with the cell reference
etc
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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