Counting Defines

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
Hello
Good Day,
There are numbered staff check in times at the column M3:M12 like 6,8,10,12,14,16,18,20,22,24
I did defined them into three categories as day, swing and graveyard (day:M3:M6 swing:M7:M9 graveyard: M10:M12 )
Column D has that numbers as in scheduled all the way down.
I've just tried below formula to find out the results but it didn't worked..
Is there any way that I can add in that formula to count easy way those three defined categories?
Many Thanks

Excel Formula:
=COUNTIF(D:D,"day")
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
probably with a spillformula, but be aware, D:D, that are +1.000.000 rows !!!
After a while, your spreadsheet 'll slow down.
Excel Formula:
=SUMPRODUCT(--ISNUMBER(MATCH($D$1:$D$100,day,0)))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

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