+ Reply to Thread
Results 1 to 5 of 5

Countif by 2 functions

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Countif by 2 functions

    Guys,

    I need some help again.

    I need to do a countif by two functions. The formula i have entered and tried is;

    =COUNTIF($F$2:$F$110,AND($H$2:$H$110<(NOW()-183),F113))

    Column F has codes in it, so for example G1, G2 etc
    Column H has a date that it was raised on.

    So what I am trying to do is count the column F range by the following two criteria:

    The date in column H being less then 6 months and then the code (F113 would contain G1 as a table legend at the bottom.)

    Thanks Guys

  2. #2
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Countif by 2 functions

    Just updated my formula to this:

    =COUNTIF($F$2:$F$110,AND($H$2:$H$110>(NOW()-183),F113))

    After looking at my original, it was looking at dates less then six months. Now hypothetically its looking at dates greater then now minus 6 months.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Countif by 2 functions

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


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Countif by 2 functions

    hi Locopete99. you can also use EDATE to be more accurate:
    =COUNTIFS($F$2:$F$110,F113,$H$2:$H$110,"<"&EDATE(TODAY(),-6))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  5. #5
    Registered User
    Join Date
    05-13-2013
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Countif by 2 functions

    Thanks, I'll remember that as well for future use.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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