Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default IF MAX formula using dates

=IF($F4="On Board",MAX(0,((S$1-$M4)/7))*Q4,"")

S1= 3/31/2010
M4= 10/15/2009
Q4= $573

How can I fix the formula above so it will correctly calculate the cost
based on a 2009 date, or a 2010 date. Currently, the formula only works if
M4 has a date of 2010.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default IF MAX formula using dates

On Oct 21, 9:10*am, KC wrote:
=IF($F4="On Board",MAX(0,((S$1-$M4)/7))*Q4,"")

S1= 3/31/2010
M4= 10/15/2009
Q4= $573

How can I fix the formula above so it will correctly calculate the cost
based on a 2009 date, or a 2010 date. *Currently, the formula only works if
M4 has a date of 2010.


This is not what you want. I am not sure what that is but this
formula says that if F4 = On Board then find the max of 0 or the
difference between 2 dates / 7 * Q7. If it does not = On Board then
return a blank cell. More data woudl be helpful.
Jay
  #3   Report Post  
Posted to microsoft.public.excel.misc
KC KC is offline
external usenet poster
 
Posts: 107
Default IF MAX formula using dates

Hi Jay, the info below is in the cells for the formula provided. I am trying
to say, if F4 = On board, then calculate the amount of $'s it will cost in
1Q2010 at $573 per week. S1 will always say 3/31/2010, M4 might be any date
in 2009 or 2010. and Q4 might be any amount.

S1= 3/31/2010
M4= 10/15/2009
Q4= $573

"jlclyde" wrote:

On Oct 21, 9:10 am, KC wrote:
=IF($F4="On Board",MAX(0,((S$1-$M4)/7))*Q4,"")

S1= 3/31/2010
M4= 10/15/2009
Q4= $573

How can I fix the formula above so it will correctly calculate the cost
based on a 2009 date, or a 2010 date. Currently, the formula only works if
M4 has a date of 2010.


This is not what you want. I am not sure what that is but this
formula says that if F4 = On Board then find the max of 0 or the
difference between 2 dates / 7 * Q7. If it does not = On Board then
return a blank cell. More data woudl be helpful.
Jay
.

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 for Dates Daren Excel Worksheet Functions 18 October 25th 08 03:35 AM
Sum If formula for between dates Peter Excel Discussion (Misc queries) 6 May 30th 08 07:17 PM
Dates formula davey Excel Worksheet Functions 6 July 21st 07 08:18 PM
Formula with dates lara5555 Excel Discussion (Misc queries) 7 April 4th 06 12:43 PM
how do I use if formula using dates? Simone Excel Worksheet Functions 4 November 8th 05 02:40 AM


All times are GMT +1. The time now is 03:38 AM.

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"