+ Reply to Thread
Results 1 to 6 of 6

Concatenate into formula

  1. #1
    Registered User
    Join Date
    05-28-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2003/2010
    Posts
    4

    Concatenate into formula

    Hi

    How do I get the results of a concatenation to be a formula rather than text? I've tried formatting the cell AFTER the concatenation.

    A simplified version of what I'm doing, Cell A1 contains A1+ and cell B1 contains B1, if I use ="="&A1&B1, I get =A1+B1 but as text, when I want it to actually return the value of A1+B1. I've tried formatting to general, instead of text, but to no avail.

    I'm probably missing something simple *sigh*

    Thanks in advance

    M.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,153

    Re: Concatenate into formula

    A1 contains text and b1 contains text and you want a value returned? I don't understand. can you explain again.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Concatenate into formula

    This should work
    Formula in C1
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 10 15 1015
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    07-26-2016
    Location
    Torun, Poland
    MS-Off Ver
    2007/2010/2013
    Posts
    23

    Re: Concatenate into formula

    I think you have this in mind:

    Please Login or Register  to view this content.
    If you have for example 2+ in A1 cell and 4 in B1 cell, this formula should show text "=6". You have to separate "+" from number 2 to be recognised as value.
    I hope that is what you wanted to achieve.
    Last edited by Feronen; 07-26-2016 at 08:20 AM.

  5. #5
    Registered User
    Join Date
    05-28-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2003/2010
    Posts
    4

    Re: Concatenate into formula

    Thanks for reply, I probably should have explained it better but was trying to keep it simple

    I am setting up a suite of marking sheets for student exams.

    Worksheet 1 has marks awarded for exam questions.

    Worksheet 2 picks up subtotals from worksheet 1 and more calculations are done.

    So I can copy and paste links etc and all works fine.


    However I have multiple marking sheets to set up and the sub total cells in worksheet 1 are not always the in the same cells, so pasting links for each individual sheet is quite long winded, so I was looking for a shortcut. I have worked out a way of listing the relevant cells in column D sheet 2. Now however I want to pick up the cell reference as a formula, so that the actual value appears in column e. So let's say cell D1 contains "E22" I was trying to say ="sheet1"&D1, so that the value in E22 on sheet 1 appears.

    So go to go back to my original example, which is hopefully simpler, if you see the attachment below, I wanted cell d3 to return 30. (I know it doesn't make much sense to do that, but if I can do that, I can do what I'm trying to do above)



    Sorry if that sounds dreadfully confusing :S
    Attached Images Attached Images

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Concatenate into formula

    You would have to use INDIRECT function
    Try this formula in D3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v D E
    1 10 15
    2 D1 E1
    3 25
    Or if you trying to concatenate them
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. Replies: 9
    Last Post: 11-19-2014, 04:15 PM
  2. Replies: 2
    Last Post: 08-24-2014, 04:56 AM
  3. CONCATENATE formula
    By Quagga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2011, 05:31 PM
  4. Replies: 2
    Last Post: 04-12-2010, 12:35 PM
  5. Replies: 1
    Last Post: 05-20-2009, 08:15 AM
  6. Replies: 1
    Last Post: 05-20-2009, 07:56 AM
  7. Evaluating results of a concatenate formula, as a formula
    By dodger in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-09-2005, 09:05 AM

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