+ Reply to Thread
Results 1 to 7 of 7

#value error with COUNTIFS

  1. #1
    Registered User
    Join Date
    08-30-2016
    Location
    Dallas, Texas
    MS-Off Ver
    excel 2013
    Posts
    71

    #value error with COUNTIFS

    Hi all,

    I'm back again. I'm still working on the yearly attendance sheet. Thank you to everyone for helping earlier. Now I'm trying to use COUNTIFS to count the number of sick time ("S"). I need to count for just an "S" but also count values of "S.1" (sick .1 hour) up to "S12" (sick 12 hours). This will go in the unexcused sick time box (V5 for January). The formula I'm trying to use is as follows:

    COUNTIFS(A8:BL9,">=S.0",A8:BL9,"<=S12")

    I'm getting a #VALUE error.

    I'm I overlooking something, is my formula wrong, or am I approaching this all wrong? Thank you again for any help
    Attached Files Attached Files

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: #value error with COUNTIFS

    This is one way to count

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    What is S then - 1 day?
    So S1 is one hour?
    S12 is 12 hours? - is this regular time for work? Then S12 is also equal to S if S is one day?

    What will be your expected count? maybe add other sample data...
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,992

    Re: #value error with COUNTIFS

    May be try

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    08-30-2016
    Location
    Dallas, Texas
    MS-Off Ver
    excel 2013
    Posts
    71

    Re: #value error with COUNTIFS

    We have both 8 hr shifts (S by itself equals 8 hours) and 12 hour shifts (S12). I need to be about to count S , S.1, S.2, S.3....all the way up to S12

  5. #5
    Registered User
    Join Date
    08-30-2016
    Location
    Dallas, Texas
    MS-Off Ver
    excel 2013
    Posts
    71

    Re: #value error with COUNTIFS

    I'm counting FMLA as SF, so unfortunately "S*" would count SF and I need to count it seperately =(

  6. #6
    Registered User
    Join Date
    08-30-2016
    Location
    Dallas, Texas
    MS-Off Ver
    excel 2013
    Posts
    71

    Re: #value error with COUNTIFS

    Shukla,

    I will give it a try...thank you

  7. #7
    Registered User
    Join Date
    08-30-2016
    Location
    Dallas, Texas
    MS-Off Ver
    excel 2013
    Posts
    71

    Re: #value error with COUNTIFS

    Quote Originally Posted by RickMcc View Post
    Shukla,

    I will give it a try...thank you
    I tried it, did the Shift+Control+Enter. Not counting any sick time =(

+ 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. Countifs error
    By RMEXCELKY in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-11-2016, 10:57 AM
  2. [SOLVED] COUNTIFS error
    By Celex005 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-10-2014, 03:28 PM
  3. COUNTIFS #name error
    By qwertyjjj in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2014, 05:34 PM
  4. Help with this countifs error!
    By husni in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2014, 04:04 AM
  5. COUNTIFS Error
    By whizbee in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 07-19-2013, 04:33 PM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. Error using countifs
    By welchs101 in forum Excel General
    Replies: 6
    Last Post: 11-08-2011, 08:20 AM

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