Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Phatbob
 
Posts: n/a
Default IF Date range formula


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.


--
Phatbob
------------------------------------------------------------------------
Phatbob's Profile: http://www.excelforum.com/member.php...o&userid=34371
View this thread: http://www.excelforum.com/showthread...hreadid=541494

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bruno Campanini
 
Posts: n/a
Default IF Date range formula

"Phatbob" wrote in
message ...

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.


=(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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Phatbob
 
Posts: n/a
Default IF Date range formula


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?


--
Phatbob
------------------------------------------------------------------------
Phatbob's Profile: http://www.excelforum.com/member.php...o&userid=34371
View this thread: http://www.excelforum.com/showthread...hreadid=541494

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Phatbob
 
Posts: n/a
Default IF Date range formula


In addition to the last clarification, I need to be able to only
populate Cell D1 if both the name and date range constraints are met.


--
Phatbob
------------------------------------------------------------------------
Phatbob's Profile: http://www.excelforum.com/member.php...o&userid=34371
View this thread: http://www.excelforum.com/showthread...hreadid=541494

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mr_teacher
 
Posts: n/a
Default IF Date range formula


Ok I am sure there is a better solution than this - but this is the sort
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 e1
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 formula
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 something
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, 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


--
mr_teacher
------------------------------------------------------------------------
mr_teacher's Profile: http://www.excelforum.com/member.php...o&userid=34352
View this thread: http://www.excelforum.com/showthread...hreadid=541494

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula to look up and return smallest date from a range of dates BJ Excel Worksheet Functions 5 December 7th 05 10:35 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
overtime formula based on dynamic date range? kalika Excel Worksheet Functions 2 August 28th 05 08:40 AM
Match function...random search? Les Excel Worksheet Functions 10 July 28th 05 11:54 AM
use a date range as criteria in a countif formula mbparks Excel Worksheet Functions 3 January 2nd 05 11:06 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"