COUNTIF problem with table range

JoshLyman

New Member
Joined
Jan 11, 2023
Messages
35
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Trying to get column "Times covered" to count how many times a particular 'Apprenticeship KSB' is logged in any of the 'KSB(s) covered' columns in the table on the OTJ log sheet.. but it doesn't seem to be calculating for reasons unknown to me. As you'll see from the second extract below , I've added K1, K3 and K4 to my log, but the tracker is not picking them up/counting them. I'm probably being dumb, but would very much appreciate some help

DRAFT - OTJ Log - v0.1.xlsm
BCD
7Apprenticeship KSBTimes coveredNotes
8K1: How to shape organisational mission, culture and values0
9K2: Organisation structures; business modelling; diversity; global and horizon scanning perspectives; governance and accountability; technological and policy implications0
10K3: New market strategies, changing customer demands and trend analysis.0
11K4: Innovation; the impact of disruptive technologies (mechanisms that challenge traditional business methods and practices); drivers of change and new ways of working across infrastructure, processes, people and culture and sustainability0
12K5: Systems thinking, knowledge/data management, research methodologies and programme management0
13K6: Ethics and values-based leadership theories and principles0
4 - KSB TRACKER
Cell Formulas
RangeFormula
C8:C13C8=COUNTIF(OTJLog[[KSB(s) covered]:[KSB(s) covered8]],[@[Apprenticeship KSB]])


DRAFT - OTJ Log - v0.1.xlsm
BCDEFGHIJKLM
9Activity date dd/mm/yyyyOTJ HoursNon-OTJ HoursShort description of the activity e.g., assignments, online learning, practical training, lecturesKSB(s) coveredKSB(s) covered2KSB(s) covered3KSB(s) covered4KSB(s) covered5KSB(s) covered6KSB(s) covered7KSB(s) covered8
1016/08/20235K1: How to shape organisational mission, culture and values.K2: Organisation structures; business modelling; diversity; global and horizon scanning perspectives; governance and accountability; technological and policy implications.K4: Innovation; the impact of disruptive technologies (mechanisms that challenge traditional business methods and practices); drivers of change and new ways of working across infrastructure, processes, people and culture and sustainability.
3 - OTJ LOG
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C10Cell Value>7textNO
Cells with Data Validation
CellAllowCriteria
F10:M10List=Lookups!$D$2:$D$47
B10Datebetween '1 - APPRENTICE INFO'!K18 and 31/12/9999
C10:D10Custom=ISNUMBER(C10)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
They don't appear to match. There are full stops at the end of each one in the source table but not in the formula table.
 
Upvote 1
Solution
😬 how odd! You're totally right. I've removed full stops from everything and it now counts as expected. Thanks @RoryA, lifesaver.
 
Upvote 0

Forum statistics

Threads
1,223,941
Messages
6,175,537
Members
452,652
Latest member
eduedu

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