Countifs logic or other count logic

Lokoloko

New Member
Joined
Oct 23, 2022
Messages
11
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
How can i count the updated data. Please help

Screenshot_20231031_045148_Microsoft 365 (Office).png


The yellow cell is where im gonna input my formula, i've try the "countifs" but it fails when it comes to criteria_range

Here's what i try so far:

Option 1
=countifs(d7&d9,">""",d7&d9,"<>Not Updated") and it didnt work

Option 2
=countifs(d7:d9,">""",d7:d9,"<>Not Updated") this method works but the data 2 of Program 1 will also be included

Thank you for sharing ideas in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
The "&" operator is text concatenation. It does not mean "this cell and that cell." COUNTIFS does not deal with discontiguous ranges. One straightforward way to do this:

Excel Formula:
=AND(D7<>"",D7<>"Not Updated")+AND(D9<>"",D9<>"Not Updated")
 
Upvote 0
I think I might be reading this slightly differently to Jeff. How representative is your data ?
Is Data 1 in all 3 places just a place holder or do they match ?
Why did you opt to look for "Not Updated" as opposed to looking for "Updated" are there more categories that fall under Updated ?

Based on your sample data this should work.

20231031 Countifs Lokoloko.xlsx
ABCDEF
1
2CategoryDay 1Day 2
3UpdateData 111
4Data 212
5
6
7Program 1Data 1UpdatedNot Updated
8Data 2Not UpdatedUpdated
9Program 2Data 1Not UpdatedUpdated
10Data 2UpdatedUpdated
11
Sheet1
Cell Formulas
RangeFormula
D3:E4D3=COUNTIFS($C$7:$C$10,$C3,D$7:D$10,"Updated")
 
Upvote 0
Here is another (better) way based on my first interpretation

Excel Formula:
=COUNTIFS(D7:D10,"<>",D7:D10,"<>Not Updated",C7:C10,"Data 1")
 
Upvote 0
I think I might be reading this slightly differently to Jeff. How representative is your data ?
Is Data 1 in all 3 places just a place holder or do they match ?
Why did you opt to look for "Not Updated" as opposed to looking for "Updated" are there more categories that fall under Updated ?

Based on your sample data this should work.

20231031 Countifs Lokoloko.xlsx
ABCDEF
1
2CategoryDay 1Day 2
3UpdateData 111
4Data 212
5
6
7Program 1Data 1UpdatedNot Updated
8Data 2Not UpdatedUpdated
9Program 2Data 1Not UpdatedUpdated
10Data 2UpdatedUpdated
11
Sheet1
Cell Formulas
RangeFormula
D3:E4D3=COUNTIFS($C$7:$C$10,$C3,D$7:D$10,"Updated")
Im gonnay try this one, thnk you sir.
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,067
Members
449,090
Latest member
fragment

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