A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Range Look up



 
 
Thread Tools Display Modes
  #1  
Old July 17th, 2009, 04:28 PM posted to microsoft.public.excel.misc
Eric H[_2_]
external usenet poster
 
Posts: 26
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  
Old July 17th, 2009, 04:55 PM posted to microsoft.public.excel.misc
AB
external usenet poster
 
Posts: 28
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  
Old July 17th, 2009, 05:21 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
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  
Old July 17th, 2009, 06:14 PM posted to microsoft.public.excel.misc
Eric H[_2_]
external usenet poster
 
Posts: 26
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!



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:43 AM.


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