+ Reply to Thread
Results 1 to 4 of 4

How to make a cell return the formatted value in a text string (i.

  1. #1
    n.almeida
    Guest

    How to make a cell return the formatted value in a text string (i.

    I have a cell A1 with a date (say 01.Jan.2005). I format it to display
    050101. I have a cell cell B1 with a code (say 101).
    I want to join then in C1; =A1&" - "&B1; I expect the result 050101 - 101
    but I get 38353 - 101.
    I know that the number corresponds to serial number of that date in the
    Excel. But I don't have any use for that number, what I want is the formatted
    date

  2. #2
    Arvi Laanemets
    Guest

    Re: How to make a cell return the formatted value in a text string (i.

    Hi

    =TEXT(A1,"yymmdd")&" - "&B1

    --
    When sending mail, use address arvil<at>tarkon.ee
    Arvi Laanemets


    "n.almeida" <[email protected]> wrote in message
    news:[email protected]...
    > I have a cell A1 with a date (say 01.Jan.2005). I format it to display
    > 050101. I have a cell cell B1 with a code (say 101).
    > I want to join then in C1; =A1&" - "&B1; I expect the result 050101 - 101
    > but I get 38353 - 101.
    > I know that the number corresponds to serial number of that date in the
    > Excel. But I don't have any use for that number, what I want is the

    formatted
    > date




  3. #3
    AMDGUY [MCP]
    Guest

    Re: How to make a cell return the formatted value in a text string(i.

    are you trying to subtract days months years??
    n.almeida wrote:
    > I have a cell A1 with a date (say 01.Jan.2005). I format it to display
    > 050101. I have a cell cell B1 with a code (say 101).
    > I want to join then in C1; =A1&" - "&B1; I expect the result 050101 - 101
    > but I get 38353 - 101.
    > I know that the number corresponds to serial number of that date in the
    > Excel. But I don't have any use for that number, what I want is the formatted
    > date


  4. #4
    n.almeida
    Guest

    Re: How to make a cell return the formatted value in a text string

    Thanks

    "Arvi Laanemets" wrote:

    > Hi
    >
    > =TEXT(A1,"yymmdd")&" - "&B1
    >
    > --
    > When sending mail, use address arvil<at>tarkon.ee
    > Arvi Laanemets
    >
    >
    > "n.almeida" <[email protected]> wrote in message
    > news:[email protected]...
    > > I have a cell A1 with a date (say 01.Jan.2005). I format it to display
    > > 050101. I have a cell cell B1 with a code (say 101).
    > > I want to join then in C1; =A1&" - "&B1; I expect the result 050101 - 101
    > > but I get 38353 - 101.
    > > I know that the number corresponds to serial number of that date in the
    > > Excel. But I don't have any use for that number, what I want is the

    > formatted
    > > date

    >
    >
    >


+ 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