+ Reply to Thread
Results 1 to 7 of 7

Reference Cell in middle of another cell's text

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    Rochester, NY
    Posts
    15

    Reference Cell in middle of another cell's text

    Hello,

    I'm trying to reference another cell in the middle of the number that is already in the cell.

    So as an example:

    if A1 was 9990000_____00360000000
    and C1 was 9001.

    How can I make the "blank" the number from C1?

    Thanks,
    Rob
    Last edited by RobP614; 10-08-2009 at 01:45 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,947

    Re: Reference Cell in middle of another cell's text

    Please Login or Register  to view this content.

    *With no info on source of other numbers in A1
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Moore, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Reference Cell in middle of another cell's text

    I was looking for this as well and it works great, but can you tell me how to format that referenced cell. I am inserting a percentage in the middle of text that explains the percent but when I insert the reference I get 0.0523145 instead of 5.2% even though the cell referenced is formatted propertly. Thanks so much!

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Reference Cell in middle of another cell's text

    Perhaps..

    ="9990000 "&ROUND(C1*100,1)&"% "&"00360000000"
    Last edited by arlu1201; 08-14-2012 at 04:30 AM.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    08-13-2012
    Location
    Moore, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Reference Cell in middle of another cell's text

    Thanks so much. That definitely got me on the right track. The sequence that made it perfect was ="9990000 "&ROUND(C1*100,1)&"% 003600000"
    I didn't need the third & or the additional ".
    Thanks again!

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Reference Cell in middle of another cell's text

    Judyj,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  7. #7
    Registered User
    Join Date
    08-13-2012
    Location
    Moore, SC
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Reference Cell in middle of another cell's text

    Ok. I understand. Thanks

+ 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