Re: $$Excel-Macros$$ Formula for bucket

2012-02-25 Thread Sam Mathai Chacko
If you have a pretty long range, you could use another range to do the
lookup. I have also added the below suggestion to the attachment.

Regards,

Sam Mathai Chacko

On Sat, Feb 25, 2012 at 10:15 AM, Maries talk2mar...@gmail.com wrote:

 Hi,

 Try it..

 *=VLOOKUP(A1,{0,0-2;3,2-4;5,4-6;7,6+},2,TRUE)*
 **
 *=LOOKUP(A1,{0;3;5;7},{0-2;2-4;4-6;6+})*

 Regards,

 MARIES.
 On Fri, Feb 24, 2012 at 11:31 PM, xlstime xlst...@gmail.com wrote:

 Hi Pankaj,

 You can use Lookup function.

 please find the example sheet.


 On Sat, Feb 25, 2012 at 12:57 AM, Secret Shot secrets...@gmail.comwrote:

 Dear group,

 I want to make bucket of age like 0-2,2-4,4-6 etc.
 However I can do this by if formula.
 But that is very lanthy formula and also excel 2003 dose not support
 nested if greater then 7.
 So can anyone pls help me with any shortest way to do it pls.

 Regards
 Pankaj k pandey

 --
 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.

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


Age Group Using Vlookup.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Formula for bucket

2012-02-25 Thread xlstime
Great sam... very simple and easy



On Sat, Feb 25, 2012 at 3:24 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 If you have a pretty long range, you could use another range to do the
 lookup. I have also added the below suggestion to the attachment.

 Regards,

 Sam Mathai Chacko


 On Sat, Feb 25, 2012 at 10:15 AM, Maries talk2mar...@gmail.com wrote:

 Hi,

 Try it..

 *=VLOOKUP(A1,{0,0-2;3,2-4;5,4-6;7,6+},2,TRUE)*
 **
 *=LOOKUP(A1,{0;3;5;7},{0-2;2-4;4-6;6+})*

 Regards,

 MARIES.
 On Fri, Feb 24, 2012 at 11:31 PM, xlstime xlst...@gmail.com wrote:

 Hi Pankaj,

 You can use Lookup function.

 please find the example sheet.


 On Sat, Feb 25, 2012 at 12:57 AM, Secret Shot secrets...@gmail.comwrote:

 Dear group,

 I want to make bucket of age like 0-2,2-4,4-6 etc.
 However I can do this by if formula.
 But that is very lanthy formula and also excel 2003 dose not support
 nested if greater then 7.
 So can anyone pls help me with any shortest way to do it pls.

 Regards
 Pankaj k pandey

 --
 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.


 --
 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 

Re: $$Excel-Macros$$ Formula for bucket

2012-02-24 Thread xlstime
Hi Pankaj,

You can use Lookup function.

please find the example sheet.

On Sat, Feb 25, 2012 at 12:57 AM, Secret Shot secrets...@gmail.com wrote:

 Dear group,

 I want to make bucket of age like 0-2,2-4,4-6 etc.
 However I can do this by if formula.
 But that is very lanthy formula and also excel 2003 dose not support
 nested if greater then 7.
 So can anyone pls help me with any shortest way to do it pls.

 Regards
 Pankaj k pandey

 --
 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


lookup.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ Formula for bucket

2012-02-24 Thread Maries
Hi,

Try it..

*=VLOOKUP(A1,{0,0-2;3,2-4;5,4-6;7,6+},2,TRUE)*
**
*=LOOKUP(A1,{0;3;5;7},{0-2;2-4;4-6;6+})*

Regards,

MARIES.
On Fri, Feb 24, 2012 at 11:31 PM, xlstime xlst...@gmail.com wrote:

 Hi Pankaj,

 You can use Lookup function.

 please find the example sheet.


 On Sat, Feb 25, 2012 at 12:57 AM, Secret Shot secrets...@gmail.comwrote:

 Dear group,

 I want to make bucket of age like 0-2,2-4,4-6 etc.
 However I can do this by if formula.
 But that is very lanthy formula and also excel 2003 dose not support
 nested if greater then 7.
 So can anyone pls help me with any shortest way to do it pls.

 Regards
 Pankaj k pandey

 --
 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