+ Reply to Thread
Results 1 to 3 of 3

Number format:Is it possible to change the number format in such a case?

  1. #1
    Forum Contributor
    Join Date
    08-22-2005
    Location
    Denmark
    MS-Off Ver
    Excel 365
    Posts
    349

    Number format:Is it possible to change the number format in such a case?

    I have a cell containing:

    ="Number of combinations = "&COUNTA(C2:C1500)*COUNTA(D2:D1500)

    This number easily exceeds 1 million which makes it diffcult to read with all the digits in one long row, so I would like to format it with thousand-separators.
    I could make the calculation in another cell e.g. C25 and then write:

    ="Number of combinations = "&C25

    and then format C25 to thousandseparators, but that does not change the appearance in the cell where I combine it with the text.

    Is it possible to change the number format in such a case?


    NSV

  2. #2
    Bob Phillips
    Guest

    re: Number format:Is it possible to change the number format in such a case?

    ="Number of combinations =
    "&TEXT(COUNTA(C2:C1500)*COUNTA(D2:D1500),"#,###,##0")


    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "nsv" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I have a cell containing:
    >
    > ="Number of combinations = "&COUNTA(C2:C1500)*COUNTA(D2:D1500)
    >
    > This number easily exceeds 1 million which makes it diffcult to read
    > with all the digits in one long row, so I would like to format it with
    > thousand-separators.
    > I could make the calculation in another cell e.g. C25 and then write:
    >
    > ="Number of combinations = "&C25
    >
    > and then format C25 to thousandseparators, but that does not change the
    > appearance in the cell where I combine it with the text.
    >
    > Is it possible to change the number format in such a case?
    >
    >
    > NSV
    >
    >
    > --
    > nsv
    > ------------------------------------------------------------------------
    > nsv's Profile:

    http://www.excelforum.com/member.php...o&userid=26500
    > View this thread: http://www.excelforum.com/showthread...hreadid=484208
    >




  3. #3
    Forum Contributor
    Join Date
    08-22-2005
    Location
    Denmark
    MS-Off Ver
    Excel 365
    Posts
    349
    It works - thanks Bob!

    NSV

+ 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