$$Excel-Macros$$ Re: Quarter Classification
Hello Nikhil, This will give the current quarter. =TEXT(LOOKUP(MONTH(A1),{1,4,7,10})*29,"") This will give the Next Quarter =TEXT(LOOKUP(MONTH(A1)+3,{1,4,7,10,13})*29,"") ___ HTH, Haseeb -- 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$$ Re: Quarter Classification
Hi Haseeb, Sorry , answer is wrong. i.e. Dt.01/05/2010 ( DD/MM/ ) ,then Next Quarter should be July , here it's display april.. Nikhil On Sun, Apr 15, 2012 at 2:57 PM, Haseeb A wrote: > Hello Nikhil, > > This will give the current quarter. > > =TEXT(LOOKUP(MONTH(A1),{1,4,7,10})*29,"") > > This will give the Next Quarter > > =TEXT(LOOKUP(MONTH(A1)+3,{1,4,7,10,13})*29,"") > > ___ > HTH, Haseeb > > -- > 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$$ Re: Quarter Classification
Nikhil, I got answer July instead of April. There were two formulas in my last reply. First one for Current Quarter, 2nd one for Next Quarter. See the attached. ___ HTH, Haseeb -- 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 Quarter.xls Description: MS-Excel spreadsheet
Re: $$Excel-Macros$$ Re: Quarter Classification
Hi Hasseb, Now answer is right , i.e. Date 01/05/2010 ( DD/MM/ ) Format , Currently it's showing Curr.Qtr = April ; Next Qtr = July ..it is ok After July , Now I want Next Qtr = October ; Next Qtr = January Nikhil On Sun, Apr 15, 2012 at 11:07 PM, Haseeb A wrote: > Nikhil, > > I got answer July instead of April. There were two formulas in my last > reply. First one for Current Quarter, 2nd one for Next Quarter. > > See the attached. > > > ___ > HTH, Haseeb > > -- > 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$$ Re: Quarter Classification
Nikhil, One way: Assume date is in A2. So In B2 for the Curr Quarter. =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") Then in C2 =TEXT((1&B2)+99,"") Copy across to E2. See the attached. ___ HTH, Haseeb nikhil wrote: > > Now answer is right , > > i.e. Date 01/05/2010 ( DD/MM/ ) Format , > > Currently it's showing Curr.Qtr = April ; Next Qtr = July ..it is ok > > After July , Now I want Next Qtr = October ; Next Qtr = January > > Nikhil > -- 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 Copy_Quarter.xls Description: MS-Excel spreadsheet
Re: $$Excel-Macros$$ Re: Quarter Classification
Dear All, Why Use *29??? =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") Thanks & Regards Anil Kumar 113784 On Mon, Apr 16, 2012 at 11:36 AM, Haseeb A wrote: > Nikhil, One way: > > Assume date is in A2. So > > In B2 for the Curr Quarter. > > =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") > > Then in C2 > > =TEXT((1&B2)+99,"") > > Copy across to E2. > > > See the attached. > > ___ > HTH, Haseeb > > nikhil wrote: > >> >> Now answer is right , >> >> i.e. Date 01/05/2010 ( DD/MM/ ) Format , >> >> Currently it's showing Curr.Qtr = April ; Next Qtr = July ..it is ok >> >> After July , Now I want Next Qtr = October ; Next Qtr = January >> >> Nikhil >> > -- > 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 > -- Thanks & Regards Anil Kumar -- 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$$ Re: Quarter Classification
Hi Anil, Its very good formula made by Mr.Haseeb. 29 is used to pick the dates. check below, [image: Inline image 1] like 28,30 also can use. Regards, MARIES. On Mon, Apr 16, 2012 at 11:25 AM, anil panchal wrote: > Dear All, > > Why Use *29??? > > =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") > > Thanks & Regards > Anil Kumar > 113784 > On Mon, Apr 16, 2012 at 11:36 AM, Haseeb A > wrote: > >> Nikhil, One way: >> >> Assume date is in A2. So >> >> In B2 for the Curr Quarter. >> >> =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") >> >> Then in C2 >> >> =TEXT((1&B2)+99,"") >> >> Copy across to E2. >> >> >> See the attached. >> >> ___ >> HTH, Haseeb >> >> nikhil wrote: >> >>> >>> Now answer is right , >>> >>> i.e. Date 01/05/2010 ( DD/MM/ ) Format , >>> >>> Currently it's showing Curr.Qtr = April ; Next Qtr = July ..it is ok >>> >>> After July , Now I want Next Qtr = October ; Next Qtr = January >>> >>> Nikhil >>> >> -- >> 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 >> > > > > -- > > > > Thanks & Regards > Anil Kumar > > -- > 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 <<123.JPG>>
Re: $$Excel-Macros$$ Re: Quarter Classification
Hi Haseeb, Nice Formula.. Thanks Nikhil On Mon, Apr 16, 2012 at 11:36 AM, Haseeb A wrote: > Nikhil, One way: > > Assume date is in A2. So > > In B2 for the Curr Quarter. > > =TEXT(LOOKUP(MONTH(A2),{1,4,7,10})*29,"") > > Then in C2 > > =TEXT((1&B2)+99,"") > > Copy across to E2. > > > See the attached. > > ___ > HTH, Haseeb > > nikhil wrote: > >> >> Now answer is right , >> >> i.e. Date 01/05/2010 ( DD/MM/ ) Format , >> >> Currently it's showing Curr.Qtr = April ; Next Qtr = July ..it is ok >> >> After July , Now I want Next Qtr = October ; Next Qtr = January >> >> Nikhil >> > -- > 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