#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Date Range Look up

Hello,

Column E has a cost. Column F has a date. I need to know IF the DATE in
column F falls between a date range (I.e. 07/26/09 through 08/25/09), then
return the cost value in column E.

Any help would be much appreciated.

Rock-n-Roll!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 236
Default Date Range Look up

=(F2=StartDate)*(F2<=EndDate)*E2

This would return 0 if the date is out of range or the Cost, if the
date is within the date range.

On 17 July, 16:28, Eric H wrote:
Hello,

Column E has a cost. *Column F has a date. *I need to know IF the DATE in
column F falls between a date range (I.e. 07/26/09 through 08/25/09), then
return the cost value in column E.

Any help would be much appreciated.

Rock-n-Roll!


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Date Range Look up

Try

=IF(AND(F2=DATEVALUE("26-Jul-2009"),F2<=DATEVALUE("25-Aug-2009")),E2,0)

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


"Eric H" wrote:

Hello,

Column E has a cost. Column F has a date. I need to know IF the DATE in
column F falls between a date range (I.e. 07/26/09 through 08/25/09), then
return the cost value in column E.

Any help would be much appreciated.

Rock-n-Roll!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Date Range Look up

Thank you!

"AB" wrote:

=(F2=StartDate)*(F2<=EndDate)*E2

This would return 0 if the date is out of range or the Cost, if the
date is within the date range.

On 17 July, 16:28, Eric H wrote:
Hello,

Column E has a cost. Column F has a date. I need to know IF the DATE in
column F falls between a date range (I.e. 07/26/09 through 08/25/09), then
return the cost value in column E.

Any help would be much appreciated.

Rock-n-Roll!



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
Find Last cell in Range when range is date format default105 Excel Discussion (Misc queries) 5 July 7th 09 03:11 PM
Sum If range of dates date range, sum totals Stilmovin Excel Worksheet Functions 7 December 16th 08 05:49 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM


All times are GMT +1. The time now is 04:59 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"