Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Convert date to number representing Month

Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing the
month in A2 (for July, the number would be 7). This is so I can multiple by
the quantity of months. How can I accomplish that?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Convert date to number representing Month

In A2 put the following function:

=MONTH(A1)


--
Kevin Backmann


"Karin" wrote:

Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing the
month in A2 (for July, the number would be 7). This is so I can multiple by
the quantity of months. How can I accomplish that?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Convert date to number representing Month

Try this:

A1: Today()
A2: =MONTH(A1)

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Karin" wrote in message
...
Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing
the
month in A2 (for July, the number would be 7). This is so I can multiple
by
the quantity of months. How can I accomplish that?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Convert date to number representing Month

One way:

A1: =TODAY()
A2: =MONTH(A1)

In article ,
Karin wrote:

Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing the
month in A2 (for July, the number would be 7). This is so I can multiple by
the quantity of months. How can I accomplish that?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Convert date to number representing Month

I have tried that...I think my problem is that i am entering dates
(manually), and then need the months for a pivot table sort. I know i have
done this b4, but I just can't sort this out. It is late and after a long
day, week ;-).

"Kevin B" wrote:

In A2 put the following function:

=MONTH(A1)


--
Kevin Backmann


"Karin" wrote:

Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing the
month in A2 (for July, the number would be 7). This is so I can multiple by
the quantity of months. How can I accomplish that?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Convert date to number representing Month

Hey bud, I found the answer I needed below; thanks anyway.

"Kevin B" wrote:

In A2 put the following function:

=MONTH(A1)


--
Kevin Backmann


"Karin" wrote:

Hi,
If I have a date [NOW()] in Cell A1, I want to put a number representing the
month in A2 (for July, the number would be 7). This is so I can multiple by
the quantity of months. How can I accomplish that?

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
How do I convert a month-date format to day number of the year? Larry Excel Worksheet Functions 2 January 11th 07 05:21 PM
how to convert whole numbers representing seconds to mm:ss Elvin Excel Worksheet Functions 2 March 6th 06 05:49 PM
Function or formula to convert "text" month to number of month? Kevin Vaughn Excel Discussion (Misc queries) 0 February 4th 06 04:45 PM
Function or formula to convert "text" month to number of month Steve Vincent Excel Discussion (Misc queries) 1 February 4th 06 04:19 PM
Need a stacked bar chart with each stack representing a month KellyT@HLI Charts and Charting in Excel 3 June 14th 05 01:41 PM


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