Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Is a date in summer or winter?

I am trying to compare a date that I input with a date range to determine
seasonal pricing. This is the formula I used.
=IF(AND((C454/15),(C4512/1)),68,74). I suspect I need to change the date
format. Is that the case? And if so, could you please provide and example.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Is a date in summer or winter?

Maybe something like

=IF(C45="","",IF(AND(C45DATE(2007,4,15),C45<DATE( 2007,10,16)),68,74))


--
Regards,

Peo Sjoblom



"Thea" wrote in message
...
I am trying to compare a date that I input with a date range to determine
seasonal pricing. This is the formula I used.
=IF(AND((C454/15),(C4512/1)),68,74). I suspect I need to change the
date
format. Is that the case? And if so, could you please provide and
example.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Is a date in summer or winter?

=IF(AND(C45DATE(YEAR(C45),4,15),C45<DATE(YEAR(C45 ),12,1)),68,74)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Thea" wrote in message
...
I am trying to compare a date that I input with a date range to determine
seasonal pricing. This is the formula I used.
=IF(AND((C454/15),(C4512/1)),68,74). I suspect I need to change the
date
format. Is that the case? And if so, could you please provide and
example.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Is a date in summer or winter?

Thanks. That worked.

"Bob Phillips" wrote:

=IF(AND(C45DATE(YEAR(C45),4,15),C45<DATE(YEAR(C45 ),12,1)),68,74)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Thea" wrote in message
...
I am trying to compare a date that I input with a date range to determine
seasonal pricing. This is the formula I used.
=IF(AND((C454/15),(C4512/1)),68,74). I suspect I need to change the
date
format. Is that the case? And if so, could you please provide and
example.




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
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Ah, Summer is coming & I need help with camp attendances Mustanganna Excel Worksheet Functions 1 June 30th 06 07:31 PM
Make date change in excel to current date when opening daily? jamie Excel Discussion (Misc queries) 3 March 1st 06 03:37 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


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