+ Reply to Thread
Results 1 to 11 of 11

multiple sheet reference

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    stoke-on-trent
    MS-Off Ver
    Excel 2013
    Posts
    5

    multiple sheet reference

    Hi all,
    I'm a beginner so excuse if my description of problem isn't great.
    I have 2 sheets in a workbook. How do I count in a cell on sheet 2 (call it cell 2A1) how many times a value from another cell on sheet 2 (2A2) appears in a range on sheet 1, say K1:K20. I've managed to do it as a literal value but I want to reference 2A2 in the formula as a variable.
    Any help would be appreciated.
    Thanks

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: multiple sheet reference

    If I understand you correctly, you want to count how many times the value in Sheet2 A2 is in the range K1:K20 on sheet1

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Registered User
    Join Date
    01-18-2014
    Location
    stoke-on-trent
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: multiple sheet reference

    Well you put me on the right track. I needed =COUNTIF(SHEET1!K1:K20,SHEET2!A2)
    got to it from your advice.
    Thank you

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: multiple sheet reference

    If the formula is on Sheet1 and the range to be counted is on Sheet1, you don't need the reference to Sheet1 in the formula.

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: multiple sheet reference

    Hi Jason - Welcome to the forum.

    I couldn't quite understand your question, especially the cell reference (2A1 & 2A2).

    I have attached a spreadsheet... Hope that helps....



    Please remember the following:

    1. Show appreciation to those who have helped you by clicking Add Repution below their posts.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-18-2014
    Location
    stoke-on-trent
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: multiple sheet reference

    Thanks for that spreadsheet. That's what I had. I used 2a2 to mean sheet2 cell a2. Probably should have made that clear. Apologies if that's not correct way to refer to cell.
    I have another one if you could help...
    Say sheet1 has A1:A15(apples, oranges or bananas), B1:B15 (date of order), C1:C15 (quantity), D1:15, (country) E1:E15 (buyer)
    On sheet2, sheet3, sheet4- cell H1 says apples, oranges and bananas, respectively.
    There are only columns for date of order (A), Quantity (B) and Buyer (C)
    Is it possible for sheets 2, 3, 4 to fill the required values automatically from data entered on sheet1?

  7. #7
    Registered User
    Join Date
    06-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: multiple sheet reference

    Jason,

    I would appreciate if you could attach an example spreadsheet to understand the scenario better....

  8. #8
    Registered User
    Join Date
    01-18-2014
    Location
    stoke-on-trent
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: multiple sheet reference

    Okay Adil. Thanks.
    Example.xlsx

  9. #9
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,290

    Re: multiple sheet reference

    Have you tried to solved it with a pivot table?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  10. #10
    Registered User
    Join Date
    06-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    66

    Re: multiple sheet reference

    That was a very decent Pivot that you provided popipipo..... Jason I would also recommend using Pivots in such cases....


    Please remember the following:

    1. Show appreciation to those who have helped you by clicking Add Repution below their posts.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  11. #11
    Registered User
    Join Date
    01-18-2014
    Location
    stoke-on-trent
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: multiple sheet reference

    Thanks Popipipo and Adil.master I haven't used pivot tables before but will look into their use and see if suitable for my purpose. I was hoping to make sheet 2 a template that would draw required information from sheet 1 automatically. My head hurts now.
    Thanks for the help.

+ 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. [SOLVED] Consolidate multiple worksheets into one reference cover sheet
    By Sarah Christian in forum Excel General
    Replies: 3
    Last Post: 01-10-2014, 12:59 AM
  2. Changing sheet reference on multiple hyperlinks
    By Dobo in forum Excel General
    Replies: 2
    Last Post: 07-18-2013, 09:04 PM
  3. [SOLVED] Need to pull multiple reference points into one spread sheet
    By oniete1997 in forum Excel General
    Replies: 10
    Last Post: 04-05-2012, 10:18 PM
  4. Replies: 2
    Last Post: 05-10-2009, 04:21 AM
  5. Replacing sheet reference in multiple cells...
    By neilcarden in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-23-2006, 12:10 PM

Tags for this Thread

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