+ Reply to Thread
Results 1 to 4 of 4

How to make a formula from a text string?

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    2

    How to make a formula from a text string?

    Hi

    I am trying to make a formula from a text string. This works to some extend, but I cant get it completely right.
    I have entered text in
    A1: ='C:\2008.xls]January'!C
    B1-4: 1-2-3-4
    Then i make a cell in C1 which takes $A$1&B1
    C2 is $A$1&B2 etc...

    This gives me a formula in C1, from which I copy the values to D1 - The formula in D1 works if I doubleclick on the cell and press enter. But in my worksheet I have a couple of houndred of these cells, and double clicking each one of these is not an option. I thought pressing F9 would help, but Excel doesnt recognize the text as a formula... How do i do that?

    I really hope you can help!!!

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Enter this formula in C1, and copy down:

    =INDIRECT(RIGHT($A$1,LEN($A$1)-1)&B1)

    The RIGHT function is used, in order to drop the "=".

    HTH

    Jason

  3. #3
    Registered User
    Join Date
    11-28-2007
    Posts
    2
    Thanks for your reply, but this also just gives me a text string that isnt being used as a formula

  4. #4
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Please post up a copy of your workbook so we can take a look at it.

+ 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