1 / 8

How to use “REPLACE” function in MS Excel | ExcelSirJi

ExcelSirJi is the top Microsoft Excel Tutorial offers free online excel courses, excel tricks, tips, online excel training, excel videos and more. Learn MS Excel today

excelsirji
Download Presentation

How to use “REPLACE” function in MS Excel | ExcelSirJi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to use “REPLACE” function in MS Excel www.excelsirji.com

  2. REPLACE function is used to replace the existing text from a specific location in a cell to New Text. • REPLACEFunction has argument four arguments i.e. old_text, start_num, num_chars and new_text. • We need to give the cell references and appropriate values in those arguments. • Syntax:=REPLACE(old_text,start_num,num_chars,new_text) www.excelsirji.com

  3. Syntax Description • old_textargument is used to give the cell reference of which text should be replaced. We can also give the specific text instead of cell reference. • start_numargument is used to give the location of first character in old_text argument from which replace should start. • num_charargument is used to give total number of characters are to be replaced in old_textargument. • new_textargument is used to give the replaced value that you want to replace in old_text. www.excelsirji.com

  4. Here we have some examples, where “Column A” contains various strings and are required replace first three characters to “MON”. Output of the function returns value in ”Column B” and explanation is also provided • We will be following REPLACE function as follows: • old_textargumentvalue “A2” shows the cell reference which text should be replaced • start_numargumentvalue “1” shows that replace of text should start from 1st character • num_charargumentvalue “3” shows that total 3 character to be replaced in cell “A2” string • new_textargumentvalue “MON” shows that first 3 characters are to be replaced with “MON” www.excelsirji.com

  5. Explanation“MONDAY” i.e. Output in Cell “B2” is showing that characters 1 to 3 of FRIDAY (in cell “A2”) is replaced with “MON” and same to other cells. www.excelsirji.com

  6. Things to Remember • Spaces available in a string is counted as characters. • Value in start_numandnum_chars arguments should NOT be negative. • Function should give output in “General” format, however if output is not as per the desired format then we need to change the cell format to “GENERAL”.

  7. About us: “ExcelSirJiis the top most Microsoft Excel Tutorial offers free online excel courses, online excel training”.Please visit our website for more details and watch our videos on YouTube to find any Tips or Tricks of MS Excel Website: www.excelsirji.com YouTube Channel:

  8. Thank you

More Related