Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2006

Tip: Looking for answers? Try searching our database.

IF Date range formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phatbob - 12 May 2006 11:31 GMT
I need a formula that works like this.

Cell A1 has a name
Cell B1 has a date
Cell C1 has a number

If Cell A1 has a specific name and Cell B1 is do not exceed date, Cell
D1 is populated with C1.

For B1, it would be a date prior to 7/22/06, where 7/21/06 or 7/22/06
would populate D1, but 7/23/06 would remain blank in D1.

Please help.

Signature

Phatbob

Bruno Campanini - 12 May 2006 11:48 GMT
> I need a formula that works like this.
>
[quoted text clipped - 4 lines]
> If Cell A1 has a specific name and Cell B1 is do not exceed date, Cell
> D1 is populated with C1.

=(A1="Name")*(B1<=Now())*C1

> For B1, it would be a date prior to 7/22/06, where 7/21/06 or 7/22/06
> would populate D1, but 7/23/06 would remain blank in D1.

I don't understand what you mean.

Bruno
Phatbob - 12 May 2006 12:21 GMT
If my cut off date was 7/22, any date before or on that date, i.e. 7/22,
7/21, 5/30, etc., would populate Cell D1 with the number that is in Cell
C1.

Does that help?

Signature

Phatbob

Phatbob - 12 May 2006 12:58 GMT
In addition to the last clarification, I need to be able to onl
populate Cell D1 if both the name and date range constraints are met
mr_teacher - 12 May 2006 14:16 GMT
Ok I am sure there is a better solution than this - but this is the sor
of thing I would come up with in my long way round of doing things!

In A1,B1 and C1 I would have the data as you have detailed.
I would also add E1 to be the latest possible date - in your case e
would be 07/23/06

in D1 I would then use the formula
=IF(AND(A1="Name",B1<$E$1),C1,"")
where you can replace NAME with whichever word/name you want it to be.

You don't need to copy the value in e1 down the range as the formul
will always look back at this same date.

Sure someone on here will be able to think of a more concise version
but that's the solution I wouls use personally. Might learn somethin
new myself too!! :)

Hope that was of some help though!

I need a formula that works like this.

Cell A1 has a name
Cell B1 has a date
Cell C1 has a number

If Cell A1 has a specific name and Cell B1 is do not exceed date, Cel
D1 is populated with C1.

For B1, it would be a date prior to 7/22/06, where 7/21/06 or 7/22/0
would populate D1, but 7/23/06 would remain blank in D1.

Please hel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.