Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Calculating months

If i have the name of a month in a cell (i.e. "April") can i then have
another cell calculate itself to display the next or previous month
automatically (ie. "May" or "March") by using a formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Calculating months

January-07
February-07
March-07
April-07
May-07
June-07
July-07
August-07
September-07
October-07
November-07
December-07
January-08
February-08
March-08
April-08
May-08
June-08
July-08
August-08
September-08
October-08
November-08
December-08
January-09
February-09
March-09
April-09
May-09
June-09
July-09
August-09
September-09
October-09
October-09
November-09
December-09
January-10
February-10
March-10
April-10
May-10
June-10
July-10
August-10
September-10
October-10
November-10
December-10
January-11
February-11
March-11
April-11
May-11
June-11
July-11
August-11
September-11
October-11
November-11
December-11
January-12
February-12
March-12
April-12
May-12
June-12
July-12
August-12
September-12
October-12
November-12
December-12
January-13
February-13
March-13

Put a date in a cell with the middle of the month Example 01/15/07. then
format that month to diisplay as you need. In the nexth cell = that cell +30
and it will change to the next month. Also you cna put in Apr, MAy, etc in
adjoining cells and highlight and drag and it will put the next month in
sequense in either next or if you gobackwards the previous month.

"hotelmasters" wrote:

If i have the name of a month in a cell (i.e. "April") can i then have
another cell calculate itself to display the next or previous month
automatically (ie. "May" or "March") by using a formula?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Calculating months

One way:

Previous: =TEXT(DATEVALUE("1-"&A1&"-2007")-1,"mmmm")

Next: =TEXT(DATEVALUE("1-"&A1&"-2007")+32,"mmmm")

In article ,
hotelmasters wrote:

If i have the name of a month in a cell (i.e. "April") can i then have
another cell calculate itself to display the next or previous month
automatically (ie. "May" or "March") by using a formula?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Calculating months

After entering "April" you can select the cell and drag the fill
handle in the bottom right corner across or down to fill months. If
you want a formula though, try entering this:

=TEXT(DATE(0,MONTH(A1&"-0")+1,1),"mmmm")

in A2, and dragging down should, assuming the month is in A1.

On Feb 6, 2:39 pm, hotelmasters
wrote:
If i have the name of a month in a cell (i.e. "April") can i then have
another cell calculate itself to display the next or previous month
automatically (ie. "May" or "March") by using a formula?



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
problem of calculating years months and days naughtyboy Excel Discussion (Misc queries) 1 August 7th 06 11:22 AM
Calculating months pkeegs Excel Discussion (Misc queries) 5 May 12th 06 03:59 AM
Calculating an Activities During Periods Of Natural Months and/or Dates Rayco Excel Worksheet Functions 1 October 10th 05 01:30 PM
Calculating Dates in Terms of Months Jessica Excel Worksheet Functions 4 September 20th 05 06:35 PM
calculating number of months from today JNW Excel Worksheet Functions 5 September 15th 05 10:01 PM


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