+ Reply to Thread
Results 1 to 6 of 6

Countifs Formula that show True/False results?

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    Charlotte
    MS-Off Ver
    Excel 2007
    Posts
    5

    Lightbulb Countifs Formula that show True/False results?

    Hey All,

    I need your help..

    I have a workbook with two separate tabs (SRO & TC). I am basically using 2 of the same column titles in both tabs (Account Number & Complete Date. In the attachment... the accounts numbers are exactly alike and lined up in both tabs. The difference is, the completed date.

    What I am looking for, is a formula to tell me based on the acct #s in the "SRO" Excel Forum.xlsxtab, if that same acct # in the "TC" tab has a completed date within 30 days of the completed SRO date.


    This is the formula I tried to use: =COUNTIFS(TC!A:A,SRO!A:A,SRO!B:B,">"&TC!$B:B-30)=1 The formula should show "TRUE" is there was an acct that had a TC within 30 days and "FALSE" if it was more than 30 days.

    I have attached a file .. I tried placing the formula in column "K"

    Each row should show "true" except for row "10".

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Countifs Formula that show True/False results?

    use the following in K2, and copy down:

    Please Login or Register  to view this content.
    You will need to make sure that both SRO!Column D and TC!Column AA are formatted and entered as dates, not text.

  3. #3
    Registered User
    Join Date
    09-09-2013
    Location
    Charlotte
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Countifs Formula that show True/False results?

    @OllyXLS, Hey, I tried this.. all the rows came back with the result "False"

    Anything else you think we can try?

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Countifs Formula that show True/False results?

    Quote Originally Posted by Kid Wonder View Post
    @OllyXLS, Hey, I tried this.. all the rows came back with the result "False"

    Anything else you think we can try?
    Did you check that all your dates were actually entered as dates, not as text? When I converted your text values to date values, it worked perfectly...

  5. #5
    Registered User
    Join Date
    09-09-2013
    Location
    Charlotte
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Countifs Formula that show True/False results?

    @OllyXLS I changed the dates to the "short date" format. Can you attach what you did to the thread so that I can look at it? I've tried everything.

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Countifs Formula that show True/False results?

    The values in the date cells need converted to dates, not just changing the number format of the cells - they're currently stored as text.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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] I Need Help Creating a Formula to That Sorts True/False Results
    By artiststevens in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-09-2013, 07:38 AM
  2. Replies: 14
    Last Post: 06-27-2012, 04:26 PM
  3. Formula to Show True False
    By Ortz in forum Excel General
    Replies: 2
    Last Post: 02-16-2012, 12:02 PM
  4. Formula that will give me True or False results
    By Reenee in forum Excel General
    Replies: 2
    Last Post: 02-02-2009, 10:36 AM
  5. [SOLVED] Adding True False Results
    By Arla M in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2005, 03:06 PM

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