#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default MONTH FORMULA

My validation button contains month & year ( apr-07,may-07....mar-08). If i
select a particular month in the validation button (eg: Aug-07). I should get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months. Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default MONTH FORMULA

Is it text such as Apr-07, or is it a real date? and when you say validation
button, are you referring to a cell containing Data Validation.

Assuming real dates and DV, something like

=DATEDIF(E4,TODAY(),"M")+1

--
---
HTH

Bob

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



"deepak bsg" wrote in message
...
My validation button contains month & year ( apr-07,may-07....mar-08). If
i
select a particular month in the validation button (eg: Aug-07). I should
get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months.
Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default MONTH FORMULA

Myne's is in date format only in the validation and i'm not able toa
understand u r formula. My requirement is count the months (starting from
"apr-07")

Thanks in advance

"Bob Phillips" wrote:

Is it text such as Apr-07, or is it a real date? and when you say validation
button, are you referring to a cell containing Data Validation.

Assuming real dates and DV, something like

=DATEDIF(E4,TODAY(),"M")+1

--
---
HTH

Bob

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



"deepak bsg" wrote in message
...
My validation button contains month & year ( apr-07,may-07....mar-08). If
i
select a particular month in the validation button (eg: Aug-07). I should
get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months.
Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default MONTH FORMULA

which is what I believe that my formula does.

--
HTH

Bob

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

"deepak bsg" wrote in message
...
Myne's is in date format only in the validation and i'm not able toa
understand u r formula. My requirement is count the months (starting from
"apr-07")

Thanks in advance

"Bob Phillips" wrote:

Is it text such as Apr-07, or is it a real date? and when you say
validation
button, are you referring to a cell containing Data Validation.

Assuming real dates and DV, something like

=DATEDIF(E4,TODAY(),"M")+1

--
---
HTH

Bob

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



"deepak bsg" wrote in message
...
My validation button contains month & year ( apr-07,may-07....mar-08).
If
i
select a particular month in the validation button (eg: Aug-07). I
should
get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months.
Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 33
Default MONTH FORMULA

thanks for u r prompt reply bob
but i'm not able to understand how i have to take my values as per u r
formula. plz provide u r help. i'll explain clearly what is my requirement.
when i select the month in the validation, i need to count the no of months
from "apr-2007" i.e., financial year ( apr - mar ). when i select the month (
ex: Jul -2007) in the validation, it has to count the no of months starting
from "Apr-07" in the required cell.
validation button conatins apr2007 - mar2008 (12 months)
i hope u have clearly understand my thing.
Thanks in advance.

"Bob Phillips" wrote:

which is what I believe that my formula does.

--
HTH

Bob

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

"deepak bsg" wrote in message
...
Myne's is in date format only in the validation and i'm not able toa
understand u r formula. My requirement is count the months (starting from
"apr-07")

Thanks in advance

"Bob Phillips" wrote:

Is it text such as Apr-07, or is it a real date? and when you say
validation
button, are you referring to a cell containing Data Validation.

Assuming real dates and DV, something like

=DATEDIF(E4,TODAY(),"M")+1

--
---
HTH

Bob

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



"deepak bsg" wrote in message
...
My validation button contains month & year ( apr-07,may-07....mar-08).
If
i
select a particular month in the validation button (eg: Aug-07). I
should
get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months.
Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default MONTH FORMULA

Please stop using IM shorthand in your message. Spell the words out

Bob's formula does EXACTLY what you want. assuming your 'validation button'
value is in cell E4.

Nobody quite understands what you mean by 'validation button,' so if the
value of "apr-07" is NOT in a cell, you ought to explain what you really
mean.

"deepak bsg" wrote:

thanks for u r prompt reply bob
but i'm not able to understand how i have to take my values as per u r
formula. plz provide u r help. i'll explain clearly what is my requirement.
when i select the month in the validation, i need to count the no of months
from "apr-2007" i.e., financial year ( apr - mar ). when i select the month (
ex: Jul -2007) in the validation, it has to count the no of months starting
from "Apr-07" in the required cell.
validation button conatins apr2007 - mar2008 (12 months)
i hope u have clearly understand my thing.
Thanks in advance.

"Bob Phillips" wrote:

which is what I believe that my formula does.

--
HTH

Bob

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

"deepak bsg" wrote in message
...
Myne's is in date format only in the validation and i'm not able toa
understand u r formula. My requirement is count the months (starting from
"apr-07")

Thanks in advance

"Bob Phillips" wrote:

Is it text such as Apr-07, or is it a real date? and when you say
validation
button, are you referring to a cell containing Data Validation.

Assuming real dates and DV, something like

=DATEDIF(E4,TODAY(),"M")+1

--
---
HTH

Bob

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



"deepak bsg" wrote in message
...
My validation button contains month & year ( apr-07,may-07....mar-08).
If
i
select a particular month in the validation button (eg: Aug-07). I
should
get
the total no.of months starting from apr-07 to aug-07 i.e., 5 months.
Hence i
require a formula to get the total no of months as explained above.


With the help of your fomula i'll extract the data from another sheet.






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
Trying to get a Boolean formula to work month-to-month mstieler Excel Discussion (Misc queries) 4 July 18th 07 10:12 PM
Function or formula to convert "text" month to number of month? Steve Vincent Excel Discussion (Misc queries) 5 May 15th 07 01:11 AM
Month formula Dar Excel Discussion (Misc queries) 7 December 5th 06 05:59 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


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