+ Reply to Thread
Results 1 to 3 of 3

Adding text to a result

  1. #1
    Forum Contributor
    Join Date
    02-16-2016
    Location
    england
    MS-Off Ver
    11
    Posts
    116

    Adding text to a result

    Hi all,

    Is there a way of conducting an indexmatch and adding text to the returning result. is 12345 for example...

    =(INDEX('[Tracker (2015).xlsx]CCF Status'!$F:$F,MATCH(BN8,'[Tracker (2015).xlsx]CCF Status'!$D:$D,0),0)


    The result is 12345 for example...

    I want to add a prefix on the result i.e.

    Task12345

    Thanks,

    D

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,172

    Re: Adding text to a result

    Like this:

    "Task"&(INDEX('[Tracker (2015).xlsx]CCF Status'!$F:$F,MATCH(BN8,'[Tracker (2015).xlsx]CCF Status'!$D:$D,0),0)

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,918

    Re: Adding text to a result

    You can also custom format the cell with the formula as: "Task " # if the formula is returning a number, or "Task " @ if it is returning a text string.

    That way, the results can be used elsewhere without the "Task" prefix.
    Ben Van Johnson

+ 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. [SOLVED] Wrong result adding values of text boxes in a userform.
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-27-2014, 09:46 AM
  2. Adding text to a number only result.
    By Zagra147 in forum Excel General
    Replies: 1
    Last Post: 01-21-2011, 06:44 AM
  3. Excel 2007 : Adding text,Result as Number
    By dj0037 in forum Excel General
    Replies: 9
    Last Post: 06-04-2010, 02:22 PM
  4. Adding Text [Formatting?] After Formula Result?
    By tpain123 in forum Excel General
    Replies: 2
    Last Post: 12-03-2009, 03:55 PM
  5. Adding specified text to the result of a formula
    By carlosbourn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2008, 09:56 AM
  6. Adding Text to result #
    By MIKE0W in forum Excel General
    Replies: 0
    Last Post: 03-28-2005, 01:35 PM
  7. [SOLVED] Adding text to the result of a formula?
    By Robbie in Houston in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-27-2005, 08:06 PM

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