+ Reply to Thread
Results 1 to 5 of 5

How do i add a cell value in a sentence without using 2 cells?

  1. #1
    Jared
    Guest

    How do i add a cell value in a sentence without using 2 cells?

    If i want to write a sentence but with a cell value inside, how do i input it
    so the value of the cell is shown and not the reference?

    example: the days you worked today are ($A$6)

    i need it to be in one cell and not two seperate cells

  2. #2
    JE McGimpsey
    Guest

    Re: How do i add a cell value in a sentence without using 2 cells?

    One way:

    ="the days you worked today are " & $A$6

    In article <[email protected]>,
    Jared <[email protected]> wrote:

    > If i want to write a sentence but with a cell value inside, how do i input it
    > so the value of the cell is shown and not the reference?
    >
    > example: the days you worked today are ($A$6)
    >
    > i need it to be in one cell and not two seperate cells


  3. #3
    Gary''s Student
    Guest

    RE: How do i add a cell value in a sentence without using 2 cells?

    ="the days you worked today are(" & $A$6 & ")"

    --
    Gary's Student


    "Jared" wrote:

    > If i want to write a sentence but with a cell value inside, how do i input it
    > so the value of the cell is shown and not the reference?
    >
    > example: the days you worked today are ($A$6)
    >
    > i need it to be in one cell and not two seperate cells


  4. #4
    Jared
    Guest

    RE: How do i add a cell value in a sentence without using 2 cells?

    Great,
    Now how do i do the same but in a formula?

    entering a cell value in a formula?

    ='C:\Documents and Settings\Owner\Desktop\[April.xls]Month'!H7

    but instead of "april.xls" i want to put $B$2

    "Gary''s Student" wrote:

    > ="the days you worked today are(" & $A$6 & ")"
    >
    > --
    > Gary's Student
    >
    >
    > "Jared" wrote:
    >
    > > If i want to write a sentence but with a cell value inside, how do i input it
    > > so the value of the cell is shown and not the reference?
    > >
    > > example: the days you worked today are ($A$6)
    > >
    > > i need it to be in one cell and not two seperate cells


  5. #5
    Gary''s Student
    Guest

    RE: How do i add a cell value in a sentence without using 2 cells?

    Whenever you want to construct a reference by splicing together bits of
    strings use INDIRECT():

    =INDIRECT("[" & $B$2 & "]Month!H7")
    assuming that B2 contains the text April.xls

    REMEMBER: This will not work if the target workbook is not open.


    --
    Gary's Student


    "Jared" wrote:

    > Great,
    > Now how do i do the same but in a formula?
    >
    > entering a cell value in a formula?
    >
    > ='C:\Documents and Settings\Owner\Desktop\[April.xls]Month'!H7
    >
    > but instead of "april.xls" i want to put $B$2
    >
    > "Gary''s Student" wrote:
    >
    > > ="the days you worked today are(" & $A$6 & ")"
    > >
    > > --
    > > Gary's Student
    > >
    > >
    > > "Jared" wrote:
    > >
    > > > If i want to write a sentence but with a cell value inside, how do i input it
    > > > so the value of the cell is shown and not the reference?
    > > >
    > > > example: the days you worked today are ($A$6)
    > > >
    > > > i need it to be in one cell and not two seperate cells


+ 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