+ Reply to Thread
Results 1 to 8 of 8

Cell referencing

  1. #1
    Registered User
    Join Date
    09-04-2011
    Location
    Stamford, CT
    MS-Off Ver
    Excel 2003
    Posts
    10

    Cell referencing

    In the attached document, I have 3 sheets to make a schedule.

    Sheet 1 is the master.
    Sheet 2 is the first K class (K1).
    Sheet 3 is the second K class (K2).

    I'm wondering if there is a function or functions to extract the data from the master to the K2 sheet and have any changes made in the master schedule to be reflected in K2.
    I have manually setup exactly what I want in the K1 sheet.

    Any help would be much appreciated.
    Thank you.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Cell referencing

    short answer...with all that merging...not with a regular formula, corry

    Now, if you can drag yourself away from needing to have all those merged cells, and just go with regular cells, then maybe we can get somewhere
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Cell referencing

    FDibbins is right.

    Please try this file if possible.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  4. #4
    Registered User
    Join Date
    09-04-2011
    Location
    Stamford, CT
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Cell referencing

    Thanks for your help. This works great. How were you able to reference the sort sheet by only putting "!" instead of the whole sheet name i.e. 'MASTER'!

  5. #5
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Cell referencing

    The '!' is used to differentiating the cell name & the sheet name.

    So we can replace the sheet name & refer to the name listed in the cells using Indirect()

    I have attached the reference & marked in Yellow.

    Please have a look.
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Cell referencing

    You can shorten that formula a bit to this...
    =INDEX(INDIRECT("'"&B$2&"'!$B$2:$B$43"),MATCH($A3,INDIRECT("'"&B$2&"'!$A$2:$A$43"),0))

  7. #7
    Registered User
    Join Date
    09-04-2011
    Location
    Stamford, CT
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Cell referencing

    Yes. I've got it now. Thank you for this. I realized this shortly after I sent it. I'm just used to referencing the sheet simply by clicking on it to select my range reference. This is a neat trick though.

  8. #8
    Registered User
    Join Date
    09-04-2011
    Location
    Stamford, CT
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Cell referencing

    Thank you for your help! I have two more challenges for you.

    Challenge 1.
    I would like to extract all of the PE classes from the Monday sheet to the PE sheet. Is there a formula for that?
    I have manually input the data in on the attached workbook as to what I want. I realize including classes, "KC', "KS", maybe a stretch, but was wondering if there was a formula to save some time from manual input.

    Challenge 2
    On the Monday sheet, I have figured out a way to lookup the special classes that each classroom teacher has. I'm wondering if there is a way to get rid of the blanks and look up the next instance of "1" in the lookup table.

    For example, I have the following right now:
    ART
    Blank cell
    MUSIC
    Blank cell

    and I want:
    ART
    MUSIC

    Any help would be much appreciated. Thank you!
    Attached Files Attached Files

+ 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: 0
    Last Post: 01-09-2013, 06:58 AM
  2. Replies: 5
    Last Post: 12-19-2012, 09:16 AM
  3. Replies: 1
    Last Post: 10-14-2012, 12:23 AM
  4. Change Cell Font Color if Cell Contains Formula Referencing Another Cell
    By wilcox.patrick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2012, 10:24 PM
  5. Lookup referencing cell referencing range
    By cmcconnehey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2008, 06:19 PM

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