# Countifs Formula that show True/False results?

1. ## Countifs Formula that show True/False results?

Hey All,

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. ## 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. ## 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. ## Re: Countifs Formula that show True/False results?

Originally Posted by Kid Wonder
@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. ## 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. ## 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.

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

#### 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