Re: $$Excel-Macros$$ Quarter Classification

2012-04-15 Thread Sam Mathai Chacko
A shorter one

=CHOOSE(CEILING(MONTH(A1)/3,1),April,July,October,January)

Regards,
Sam

On Sat, Apr 14, 2012 at 6:19 PM, Nikhil Shah nikhil201...@gmail.com wrote:

 Hi Maries,

 Thanks for solving my problem.

 Nikhil

 On Sat, Apr 14, 2012 at 6:15 PM, dguillett1 dguille...@gmail.com wrote:

   You need to provide a file.

 Don Guillett
 Microsoft MVP Excel
 SalesAid Software
 dguille...@gmail.com

  *From:* Nikhil Shah nikhil201...@gmail.com
 *Sent:* Saturday, April 14, 2012 2:38 AM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Quarter Classification

 Dear Friends,

 I  want to make the whole year classified in to 4 quarters as January,
 April, July and October.

 As and when I  give a  date it should be grouping in to that particular
 quarter only,( the date may be random) and one more thing that  the very
 next  Quarter will be taken for the name printing and followed by next
 remaining quarters.

 Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process
 will be like , Quarter grouping as 3rd Quarter as July Quarter and out put
 name   will be printed as October ( the very next Quarter) then followed by
 Jan, April, and July.

 Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October
 and the print will be January, April, July and October

 Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -  January
 and the print will be April,July and October and January.

 Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October
 and the print will be January, April,July and october

 I am using Excel 2003. I do want any Macro , I want Only Formula

 Awaiting Reply

 Nikhil Shah
 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




-- 
Sam Mathai Chacko

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss

Re: $$Excel-Macros$$ Quarter Classification

2012-04-15 Thread Nikhil Shah
Hi sam,

super Idea

Nikhil Shah

On Sun, Apr 15, 2012 at 7:01 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 A shorter one

 =CHOOSE(CEILING(MONTH(A1)/3,1),April,July,October,January)

 Regards,
 Sam


 On Sat, Apr 14, 2012 at 6:19 PM, Nikhil Shah nikhil201...@gmail.comwrote:

 Hi Maries,

 Thanks for solving my problem.

 Nikhil

 On Sat, Apr 14, 2012 at 6:15 PM, dguillett1 dguille...@gmail.com wrote:

   You need to provide a file.

 Don Guillett
 Microsoft MVP Excel
 SalesAid Software
 dguille...@gmail.com

  *From:* Nikhil Shah nikhil201...@gmail.com
 *Sent:* Saturday, April 14, 2012 2:38 AM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Quarter Classification

 Dear Friends,

 I  want to make the whole year classified in to 4 quarters as January,
 April, July and October.

 As and when I  give a  date it should be grouping in to that particular
 quarter only,( the date may be random) and one more thing that  the very
 next  Quarter will be taken for the name printing and followed by next
 remaining quarters.

 Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole
 process will be like , Quarter grouping as 3rd Quarter as July Quarter and
 out put name   will be printed as October ( the very next Quarter) then
 followed by Jan, April, and July.

 Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October
 and the print will be January, April, July and October

 Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -  January
 and the print will be April,July and October and January.

 Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October
 and the print will be January, April,July and october

 I am using Excel 2003. I do want any Macro , I want Only Formula

 Awaiting Reply

 Nikhil Shah
 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




 --
 Sam Mathai Chacko

  --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE

$$Excel-Macros$$ Quarter Classification

2012-04-14 Thread Nikhil Shah
Dear Friends,

I  want to make the whole year classified in to 4 quarters as January,
April, July and October.

As and when I  give a  date it should be grouping in to that particular
quarter only,( the date may be random) and one more thing that  the very
next  Quarter will be taken for the name printing and followed by next
remaining quarters.

Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process
will be like , Quarter grouping as 3rd Quarter as July Quarter and out put
name   will be printed as October ( the very next Quarter) then followed by
Jan, April, and July.

Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October and
the print will be January, April, July and October

Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -  January and
the print will be April,July and October and January.

Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October and
the print will be January, April,July and october

I am using Excel 2003. I do want any Macro , I want Only Formula

Awaiting Reply

Nikhil Shah

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ Quarter Classification

2012-04-14 Thread Maries
Hi,

Try it,

=VLOOKUP(MONTH(TEXT(A1,)1),{11,January;12,January;1,January;2,April;3,April;4,April;5,July;6,July;7,July;8,October;9,October;10,October},2,FALSE)

Regards,

MARIES.

On Sat, Apr 14, 2012 at 11:38 AM, Nikhil Shah nikhil201...@gmail.comwrote:

 Dear Friends,

 I  want to make the whole year classified in to 4 quarters as January,
 April, July and October.

 As and when I  give a  date it should be grouping in to that particular
 quarter only,( the date may be random) and one more thing that  the very
 next  Quarter will be taken for the name printing and followed by next
 remaining quarters.

 Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process
 will be like , Quarter grouping as 3rd Quarter as July Quarter and out put
 name   will be printed as October ( the very next Quarter) then followed by
 Jan, April, and July.

 Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October
 and the print will be January, April, July and October

 Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -
  January and the print will be April,July and October and January.

 Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October and
 the print will be January, April,July and october

 I am using Excel 2003. I do want any Macro , I want Only Formula

 Awaiting Reply

 Nikhil Shah

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Nikhil.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ Quarter Classification

2012-04-14 Thread Maries
Hi,

Previous one shows the next quarter.

Try below for previous quarter month,

=VLOOKUP(MONTH(TEXT(A1,)1),{1,January;2,January;3,January;4,April;5,April;6,April;7,July;8,July;9,July;10,October;11,October;12,October},2,FALSE)

Regards,

MARIES.

On Sat, Apr 14, 2012 at 11:53 AM, Maries talk2mar...@gmail.com wrote:

 Hi,

 Try it,


 =VLOOKUP(MONTH(TEXT(A1,)1),{11,January;12,January;1,January;2,April;3,April;4,April;5,July;6,July;7,July;8,October;9,October;10,October},2,FALSE)

 Regards,

 MARIES.


 On Sat, Apr 14, 2012 at 11:38 AM, Nikhil Shah nikhil201...@gmail.comwrote:

 Dear Friends,

 I  want to make the whole year classified in to 4 quarters as January,
 April, July and October.

 As and when I  give a  date it should be grouping in to that particular
 quarter only,( the date may be random) and one more thing that  the very
 next  Quarter will be taken for the name printing and followed by next
 remaining quarters.

 Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process
 will be like , Quarter grouping as 3rd Quarter as July Quarter and out put
 name   will be printed as October ( the very next Quarter) then followed by
 Jan, April, and July.

 Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October
 and the print will be January, April, July and October

 Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -
  January and the print will be April,July and October and January.

 Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  -
 October and the print will be January, April,July and october

 I am using Excel 2003. I do want any Macro , I want Only Formula

 Awaiting Reply

 Nikhil Shah

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com




-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ Quarter Classification

2012-04-14 Thread dguillett1
You need to provide a file.

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguille...@gmail.com

From: Nikhil Shah 
Sent: Saturday, April 14, 2012 2:38 AM
To: excel-macros@googlegroups.com 
Subject: $$Excel-Macros$$ Quarter Classification

Dear Friends, 

I  want to make the whole year classified in to 4 quarters as January, April, 
July and October.

As and when I  give a  date it should be grouping in to that particular quarter 
only,( the date may be random) and one more thing that  the very next  Quarter 
will be taken for the name printing and followed by next remaining quarters.

Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process will 
be like , Quarter grouping as 3rd Quarter as July Quarter and out put name   
will be printed as October ( the very next Quarter) then followed by Jan, 
April, and July.

Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October and the 
print will be January, April, July and October

Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -  January and the 
print will be April,July and October and January.

Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October and the 
print will be January, April,July and october

I am using Excel 2003. I do want any Macro , I want Only Formula

Awaiting Reply

Nikhil Shah 
-- 
FORUM RULES (986+ members already BANNED for violation)
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
 
2) Don't post a question in the thread of another member.
 
3) Don't post questions regarding breaking or bypassing any security measure.
 
4) Acknowledge the responses you receive, good or bad.
 
5) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
 
--
To post to this group, send email to excel-macros@googlegroups.com

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com


Re: $$Excel-Macros$$ Quarter Classification

2012-04-14 Thread Nikhil Shah
Hi Maries,

Thanks for solving my problem.

Nikhil

On Sat, Apr 14, 2012 at 6:15 PM, dguillett1 dguille...@gmail.com wrote:

   You need to provide a file.

 Don Guillett
 Microsoft MVP Excel
 SalesAid Software
 dguille...@gmail.com

  *From:* Nikhil Shah nikhil201...@gmail.com
 *Sent:* Saturday, April 14, 2012 2:38 AM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Quarter Classification

 Dear Friends,

 I  want to make the whole year classified in to 4 quarters as January,
 April, July and October.

 As and when I  give a  date it should be grouping in to that particular
 quarter only,( the date may be random) and one more thing that  the very
 next  Quarter will be taken for the name printing and followed by next
 remaining quarters.

 Ex : [ 1 ]. If I give a date - 16/08/2009 (dd/mm/)  the whole process
 will be like , Quarter grouping as 3rd Quarter as July Quarter and out put
 name   will be printed as October ( the very next Quarter) then followed by
 Jan, April, and July.

 Ex : [ 2 ]. Date.15/12/2010  (dd/mm/)   Quarter will be  -  October
 and the print will be January, April, July and October

 Ex : [ 3 ] . Date.22/03/2011  (dd/mm/)  Quarter will be  -  January
 and the print will be April,July and October and January.

 Ex : [ 4 ]. Date.15/10/2008   (dd/mm/)  Quarter will be  - October and
 the print will be January, April,July and october

 I am using Excel 2003. I do want any Macro , I want Only Formula

 Awaiting Reply

 Nikhil Shah
 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 --
 FORUM RULES (986+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.

 2) Don't post a question in the thread of another member.

 3) Don't post questions regarding breaking or bypassing any security
 measure.

 4) Acknowledge the responses you receive, good or bad.

 5) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com


-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com