+ Reply to Thread
Results 1 to 5 of 5

Combining text and cell value to create a sentence

  1. #1
    StephanieH
    Guest

    Combining text and cell value to create a sentence

    In Excel 2000 I have something like the following:
    A B C D Inc/Dec
    1 April May YTD Goal
    2 $75 $50 $10 $200 decreased

    I'd like to form a sentence such as

    Recoveries decreased from May to April.
    I've tried "="Recoveries " &Text(E2) " from" &Text(B1) "to " &Text(A1)
    But keep getting "too many arguments".

    Any suggestions, or is this possible?

  2. #2
    Bob Umlas, Excel MVP
    Guest

    RE: Combining text and cell value to create a sentence

    Simply
    =Recoveries " & E2 &" from "& B1 & " to " & A1
    the Text function is not needed here, but if you DO use it, it takes a 2nd
    parameter, like
    =TEXT(E20,"#,##0.00") or =TEXT(D12,"mm/dd/yyyy"), not just =TEXT(A1).
    HTH
    Bob Umlas
    Excel MVP


    "StephanieH" wrote:

    > In Excel 2000 I have something like the following:
    > A B C D Inc/Dec
    > 1 April May YTD Goal
    > 2 $75 $50 $10 $200 decreased
    >
    > I'd like to form a sentence such as
    >
    > Recoveries decreased from May to April.
    > I've tried "="Recoveries " &Text(E2) " from" &Text(B1) "to " &Text(A1)
    > But keep getting "too many arguments".
    >
    > Any suggestions, or is this possible?


  3. #3
    StephanieH
    Guest

    RE: Combining text and cell value to create a sentence

    YAY. Thanks Bob.

    "Bob Umlas, Excel MVP" wrote:

    > Simply
    > =Recoveries " & E2 &" from "& B1 & " to " & A1
    > the Text function is not needed here, but if you DO use it, it takes a 2nd
    > parameter, like
    > =TEXT(E20,"#,##0.00") or =TEXT(D12,"mm/dd/yyyy"), not just =TEXT(A1).
    > HTH
    > Bob Umlas
    > Excel MVP
    >
    >
    > "StephanieH" wrote:
    >
    > > In Excel 2000 I have something like the following:
    > > A B C D Inc/Dec
    > > 1 April May YTD Goal
    > > 2 $75 $50 $10 $200 decreased
    > >
    > > I'd like to form a sentence such as
    > >
    > > Recoveries decreased from May to April.
    > > I've tried "="Recoveries " &Text(E2) " from" &Text(B1) "to " &Text(A1)
    > > But keep getting "too many arguments".
    > >
    > > Any suggestions, or is this possible?


  4. #4
    Gord Dibben
    Guest

    Re: Combining text and cell value to create a sentence

    Stephanie

    ="Recoveries " & E2 & " from " & B1 & " to " & A1


    Gord Dibben Excel MVP


    On Mon, 13 Jun 2005 10:31:01 -0700, "StephanieH"
    <[email protected]> wrote:

    >In Excel 2000 I have something like the following:
    > A B C D Inc/Dec
    >1 April May YTD Goal
    >2 $75 $50 $10 $200 decreased
    >
    >I'd like to form a sentence such as
    >
    >Recoveries decreased from May to April.
    >I've tried "="Recoveries " &Text(E2) " from" &Text(B1) "to " &Text(A1)
    >But keep getting "too many arguments".
    >
    >Any suggestions, or is this possible?



  5. #5
    JustinLabenne
    Guest

    Re: Combining text and cell value to create a sentence


    Try this one:

    ="Recoveries " &TEXT(E2,) & " from " &TEXT(B1,) & " to " &TEXT(A1,)


    --
    JustinLabenne

+ 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