+ Reply to Thread
Results 1 to 2 of 2

formatting in forumula

  1. #1
    Registered User
    Join Date
    08-15-2006
    Posts
    71

    formatting in forumula

    Hi,

    I have the following formula:

    =A1&IF(A1=1," error for a volume of "," errors for a volume of ")&A2

    The values in A1 and A2 are follows: 0 and 1,000,000 respectively.

    I get the following result

    "0 errors for a volume of 1000000"

    My question is, how do I get the "1000000" to appear with camma separator? I have tried formatting A2 but that doesn't do anything.

    Thanks in advance for any help.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: formatting in forumula

    Hi, maybe

    =A1&IF(A1=1," error for a volume of "," errors for a volume of ")&text(A2,"#,##")

    Hope it helps


    Edit; I substituted ";" in the formula with " ,": I did not translate completely my Italian settings.
    Last edited by canapone; 07-07-2011 at 10:10 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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