+ Reply to Thread
Results 1 to 6 of 6

referencing another sheet using the contents and not the cell reference

  1. #1
    Registered User
    Join Date
    08-04-2010
    Location
    Rotherham
    MS-Off Ver
    Excel 2003
    Posts
    49

    referencing another sheet using the contents and not the cell reference

    Hi


    I have a query relating to handling a report I've imported into excel.

    It contains a list of items in Column A and a list of quantities in Column B these apply to 5 sheets, with a totals sheet, the problem being that the rows can sometimes be different. Which means referencing a cell will not work as the item that appears in the cell may be different on each sheet. So can I reference to a cells contents and not the cell?


    Thanks

    Ben

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,450

    Re: referencing another sheet using the contents and not the cell reference

    So can I reference to a cells contents and not the cell?
    What? Don't understand what you mean. Suggest you post a sample workbook, or two, and clarify your requirement.

    If you have a reference value, you can probably use VLOOKUP or INDEX/MATCH to locate related data.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: referencing another sheet using the contents and not the cell reference

    Could you post a sample workbook and include your expected results? That will make it far easier to provide you with a working solution.

    BSB

  4. #4
    Registered User
    Join Date
    08-04-2010
    Location
    Rotherham
    MS-Off Ver
    Excel 2003
    Posts
    49

    Re: referencing another sheet using the contents and not the cell reference

    Hi, sorry about the confusion.

    I've created a sample

    WEEK1 and WEEK2 have the same ITEMS however WEEK3 contains some different items ITEM027 has been added and ITEM002 removed from WEEK3.


    On the totals sheet I need to see all the items so that would include the addition of ITEMS027 and still include ITEM002. so the definitive list will be:-

    ITEM001
    ITEM002
    ITEM004
    ITEM005
    ITEM012
    ITEM023
    ITEM024
    ITEM026
    ITEM027


    When our stock system exports reports it will do all current items, which can change from week to week.


    Hope this makes sense
    Attached Files Attached Files

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,450

    Re: referencing another sheet using the contents and not the cell reference

    Splitting data across sheets is always a bad idea ... as is evident when you try to analyse it, at least, without VBA.

    Why not put all the data on one sheet and add a column for week number? Then you can filter it, sort it, use a Pivot Table to analyse it, create Charts to present the data graphically, etc.

    None of which is easy if you have an ever growing number of weekly sheets ... which also runs out of steam at the end of the year.

    Regards, TMS
    Last edited by TMS; 11-18-2015 at 05:19 AM.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: referencing another sheet using the contents and not the cell reference

    Like what TMS suggested, keep a Master data sheet to hold all your data and based on that create a Pivot Table to see your desired outcome.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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: 13
    Last Post: 09-01-2015, 05:07 AM
  2. Referencing a sheets contents within a sheet
    By thatbigkid in forum Excel General
    Replies: 4
    Last Post: 07-21-2014, 11:58 AM
  3. [SOLVED] Cell summing through referencing neighbor cell contents
    By metalray in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2014, 09:08 AM
  4. Replies: 0
    Last Post: 01-09-2013, 06:58 AM
  5. REFERENCING cell reference
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2006, 03:30 PM
  6. Using a cells contents to reference a sheet.
    By JoeM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2005, 04:10 PM
  7. [SOLVED] Getting contents of a cell when cell reference is in the sheet
    By A Nelson in forum Excel General
    Replies: 3
    Last Post: 10-05-2005, 02:05 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