+ Reply to Thread
Results 1 to 4 of 4

Countifs not returning value on >=

  1. #1
    Registered User
    Join Date
    06-06-2008
    Posts
    39

    Countifs not returning value on >=

    For the life of me I can't figure out why the below formula doesn't work.

    When I enter G1 in the final criteria, the value is returned =COUNTIFS(post_visits!$D:$D,$B7,post_visits!$H:$H,$D7,post_visits!$F:$F,"<>On-the-Job-Training (OJT)",post_visits!$B:$B,"Closed",post_visits!$C:$C,G1)

    but when I add > or >= to the final criteria, it does not return the value. =COUNTIFS(post_visits!$D:$D,$B7,post_visits!$H:$H,$D7,post_visits!$F:$F,"<>On-the-Job-Training (OJT)",post_visits!$B:$B,"Closed",post_visits!$C:$C,">=G1")

    $C:$C is a date field as is G1.

    Any guesses??

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: Countifs not returning value on >=

    Maybe:

    ">=" & G1
    Ben Van Johnson

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Countifs not returning value on >=

    Are you sure? Change the cell format to general - if the date doesn’t change to a 5-digit serial number, then it’s not a date, but just texT.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    06-06-2008
    Posts
    39

    Re: Countifs not returning value on >=

    Yea!! ">=" & G1 worked.

    Thanks

+ 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. [SOLVED] COUNTIFs not working - returning 0
    By rayted in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-05-2022, 03:34 AM
  2. [SOLVED] Countifs no returning the correct value
    By lizsantiago07 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2017, 11:08 PM
  3. Countifs returning Zero
    By MikeSham in forum Excel General
    Replies: 5
    Last Post: 07-20-2016, 05:53 PM
  4. [SOLVED] Countifs returning wrong value
    By mangeshp4 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-12-2016, 08:30 AM
  5. [SOLVED] CountIfs returning 0
    By jsmilke in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-19-2015, 04:59 PM
  6. countifs returning value error
    By ammartino44 in forum Excel General
    Replies: 2
    Last Post: 10-03-2014, 06:22 PM
  7. [SOLVED] COUNTIFS returning #VALUE!
    By photoryan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-18-2013, 01:07 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