+ Reply to Thread
Results 1 to 5 of 5

Cell data/text problems

  1. #1
    Registered User
    Join Date
    05-10-2009
    Location
    Iceland
    MS-Off Ver
    Excel 2003
    Posts
    4

    Cell data/text problems

    I'm trying to put both text and cell value from another sheet in a single cell.

    I've tried:
    ='sheet'!cell"text"
    Doesn't work.

    Also, I understand this is somehow it's supposed to be done
    ="Total: "&A12
    But I need the cell data to be from another sheet and also I need the text to succeed the cell value.

    Going by the above example, I tried:
    ='sheet'&cell"text"
    But that also doesn't work.

    Does anyone have any idea how (or if) I can do this?

    Thanks.
    Last edited by Svefnleysi; 02-15-2010 at 02:41 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Cell data/text problems

    Put in cell = go to some cell (in any sheet) and click it then put & and then next cell (etc)

    For example =A1&'sheet'!B3

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Cell data/text problems

    Hi Sven,

    try something like

    =text(Sheet2!A1,"0.00")&" "&A1

    This will take the number from Sheet2, cell A1, convert it to a text where the number has two decimal points and then add the text from cell A1 from the current sheet.

    When you refer to a cell in another sheet, you need to use the syntax

    Sheet2!A1

    If the cell in the other sheet is a number and you want to apply a specific format to display the number, then use the TEXT() function to format the number into text

    =TEXT(Sheet2!A1,"SKR #,##0.00")

    as an example.

    You can concatenate text values with the & sign.

    If you want, post a sample of your data and mock up the expected result, then we can help you put a formula together. You can upload a file by clicking "Go Advanced" below the Quick Reply box and then the paper clip icon.

    Note: depending on your locality, you may need to exchange the comma , for the semicolon ; in your formulas.

    cheers

  4. #4
    Registered User
    Join Date
    05-10-2009
    Location
    Iceland
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Cell data/text problems

    Thanks, guys. Turns out I was misinterpreting what the ampersand was there for. It works perfectly now.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Cell data/text problems

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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