+ Reply to Thread
Results 1 to 2 of 2

how to "soft code" part of a cell reference and hard code the rest

  1. #1
    Registered User
    Join Date
    10-27-2013
    Location
    New York, New York
    MS-Off Ver
    Excel 2010
    Posts
    1

    how to "soft code" part of a cell reference and hard code the rest

    please see attached spreadsheet. sheet 3 describes what I hope to be able to do.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: how to "soft code" part of a cell reference and hard code the rest

    welcome to the forum, books. try:
    =INDIRECT("'"&$B$14&"'!"&ADDRESS(ROWS(C$5:C5),COLUMNS($C5:C5)))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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. "Hard code" the fill color of a cell
    By mroberts in forum Excel General
    Replies: 1
    Last Post: 12-18-2012, 01:20 PM
  2. Replies: 0
    Last Post: 11-20-2012, 10:22 AM
  3. reference the file set by the VBA code "Set wb = Workbooks.Open(sWb)"
    By ggremel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2011, 11:49 PM
  4. "Indirect" reference to a cell in a code: how to do it?
    By bondcrash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2005, 12:05 PM
  5. Replacing hard code with reference to a cell value
    By jojo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-06-2005, 11:06 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