+ Reply to Thread
Results 1 to 5 of 5

How to combine If and Substitute in Excel

  1. #1
    Registered User
    Join Date
    02-09-2016
    Location
    Ho Chi Minh
    MS-Off Ver
    2013
    Posts
    2

    How to combine If and Substitute in Excel

    Dear everyone, please help me the difficulties in Excel that i can't find the solution last days.

    I want to combine If and Substitue in excel to replace the content that i want in the message as :

    " Thank you letter from Company Ltd. - Mr ABC - Director Company XXX ....... "

    Name:  Screen Shot 2016-02-10 at 12.16.35.png
Views: 1088
Size:  28.5 KB

    I want Mr ABC will be replaced by Mr DEF and if B6 is blank (without Company), the content will delete Director Company XXX ....
    Last edited by alonecupid; 02-10-2016 at 11:55 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: How to combine If and Substitute in Excel

    Hi, welcome to the forum

    Not really sure I understand what you want, but try this...

    ="Thank you etc etc Company LTD - "&A5&IF(B5=""," - Director Company "&B5)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: How to combine If and Substitute in Excel

    Me too May be
    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    02-09-2016
    Location
    Ho Chi Minh
    MS-Off Ver
    2013
    Posts
    2

    Re: How to combine If and Substitute in Excel

    Quote Originally Posted by shukla.ankur281190 View Post
    Me too May be
    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    It's great, many thanks All with your support.

    Name:  Screen Shot 2016-02-11 at 10.50.24.png
Views: 1011
Size:  38.8 KBName:  Screen Shot 2016-02-11 at 10.50.24.png
Views: 1011
Size:  38.8 KB

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: How to combine If and Substitute in Excel

    Glad it helps you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vlookup and Substitute - Combine
    By Stressed_Daniel in forum Excel General
    Replies: 2
    Last Post: 07-16-2015, 07:38 AM
  2. [SOLVED] How to combine Upper Left and substitute in one formula?
    By MI3operations in forum Excel General
    Replies: 4
    Last Post: 03-20-2015, 02:26 PM
  3. Replies: 4
    Last Post: 10-28-2014, 11:04 PM
  4. [SOLVED] Evaluate non-blank, substitute and combine
    By Atticus_Finch in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2013, 04:53 PM
  5. [SOLVED] Combine VLOOKUP and SUBSTITUTE Functions?
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-03-2013, 11:00 AM
  6. How to combine multiple substitute functions?
    By ron_b_michigan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2012, 11:15 AM
  7. [SOLVED] SUBSTITUTE (more than one in Excel ?)
    By Andy100 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1