PC Review


Reply
Thread Tools Rate Thread

AND & COUNTIF in same formula

 
 
Manxy
Guest
Posts: n/a
 
      30th Jul 2009
I have this formula previously stated on the forum which indicates when a
person is 1 year out of date

=AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY())

Can I add a COUNTIF like that below to the equation so that the No cells add
up into cell G50?

=COUNTIF(G3:G48,"N")
 
Reply With Quote
 
 
 
 
ryguy7272
Guest
Posts: n/a
 
      30th Jul 2009
The function you posted contained only the first argument, I suspect the
second is the Count function... If so, try this
=IF(AND(G3<>"",DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY()),COUNTIF(G3:G48,"N"),"")

HTH,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Manxy" wrote:

> I have this formula previously stated on the forum which indicates when a
> person is 1 year out of date
>
> =AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY())
>
> Can I add a COUNTIF like that below to the equation so that the No cells add
> up into cell G50?
>
> =COUNTIF(G3:G48,"N")

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      30th Jul 2009
If this is a conditional formatting criteria; add COUNTIF() as the 3rd
criteria within AND()

=AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY(),COUNTIF(G3:G48,"N")=G50)

If this post helps click Yes
---------------
Jacob Skaria


"Manxy" wrote:

> I have this formula previously stated on the forum which indicates when a
> person is 1 year out of date
>
> =AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY())
>
> Can I add a COUNTIF like that below to the equation so that the No cells add
> up into cell G50?
>
> =COUNTIF(G3:G48,"N")

 
Reply With Quote
 
Manxy
Guest
Posts: n/a
 
      30th Jul 2009
I can't seem to get this to work and would appreciate your patience by going
through this with me please.
My original Cond. Form was placed into cell G3 as below
=AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY())

I replaced that arguement with this conditional formatting, although I was
not sure what you meant by the third criteri
=AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY(),COUNTIF(G3:G48,"N")=G50)

i have also tried this as well in cell G3 using the Cond. Form. functio
=IF(AND(G3<>"",DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY()),COUNTIF(G3:G48,"N"),"")

Am I putting either formula in the right place?
If not, where?
=========================================
"ryguy7272" wrote:

> The function you posted contained only the first argument, I suspect the
> second is the Count function... If so, try this:
> =IF(AND(G3<>"",DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY()),COUNTIF(G3:G48,"N"),"")
>
> HTH,
> Ryan---
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.
>
>
> "Manxy" wrote:
>
> > I have this formula previously stated on the forum which indicates when a
> > person is 1 year out of date
> >
> > =AND(G3<>””,DATE(YEAR(G3)+1,MONTH(G3),DAY(G3))<=TODAY())
> >
> > Can I add a COUNTIF like that below to the equation so that the No cells add
> > up into cell G50?
> >
> > =COUNTIF(G3:G48,"N")

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF FORMULA ISSUES - NEED FORMULA CORRECTED Debbi Microsoft Excel Worksheet Functions 2 18th Nov 2009 04:47 AM
countif formula Paul E Microsoft Excel Worksheet Functions 4 5th Nov 2008 02:04 PM
And/Countif formula =?Utf-8?B?bmlyMDIw?= Microsoft Excel Programming 1 11th Jan 2006 04:12 PM
CountIf formula results in the formula itself being displayed. =?Utf-8?B?TmV3S2lk?= Microsoft Excel Worksheet Functions 9 21st Dec 2005 11:10 PM
Countif formula Daniel Bonallack Microsoft Excel Worksheet Functions 3 16th Oct 2003 03:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:31 AM.