+ Reply to Thread
Results 1 to 5 of 5

Combining Text Function with Indirect Function

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    4

    Combining Text Function with Indirect Function

    Hi,

    I'm having an issue with the =TEXT(value,Format_text) function

    How can I use a cell reference as the format_text part of the TEXT Function?

    For example:
    =text(5.555,"0.00")
    returns 5.56

    =TEXT(5.555,INDIRECT(A5))
    where A5 = "0.00"
    returns #REF



    Here is the file:
    Text(#,Indirect).xlsx


    Thanks for your help.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Combining Text Function with Indirect Function

    Why using Indirect there?

    Try just
    =text(5.555,A5)

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Combining Text Function with Indirect Function

    Hi ninmjj,
    Welcome to forum.
    As mention by Jonmo1, you can use =text(5.555,A5), but your A5 = '0.00 NOT "0.00"

    If you wish to use indirect.
    Your A5 = '0.00 NOT "0.00",
    =TEXT(5.555,INDIRECT("A5"))
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Registered User
    Join Date
    12-27-2012
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Combining Text Function with Indirect Function

    So Simple. Thanks. It worked perfectly.

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Combining Text Function with Indirect Function

    Is great that your problem solved. :D

    +++ If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". +++

+ 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. Replies: 4
    Last Post: 01-13-2013, 08:56 PM
  2. combining a reference with the INDIRECT function
    By stl243 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-15-2012, 08:57 PM
  3. Combining TEXT and MATH function
    By ScottyRado in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 11-16-2011, 04:13 PM
  4. Combining text and cell reference with Indirect
    By Myname in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2008, 11:00 PM
  5. indirect function to pick certain text as formulas?
    By all4excel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-28-2007, 12:34 PM

Tags for this Thread

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