Show count of a cell either using colour or wildcard lookup?

excelnoob_67

New Member
Joined
Jul 8, 2022
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hi All,

See my table test data.
I want to show a total based on the cells that are <> Not in Scope.
However I want to exclude OS Upgrade Status from the formula, so those cells do not add to the count.
Any of the cells that have a DNS listed are highlighted green if that helps, but can not be filtered.

Formula has to be in actual table qty and counted on the same row

Thanks in advance


Actual Table QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade Status
Formula HERESV7841TW101Not in ScopeSV7841TW103
Not in ScopeSV0545TW102SV0545TW103
SV7762TW101Not in ScopeSV7762TW103
SV0613TW101SV0613TW102Not in Scope
SV5804TW101SV5804TW102SV5804TW103
SV7705TW101SV7705TW102SV7705TW103
Not in ScopeSV7703TW102SV7703TW103
SV0667TW101SV0667TW102SV0667TW103
Not in ScopeSV0585TW102SV0585TW103
SV0654TW101SV0654TW102SV0654TW103
SV0523TW101SV0523TW102SV0523TW103
Not in ScopeSV0506TW102Not in Scope
SV0630TW101SV0630TW102SV0630TW103
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Is this what you mean?

22 07 14.xlsm
ABCDEFG
1Actual Table QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade Status
22SV7841TW101Not in ScopeSV7841TW103
32Not in ScopeSV0545TW102SV0545TW103
42SV7762TW101Not in ScopeSV7762TW103
52SV0613TW101SV0613TW102Not in Scope
63SV5804TW101SV5804TW102SV5804TW103
73SV7705TW101SV7705TW102SV7705TW103
82Not in ScopeSV7703TW102SV7703TW103
93SV0667TW101SV0667TW102SV0667TW103
102Not in ScopeSV0585TW102SV0585TW103
113SV0654TW101SV0654TW102SV0654TW103
123SV0523TW101SV0523TW102SV0523TW103
131Not in ScopeSV0506TW102Not in Scope
143SV0630TW101SV0630TW102SV0630TW103
Count
Cell Formulas
RangeFormula
A2:A14A2=COUNTIFS(B$1:F$1,"Tablet*",B2:F2,"<>Not in Scope")
 
Upvote 0
Looks like its count my blank cells as well
Is this what you mean?

22 07 14.xlsm
ABCDEFG
1Actual Table QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade Status
22SV7841TW101Not in ScopeSV7841TW103
32Not in ScopeSV0545TW102SV0545TW103
42SV7762TW101Not in ScopeSV7762TW103
52SV0613TW101SV0613TW102Not in Scope
63SV5804TW101SV5804TW102SV5804TW103
73SV7705TW101SV7705TW102SV7705TW103
82Not in ScopeSV7703TW102SV7703TW103
93SV0667TW101SV0667TW102SV0667TW103
102Not in ScopeSV0585TW102SV0585TW103
113SV0654TW101SV0654TW102SV0654TW103
123SV0523TW101SV0523TW102SV0523TW103
131Not in ScopeSV0506TW102Not in Scope
143SV0630TW101SV0630TW102SV0630TW103
Count
Cell Formulas
RangeFormula
A2:A14A2=COUNTIFS(B$1:F$1,"Tablet*",B2:F2,"<>Not in Scope")
OK's
 
Upvote 0
Looks like its count my blank cells as well
You didn't have any blanks cells in the 'Tablet' columns in your sample data so it was a bit hard to know that could happen. ;)
(Besides, blank cells do fit the description of "cells that are <> Not in Scope")

22 07 14.xlsm
ABCDEFG
1Actual Table QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade Status
22SV7841TW101mgmkjghNot in ScopeSV7841TW103
32Not in ScopeSV0545TW102SV0545TW103
41Not in ScopeSV7762TW103
52SV0613TW101SV0613TW102Not in Scope
60
71SV7705TW101
82Not in ScopeSV7703TW102SV7703TW103
93SV0667TW101SV0667TW102SV0667TW103
102Not in ScopeSV0585TW102SV0585TW103
113SV0654TW101SV0654TW102SV0654TW103
123SV0523TW101SV0523TW102SV0523TW103
131Not in ScopeSV0506TW102Not in Scope
143SV0630TW101SV0630TW102SV0630TW103
Count
Cell Formulas
RangeFormula
A2:A14A2=COUNTIFS(B$1:F$1,"Tablet*",B2:F2,"<>Not in Scope",B2:F2,"<>")
 
Upvote 0
You didn't have any blanks cells in the 'Tablet' columns in your sample data so it was a bit hard to know that could happen. ;)
(Besides, blank cells do fit the description of "cells that are <> Not in Scope")

22 07 14.xlsm
ABCDEFG
1Actual Table QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade Status
22SV7841TW101mgmkjghNot in ScopeSV7841TW103
32Not in ScopeSV0545TW102SV0545TW103
41Not in ScopeSV7762TW103
52SV0613TW101SV0613TW102Not in Scope
60
71SV7705TW101
82Not in ScopeSV7703TW102SV7703TW103
93SV0667TW101SV0667TW102SV0667TW103
102Not in ScopeSV0585TW102SV0585TW103
113SV0654TW101SV0654TW102SV0654TW103
123SV0523TW101SV0523TW102SV0523TW103
131Not in ScopeSV0506TW102Not in Scope
143SV0630TW101SV0630TW102SV0630TW103
Count
Cell Formulas
RangeFormula
A2:A14A2=COUNTIFS(B$1:F$1,"Tablet*",B2:F2,"<>Not in Scope",B2:F2,"<>")
Ill send you a updated table when I get home.

There isn't any blank cells under tablet dns is the os progress cell it seems to be counting.
 
Upvote 0
Sorry @Peter_SSs I got held up.

Below is the data set im working with
You can see my actual tablet QTY is returning 30 opposed to 8

Formula below:

=COUNTIFS(J1:BR1,"Tablet*",J1:BR1,"<>Not in Scope")

Store IDStart DateEnd DateDays%weekStore NameRegion NameScheduled Tablet QTYActual Tablet QTYTablet DNS Name TW101OS Upgrade StatusTablet DNS Name TW102OS Upgrade StatusTablet DNS Name TW103OS Upgrade StatusTablet DNS Name TW104OS Upgrade StatusTablet DNS Name TW105OS Upgrade StatusTablet DNS Name TW106OS Upgrade StatusTablet DNS Name TW107OS Upgrade StatusTablet DNS Name TW108OS Upgrade StatusTablet DNS Name TW109OS Upgrade StatusTablet DNS Name TW110OS Upgrade StatusTablet DNS Name TW111OS Upgrade StatusTablet DNS Name TW112OS Upgrade StatusTablet DNS Name TW113OS Upgrade StatusTablet DNS Name TW114OS Upgrade StatusTablet DNS Name TW115OS Upgrade StatusTablet DNS Name TW116OS Upgrade StatusTablet DNS Name TW117OS Upgrade StatusTablet DNS Name TW118OS Upgrade StatusTablet DNS Name TW119OS Upgrade StatusTablet DNS Name TW120OS Upgrade StatusTablet DNS Name TW121OS Upgrade StatusTablet DNS Name TW122OS Upgrade StatusTablet DNS Name TW123OS Upgrade StatusTablet DNS Name TW124OS Upgrade StatusTablet DNS Name TW125OS Upgrade StatusTablet DNS Name TW126OS Upgrade StatusTablet DNS Name TW127OS Upgrade StatusTablet DNS Name TW128OS Upgrade StatusTablet DNS Name TW129OS Upgrade StatusTablet DNS Name TW130OS Upgrade StatusIM's Raised
784118-Jul-202218-Jul-202210.14Taylor's HillV105830SV7841TW101Not in ScopeSV7841TW103SV7841TW104Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeSV7841TW110SV7841TW111Not in ScopeNot in ScopeSV7841TW114SV7841TW115SV7841TW116Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
054518-Jul-202218-Jul-202210.14Warringal MallV1086Not in ScopeSV0545TW102SV0545TW103SV0545TW104SV0545TW105SV0545TW106SV0545TW107Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
776218-Jul-202218-Jul-202210.14MerndaV1094SV7762TW101Not in ScopeSV7762TW103SV7762TW104SV7762TW105Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
061319-Jul-202219-Jul-202210.14Derrimut VillageV1064SV0613TW101SV0613TW102Not in ScopeSV0613TW104SV0613TW105Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
580419-Jul-202219-Jul-202210.14Tarneit Davis RoadV1079SV5804TW101SV5804TW102SV5804TW103SV5804TW104SV5804TW105Not in ScopeSV5804TW107SV5804TW108SV5804TW109SV5804TW110Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
770519-Jul-202219-Jul-202210.14Mill Park LakesV1094SV7705TW101SV7705TW102SV7705TW103SV7705TW104Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
770320-Jul-202220-Jul-202210.14Roxburgh ParkV1037Not in ScopeSV7703TW102SV7703TW103Not in ScopeSV7703TW105Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
066720-Jul-202220-Jul-202210.14Moonee PondsV1063SV0667TW101SV0667TW102SV0667TW103Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
058520-Jul-202220-Jul-202210.14University HillV1096Not in ScopeSV0585TW102SV0585TW103SV0585TW104SV0585TW105SV0585TW106SV0585TW107Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
065420-Jul-202220-Jul-202210.14EppingV1097SV0654TW101SV0654TW102SV0654TW103SV0654TW104SV0654TW105SV0654TW106SV0654TW107Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
052321-Jul-202221-Jul-202210.14Avondale HeightsV1069SV0523TW101SV0523TW102SV0523TW103SV0523TW104SV0523TW105SV0523TW106SV0523TW107SV0523TW108SV0523TW109Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
050621-Jul-202221-Jul-202210.14Diamond CreekV1091Not in ScopeSV0506TW102Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
063021-Jul-202221-Jul-202210.14CroydonV2085SV0630TW101SV0630TW102SV0630TW103SV0630TW104SV0630TW105Not in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in ScopeNot in Scope
 
Upvote 0
You can see my actual tablet QTY is returning 30 opposed to 8

Formula below:

=COUNTIFS(J1:BR1,"Tablet*",J1:BR1,"<>Not in Scope")

My original formula
=COUNTIFS(B$1:F$1,"Tablet*",B2:F2,"<>Not in Scope")

Your formula
=COUNTIFS(J1:BR1,"Tablet*",J1:BR1,"<>Not in Scope")

You have not adapted my formula correctly to your layout.

You have removed the $ signs shown in red which lock that part of the formula to the header row.
You have changed the second range in the formula to point at the heading row, not the row the formula is in.

The formula for you in row 2 should be
=COUNTIFS(J$1:BR$1,"Tablet*",J2:BR2,"<>Not in Scope")
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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