Hi,

Please read below hope it will help you to understand substitute function..


In Excel, the *SUBSTITUTE* function replaces a set of characters with
another.

The syntax for the *SUBSTITUTE* function is:

SUBSTITUTE( text, old_text, new_text, [nth_appearance] )

*text* is the original string to use to perform the substitution.

*old_text* is the existing characters to replace.

*new_text* is the new characters to replace old_text with.

*nth_appearance* is optional. It is the nth appearance of old_text that you
wish to replace. I f this parameter is omitted, then every occurrence of
old_text will be replaced with new_text.
Applies To:

   - Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function:

   - Worksheet function (WS)

Worksheet Function Example:

Let's take a look at an example to see how you would use the
*SUBSTITUTE* function
in a worksheet:

[image: copyright www.TechOnTheNet.com]

Based on the Excel spreadsheet above, the *SUBSTITUTE* function would
return the following:

=SUBSTITUTE(A1, "bet", "con", 1)would return "Alphacon soup"=SUBSTITUTE(A2,
"t", "4", 2)would return "techon4henet.com"=SUBSTITUTE(A2, "t", "4")would
return "4echon4hene4.com"


On Tue, Sep 18, 2012 at 10:47 PM, Manoj Kumar <kumarmanoj.11...@gmail.com>wrote:

> Dear Expert,
>
> i want know about subtitute. anybody tell me about subtitute function..
>
>
> Regard
> Manoj
>
> --
> 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.
>
>
>



-- 
Thanks & Regards
Seraj Alam
*+91 989 130 1776*
*seraj.ala...@gmail.com*

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


Reply via email to