Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Student Roster - fall, spring,summer, winter?

Here is my scenario


Semester
Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM

How do I create a formula that can recognize the date and return the season
under the proper season colum?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Student Roster - fall, spring,summer, winter?

How do you define your seasons?
--
David Biddulph

"Cazumel" wrote in message
...
Here is my scenario


Semester
Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM

How do I create a formula that can recognize the date and return the
season
under the proper season colum?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,549
Default Student Roster - fall, spring,summer, winter?


Date is in cell B5...

=IF(MONTH(B5)8,"Fall","")
=IF(MONTH(B5)<5,"Spring","")
=IF(AND(MONTH(B5)4,MONTH(B5)<9),"Summer","")
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Cazumel"
wrote in message
Here is my scenario

Semester Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
How do I create a formula that can recognize the date and return the season
under the proper season colum?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Student Roster - fall, spring,summer, winter?

Thank you so much the only one not working is the summer
I have =IF(AND(MONTH(H3)4,(H3)<9),"Summer","") reading from
05/15/08 12:00 AM
and it doesnt return anything


"Jim Cone" wrote:


Date is in cell B5...

=IF(MONTH(B5)8,"Fall","")
=IF(MONTH(B5)<5,"Spring","")
=IF(AND(MONTH(B5)4,MONTH(B5)<9),"Summer","")
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Cazumel"
wrote in message
Here is my scenario

Semester Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
How do I create a formula that can recognize the date and return the season
under the proper season colum?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Student Roster - fall, spring,summer, winter?

i KNOW WHAT i WAS DOING WRONG FORGOT THE MONTH....
THANK YOU SO MUCH I CAN SLEEP IN PEACE NOW...NEED THIS FOR WORK TOMORROW

"Jim Cone" wrote:


Date is in cell B5...

=IF(MONTH(B5)8,"Fall","")
=IF(MONTH(B5)<5,"Spring","")
=IF(AND(MONTH(B5)4,MONTH(B5)<9),"Summer","")
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Cazumel"
wrote in message
Here is my scenario

Semester Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
How do I create a formula that can recognize the date and return the season
under the proper season colum?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Student Roster - fall, spring,summer, winter?

thank you I have an answer

"David Biddulph" wrote:

How do you define your seasons?
--
David Biddulph

"Cazumel" wrote in message
...
Here is my scenario


Semester
Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM

How do I create a formula that can recognize the date and return the
season
under the proper season colum?




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Student Roster - fall, spring,summer, winter?

Combining them all into a single formula:

=LOOKUP(MONTH(B5),{1,5,9},{"Spring","Summer","Fall "})

--
Biff
Microsoft Excel MVP


"Jim Cone" wrote in message
...

Date is in cell B5...

=IF(MONTH(B5)8,"Fall","")
=IF(MONTH(B5)<5,"Spring","")
=IF(AND(MONTH(B5)4,MONTH(B5)<9),"Summer","")
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Cazumel"
wrote in message
Here is my scenario

Semester Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
How do I create a formula that can recognize the date and return the
season
under the proper season colum?



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Student Roster - fall, spring,summer, winter?

You peole are so cool...thank you,
can you help me with the other question ...select particular ..I have
another post there

"T. Valko" wrote:

Combining them all into a single formula:

=LOOKUP(MONTH(B5),{1,5,9},{"Spring","Summer","Fall "})

--
Biff
Microsoft Excel MVP


"Jim Cone" wrote in message
...

Date is in cell B5...

=IF(MONTH(B5)8,"Fall","")
=IF(MONTH(B5)<5,"Spring","")
=IF(AND(MONTH(B5)4,MONTH(B5)<9),"Summer","")
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




"Cazumel"
wrote in message
Here is my scenario

Semester Fall Spring Summer

10/17/07 12:00 AM Fall
04/01/07 12:00 AM Spring
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
09/01/07 12:00 AM
How do I create a formula that can recognize the date and return the
season
under the proper season colum?




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
problemer med å summer klokkeslett S.N.K Excel Discussion (Misc queries) 0 December 12th 07 12:06 AM
Is a date in summer or winter? Thea Excel Worksheet Functions 3 April 27th 07 12:12 AM
Ah, Summer is coming & I need help with camp attendances Mustanganna Excel Worksheet Functions 1 June 30th 06 07:31 PM
Roster T-ball Coach Excel Worksheet Functions 0 May 31st 06 05:41 AM
Roster Greg Brow New Users to Excel 9 February 10th 05 04:52 AM


All times are GMT +1. The time now is 09:22 PM.

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

About Us

"It's about Microsoft Excel"