+ Reply to Thread
Results 1 to 3 of 3

If text ='Sick' count how many days they are sick!

  1. #1
    Registered User
    Join Date
    09-01-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    28

    Talking If text ='Sick' count how many days they are sick!

    Hi all, I hope someone can point me in the right direction here. I'm creating a simple staff form and I wish to show how many 'Sick' days they have had in a month. I know I can use the COUNTIF but this is limited to only one row on another sheet, my problem is I have multiple row for each month (12 columns with 7 rows).

    For example: =COUNTIF('Staff 2023'!E4:E11,'Staff 2023'!L4:L11,'Staff 2023'!S4:S11,'Staff 2023'!Z4:Z11="Sick"), I'm aware this doesn't work, anyone have an idea how I can resolve this please?

    Thank you in advance.
    Last edited by RBLearning; 12-17-2022 at 01:21 PM.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,691

    Re: If text ='Sick' count how many days they are sick!

    you could use different formulas like sumproduct or sum with countifs or some other combination.
    It would be helpful for you to upload a sample workbook with dummy data using the instructions posted at the top of the post so people can workup a formula.
    Don't forget to include expected results.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    09-01-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    28

    Re: If text ='Sick' count how many days they are sick!

    Thanks for the reply, brain fried, I just used the following:

    =COUNTIF('Staff 2023'!E4:E11,"Sick")+COUNTIF('Staff 2023'!L4:L11,"Sick")/2 etc.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. sick time tracker with cap on maximum accrued plus sick time used
    By Shrekman in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-05-2022, 08:27 PM
  2. Replies: 0
    Last Post: 06-11-2015, 03:12 AM
  3. Employee Time Tracking - Sick days & Consecutive Days
    By notaguru6 in forum Excel General
    Replies: 6
    Last Post: 08-09-2013, 12:50 PM
  4. Calculate sick days
    By Dave69rock in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-08-2010, 07:24 PM
  5. Calculate sick days
    By Dave69rock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2010, 08:29 AM
  6. Calculating Sick Days
    By Poppachuck in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-10-2009, 06:58 PM
  7. I need help with formula to calculate sick days
    By johnlyons in forum Excel General
    Replies: 5
    Last Post: 01-08-2009, 12:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1