ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Greater than and less than (https://www.excelbanter.com/excel-discussion-misc-queries/253064-greater-than-less-than.html)

Farmer Ted

Greater than and less than
 
I want to create a formula that will show that an Date in Column B is between
91 and 61 days old (From today) that a yes or no will display

My Formula (which does not work) is
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

The Formual =IF ((Today()-d2) <61, "Yes","No") works.....but how do I create
a formual if both are true that it will display a YES OR if Not it will
display a NO

Sheeloo

Greater than and less than
 
Try
=IF(AND(TODAY()-D2<91, TODAY()-D261)),"Yes","No")

"Farmer Ted" wrote:
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

I want to create a formula that will show that an Date in Column B is between
91 and 61 days old (From today) that a yes or no will display

My Formula (which does not work) is
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

The Formual =IF ((Today()-d2) <61, "Yes","No") works.....but how do I create
a formual if both are true that it will display a YES OR if Not it will
display a NO


T. Valko

Greater than and less than
 
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

I'm not too good with date formulas but see if this does what you want...

=IF(AND(TODAY()-D261,TODAY()-D2<91),"Yes","No")

--
Biff
Microsoft Excel MVP


"Farmer Ted" wrote in message
...
I want to create a formula that will show that an Date in Column B is
between
91 and 61 days old (From today) that a yes or no will display

My Formula (which does not work) is
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

The Formual =IF ((Today()-d2) <61, "Yes","No") works.....but how do I
create
a formual if both are true that it will display a YES OR if Not it will
display a NO




Farmer Ted

Greater than and less than
 
Sorry that did not work. any othr help?

"Sheeloo" wrote:

Try
=IF(AND(TODAY()-D2<91, TODAY()-D261)),"Yes","No")

"Farmer Ted" wrote:
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

I want to create a formula that will show that an Date in Column B is between
91 and 61 days old (From today) that a yes or no will display

My Formula (which does not work) is
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

The Formual =IF ((Today()-d2) <61, "Yes","No") works.....but how do I create
a formual if both are true that it will display a YES OR if Not it will
display a NO


Farmer Ted

Greater than and less than
 
This worked:

=IF(AND(TODAY()-D2<91, TODAY()-D261),"Yes","No")

"Sheeloo" wrote:

Try
=IF(AND(TODAY()-D2<91, TODAY()-D261)),"Yes","No")

"Farmer Ted" wrote:
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

I want to create a formula that will show that an Date in Column B is between
91 and 61 days old (From today) that a yes or no will display

My Formula (which does not work) is
=IF((TODAY()-D2) (<91AND 61),"Yes","No")

The Formual =IF ((Today()-d2) <61, "Yes","No") works.....but how do I create
a formual if both are true that it will display a YES OR if Not it will
display a NO



All times are GMT +1. The time now is 12:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com