+ Reply to Thread
Results 1 to 3 of 3

multiple sheets and naming cells

  1. #1
    Registered User
    Join Date
    03-31-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    1

    multiple sheets and naming cells

    If I have two worksheets that have the same data, eg membership details on various people and email addresses, how can I change information in one cell and it automatically changes in the next worksheet tab? One worksheet has more rows as it contains all members whilst the second worksheet only contains executive members, therefore, rows won't match as one worksheet has more rows. Can anyone help? I think it is to do with naming cells to link the same cells in each worksheet.

  2. #2
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: multiple sheets and naming cells

    Not sure you need 2 sheets. If the information is identical, then the "Exec" is just a subset of the whole membership. Include a column with "E" in it for execs and "M" for other members. Then use auto filter and filter on "E" to get your execs list.
    Your data needs to be in consecutive rows (no blanks) and no blank columns.
    Go to cell A1 and then Data tab and Autofilter
    Last edited by Kevin#; 03-31-2016 at 01:48 AM.

  3. #3
    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,974

    Re: multiple sheets and naming cells

    Hi, welcome to the forum

    You can do this in 1 direction with formulas, but not both ways, ie you can add/change data in sheet1 and sheet 2 will update, but you cannot also have it so that if you update sheet2, sheet1 also updates. the reason for this is that a cell can either contain data OR a formula, but not both.

    To update sheet1 if sheet2 gets changed, take a look at using the VLOOKUP functions
    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

  4. #4
    Valued Forum Contributor
    Join Date
    01-03-2016
    Location
    Conwy, Wales
    MS-Off Ver
    2016
    Posts
    974

    Re: multiple sheets and naming cells

    The attached file illustrates both post#2 and post#3 suggestions

    AutoFilter option
    Click on sheet "MemberList" and then use the dropdown box at the top of column E to only select "E" for Exec

    VLookup option
    Sheet "Exec" contains only the Exec members - values in B:E derived via Vlookup

    The formula in B2 is
    =VLOOKUP($A2,MemberList!$A:$E,COLUMN(),0)

    This formula matches value in column A of "Exec" and finds it in the first column of "MemberList", it then needs to know which column's values to use and the Zero at the end tells it to only go for an EXACT match.
    By setting up the table starting at column A, and making the tables identical, it is possible to use the Excel function =Columns() which returns the cell column number (which is identical for both tables)

    With Vlookup , the value you are looking up must be in the leftmost column of the lookup table and the value must be unique.
    If you list has Member Names in the first column and you do not want to change that, there are ways to get around that
    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. Naming cells on multiple worksheets
    By data_pig in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-21-2015, 01:31 PM
  2. Replies: 6
    Last Post: 07-14-2015, 10:24 AM
  3. Need help with copying rows, replicating sheets, naming sheets and assigning print area...
    By Navin Agrawal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2014, 09:21 AM
  4. [SOLVED] Vba to advance filter data on multiple conditions to many sheets with naming convention
    By 4gurus in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2013, 01:01 PM
  5. [SOLVED] Naming Multiple Cells
    By gowander in forum Excel General
    Replies: 5
    Last Post: 08-08-2012, 02:48 PM
  6. Re-Naming Sheets per Cell data & Hiding Sheets
    By dej222 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-26-2009, 10:20 PM
  7. [SOLVED] Naming multiple sheets in a workbook using cells within the workbo
    By amyc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2005, 09:05 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