+ Reply to Thread
Results 1 to 4 of 4

Counting between worksheets

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    meniha nre
    MS-Off Ver
    Excel 2003
    Posts
    9

    Counting between worksheets

    Hi folks,

    Noob at excel so would appreciate any help. I've attached an example.

    Worksheet 2: Column A lists the basket types
    Worksheet 2: Column D lists Fruit example.xlsxa type of fruit that should be in the basket

    Worksheet 1 should provide a count the number of times a particular fruit has been mapped to a basket in worksheet 2. I've filled out basket 1 in the example.

    Hope that makes sense and would appreciate any help.
    Thanks,
    Joe

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Counting between worksheets

    B2:
    =SUMPRODUCT((Worksheet2!$A$2:$A$53=$A2)*(Worksheet2!$D$2:$D$53=B$1))

    OR

    =COUNTIF(Worksheet2!$A$2:$A$53,$A2,Worksheet2!$D$2:$D$53,B$1)

    They both operate under the same principles. Copy over and down as needed.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

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

    Re: Counting between worksheets

    Try the below formula in cell B2 on Worksheet1 and copy to the right and down as needed.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Worth noting that your details show you're using Excel 2003 but the attached file is .xlsx so must be from Excel 2007 or later.
    If you ARE using 2003 then this formula will not work (you will need to use SUMPRODUCT instead). If you're actually using a later version than 2003 then you should update your details as this info can affect the solutions you're provided with.

    BSB.

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

    Re: Counting between worksheets

    Or try the use of 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

+ 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. Conditional counting between worksheets
    By skidia in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2013, 12:53 PM
  2. [SOLVED] Counting worksheets with a particular name
    By Freddie Mac in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-30-2006, 08:45 AM
  3. [SOLVED] Counting across worksheets
    By Pelham in forum Excel General
    Replies: 2
    Last Post: 08-17-2005, 05:05 AM
  4. Help with counting across worksheets
    By Biff in forum Excel General
    Replies: 4
    Last Post: 04-12-2005, 12: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