Countifs .5

griffij

New Member
Joined
Nov 26, 2009
Messages
5
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
You could help me please, I am creating a spread that counts. How many holidays, and sick days people take I know how to create the formula for a whole day, but how do I count .5 of a day? Formula. I have currently is as follows: COUNTIFS(B27:AL27, "S") this will clearly current as a whole day, but if somebody takes a half how do I denote it? I was thinking of using "s/2.

Lasty, how do I take care of case sensitivity, so it doesn't not matter whether they put it in uppercase or lowercase


Any help is gratefully received. Thank you, Joel
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Countifs is not case sensitive (very few functions are), so that's not a problem.
You can denote the half day any way you like (other than using a lower case s)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Countifs is not case sensitive (very few functions are), so that's not a problem.
You can denote the half day any way you like (other than using a lower case s)
 
Upvote 0
Thank you very much for taking the time to reply all updated. I am using the office 365 so Excel 365
 
Upvote 0
If you want it combined,

=COUNTIFS(B27:AL27, "S") +(COUNTIFS(B27:AL27, "S/2")/2)
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,914
Members
452,949
Latest member
beartooth91

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