+ Reply to Thread
Results 1 to 4 of 4

Combining a cell value with text

  1. #1
    Forum Contributor
    Join Date
    10-12-2018
    Location
    Leesburg, FL
    MS-Off Ver
    2013
    Posts
    113

    Combining a cell value with text

    If I have a string value in a cell such as Foo() and I also have some values in some other cells, how can I combine them. For instance, if A2 = dog, B2 = 22 and I have Foo(A2&B2) in cell C2, how can I get C2 to display with the actual values of A2 and B2?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Combining a cell value with text

    Like this:

    ="Foo("&A2&B2&")"
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    10-12-2018
    Location
    Leesburg, FL
    MS-Off Ver
    2013
    Posts
    113

    Re: Combining a cell value with text

    Thank you AliGW!
    Last edited by AliGW; 02-06-2019 at 04:37 PM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,162

    Re: Combining a cell value with text

    You’re welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] combining text and date in cell
    By Reykjavik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2016, 03:01 PM
  2. [SOLVED] Combining Text from two cells into one cell
    By Jon_P in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-14-2012, 10:29 AM
  3. [SOLVED] Combining One cell to Middle of text of another (example)
    By decorjoe in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-14-2012, 01:53 AM
  4. combining text and cell references
    By oompa_l in forum Excel General
    Replies: 1
    Last Post: 06-12-2008, 04:18 PM
  5. Combining a date with text in one cell.
    By Karleajensar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2008, 10:59 AM
  6. Combining cell reference with text
    By mattflow in forum Excel General
    Replies: 5
    Last Post: 12-05-2005, 05:40 PM
  7. combining fixed text with a value of a cell
    By B4MB4M in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-12-2005, 07:07 PM

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