+ Reply to Thread
Results 1 to 7 of 7

Create calc formula with INDIRECT and CONCATENATE

Hybrid View

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Switzerland
    MS-Off Ver
    MS Excel 365
    Posts
    68

    Create calc formula with INDIRECT and CONCATENATE

    Hi!

    I would like to create a variable formula. As an example, I have the following values:

    Cell A1: =
    Cell A2: *
    Cell A3: 2
    Cell A4: 3

    But the formula =INDIRECT(CONCATENATE(A1;A3;A2;A4)) does not work!?

    Any idea? Or is there any other solution to create variable calc formulas, based on different cell values?

    Thanks,
    FixandFoxi

  2. #2
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Create calc formula with INDIRECT and CONCATENATE

    Hi FixantFori,

    Indirect converts text to address reference. What is the output you require from the above example?

    Regards,
    Sindhu

  3. #3
    Registered User
    Join Date
    06-06-2012
    Location
    Switzerland
    MS-Off Ver
    MS Excel 365
    Posts
    68

    Re: Create calc formula with INDIRECT and CONCATENATE

    Hi Sindhu,

    Thanks for your feedback. The above is just an example. Finally I have a complex SUMPRODUCT formula with different named cell areas. Based on dropdown entries (by the user), the formula string should be amended. Is there any way to do that?

    Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Create calc formula with INDIRECT and CONCATENATE

    I couldn't understand your requirement. If you can share a workbook with dummy data, I can understand it better.

  5. #5
    Registered User
    Join Date
    06-06-2012
    Location
    Switzerland
    MS-Off Ver
    MS Excel 365
    Posts
    68

    Re: Create calc formula with INDIRECT and CONCATENATE

    Is there any way to do the following calculation, based on cells only:

    =CONCATENATE(A1;A3;A2;A4)

    The above formula gives the following text string: =2*3

    The result should be 6 and not the text.

    Thanks!

  6. #6
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: Create calc formula with INDIRECT and CONCATENATE

    I think you can try Evaulate function for your requirement. http://www.vertex42.com/ExcelArticle...-function.html

  7. #7
    Registered User
    Join Date
    06-06-2012
    Location
    Switzerland
    MS-Off Ver
    MS Excel 365
    Posts
    68

    Re: Create calc formula with INDIRECT and CONCATENATE

    EXCELLENT!!! That works!!! Many, many, thanks Sindhus!!!

+ 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