superb answer sam.. Thx
On Friday, September 7, 2012 9:21:48 PM UTC+5:30, Sam Mathai Chacko wrote: > > Would this help? > > Regards, > Sam Mathai Chacko > > On Fri, Sep 7, 2012 at 8:45 PM, maksood alam <786ma...@gmail.com<javascript:> > > wrote: > >> Partially correct, but it show as per below >> >> *Numbers* >> *Required out put* >> 555-55-5505 >> ***-***-5505 >> 555-55-125-04444 >> ***-**-***-*4444 >> 555-55-5555-23 >> ***-**-**55-23 >> >> >> On Fri, Sep 7, 2012 at 8:41 PM, Kuldeep Singh >> <naukri...@gmail.com<javascript:> >> > wrote: >> >>> >>> Dear Maksood, >>> >>> You can use this and more clarity see attached file. >>> >>> =RIGHT(SUBSTITUTE(A1,"-",""),4) >>> >>> Regards, >>> Kuldeep Singh >>> >>> >>> On Fri, Sep 7, 2012 at 8:38 PM, <in.va...@gmail.com <javascript:>>wrote: >>> >>>> ** >>>> First use Substitue fn to subst "-" with "" and then use Right function. >>>> >>>> Rgds >>>> Vabs >>>> ------------------------------ >>>> *From: *maksood alam <786ma...@gmail.com <javascript:>> >>>> *Sender: *excel-...@googlegroups.com <javascript:> >>>> *Date: *Fri, 7 Sep 2012 20:33:28 +0530 >>>> *To: *<excel-...@googlegroups.com <javascript:>> >>>> *ReplyTo: *excel-...@googlegroups.com <javascript:> >>>> *Subject: *Re: $$Excel-Macros$$ show only last four digit of the number >>>> >>>> >>>> Kuldeep, please read my question in the mail. it should show last four >>>> digit and rest of all should show "*". >>>> if i use right(555-55-5555-23,4) it will show 5-23 but the answer >>>> should be 5523. >>>> On Fri, Sep 7, 2012 at 8:29 PM, Kuldeep Singh >>>> <naukri...@gmail.com<javascript:> >>>> > wrote: >>>> >>>>> >>>>> Hi, >>>>> >>>>> Try this one. >>>>> >>>>> =RIGHT(A1,4) >>>>> >>>>> Regards, >>>>> Kuldeep Singh >>>>> >>>>> On Fri, Sep 7, 2012 at 8:15 PM, maksood alam >>>>> <786ma...@gmail.com<javascript:> >>>>> > wrote: >>>>> >>>>>> Hi Guys, >>>>>> >>>>>> Below are the number i want to show only last four digit of the >>>>>> numbers and rest of all should be "*", please provide me the solution. >>>>>> >>>>>> *Numbers* >>>>>> *Required out put* >>>>>> 555-55-5505 >>>>>> ***-***-5505 >>>>>> 555-55-125-04444 >>>>>> ***-**-***-*4444 >>>>>> 555-55-5555-23 >>>>>> ***-**-**55-23 >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Join official facebook page of this forum @ >>>>>> https://www.facebook.com/discussexcel >>>>>> >>>>>> FORUM RULES (1120+ 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. >>>>>> >>>>>> 6) Jobs posting is not allowed. >>>>>> >>>>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not >>>>>> allowed. >>>>>> >>>>>> NOTE : Don't ever post personal or confidential data in a workbook. >>>>>> Forum owners and members are not responsible for any loss. >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "MS EXCEL AND VBA MACROS" group. >>>>>> To post to this group, send email to >>>>>> excel-...@googlegroups.com<javascript:> >>>>>> . >>>>>> To unsubscribe from this group, send email to >>>>>> excel-macros...@googlegroups.com <javascript:>. >>>>> >>>>> -- >>>>> Join official facebook page of this forum @ >>>>> https://www.facebook.com/discussexcel >>>>> >>>>> FORUM RULES (1120+ 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. >>>>> >>>>> 6) Jobs posting is not allowed. >>>>> >>>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not >>>>> allowed. >>>>> >>>>> NOTE : Don't ever post personal or confidential data in a workbook. >>>>> Forum owners and members are not responsible for any loss. >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "MS EXCEL AND VBA MACROS" group. >>>>> To post to this group, send email to >>>>> excel-...@googlegroups.com<javascript:> >>>>> . >>>>> To unsubscribe from this group, send email to >>>>> excel-macros...@googlegroups.com <javascript:>. >>>>> >>>>> >>>>> >>>> >>>> -- >>>> Join official facebook page of this forum @ >>>> https://www.facebook.com/discussexcel >>>> >>>> FORUM RULES (1120+ 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. >>>> >>>> 6) Jobs posting is not allowed. >>>> >>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >>>> >>>> NOTE : Don't ever post personal or confidential data in a workbook. >>>> Forum owners and members are not responsible for any loss. >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "MS EXCEL AND VBA MACROS" group. >>>> To post to this group, send email to >>>> excel-...@googlegroups.com<javascript:> >>>> . >>>> To unsubscribe from this group, send email to >>>> excel-macros...@googlegroups.com <javascript:>. >>>> >>>> >>>> >>>> -- >>>> Join official facebook page of this forum @ >>>> https://www.facebook.com/discussexcel >>>> >>>> FORUM RULES (1120+ 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. >>>> >>>> 6) Jobs posting is not allowed. >>>> >>>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >>>> >>>> NOTE : Don't ever post personal or confidential data in a workbook. >>>> Forum owners and members are not responsible for any loss. >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "MS EXCEL AND VBA MACROS" group. >>>> To post to this group, send email to >>>> excel-...@googlegroups.com<javascript:> >>>> . >>>> To unsubscribe from this group, send email to >>>> excel-macros...@googlegroups.com <javascript:>. >>>> >>> -- >>> Join official facebook page of this forum @ >>> https://www.facebook.com/discussexcel >>> >>> FORUM RULES (1120+ 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. >>> >>> 6) Jobs posting is not allowed. >>> >>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >>> >>> NOTE : Don't ever post personal or confidential data in a workbook. >>> Forum owners and members are not responsible for any loss. >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "MS EXCEL AND VBA MACROS" group. >>> To post to this group, send email to excel-...@googlegroups.com<javascript:> >>> . >>> To unsubscribe from this group, send email to >>> excel-macros...@googlegroups.com <javascript:>. >>> >>> >>> >> >> -- >> Join official facebook page of this forum @ >> https://www.facebook.com/discussexcel >> >> FORUM RULES (1120+ 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. >> >> 6) Jobs posting is not allowed. >> >> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >> >> NOTE : Don't ever post personal or confidential data in a workbook. Forum >> owners and members are not responsible for any loss. >> --- >> You received this message because you are subscribed to the Google Groups >> "MS EXCEL AND VBA MACROS" group. >> To post to this group, send email to excel-...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> excel-macros...@googlegroups.com <javascript:>. >> >> >> > > > > -- > Sam Mathai Chacko > -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.