+ Reply to Thread
Results 1 to 3 of 3

Count Text across multiple sheets

  1. #1
    Registered User
    Join Date
    07-22-2014
    Location
    Dublin
    MS-Off Ver
    2010
    Posts
    17

    Count Text across multiple sheets

    Ok so I have a workbook with 29 sheets.

    28 of those sheets contain a column with text data in them.

    The text data in each column sometimes contains duplicate fields from sheet to sheet.

    What I want to do is fill the 29th sheet with one column containing all of the other sheets names, and one row containing all of the different text fields from the data column without any duplicates. That part has already been completed manually, however, if a new text field had to be added to a certain sheet, I would need that new field to be automatically added to the new Master sheet into the row containing all the different text fields from the data columns.

    Then for each name in my new 29th sheet, I want to put an "x" in the row/column cell if that text data appears in the individual sheets data column.

    E.g I have 2 sheets. The first one is called Apples, the text data column might say: green, smooth, sour etc, with each word in an individual cell.
    The second sheet is called Oranges, the text data column might say: Orange, smooth, round, sour etc.

    I want to fill my new master sheet with a column listing the two sheet names (Apples, Oranges), a row with all the possible text data names without duplicates (Green, Orange, smooth, sour, round in our example), and then I want to input an "x" wherever the sheet name contains specific text data from the newly created row. In this case I would expect to see:



    apples.png
    Last edited by normilet; 07-22-2014 at 09:09 AM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,279

    Re: Count Text across multiple sheets

    Add this code to a regular codemodule, and run it first, and then again whenever you want to fully update the summary sheet: change the letter "B" to the column letter of your "column with text data" in both procedures, and save your workbook as a macro-enabled .xlsm

    Please Login or Register  to view this content.
    Then add this code to the codemodule of the Thisworkbook object, to automatically update the Summary sheet when values are added to the other sheets.

    Please Login or Register  to view this content.
    Last edited by Bernie Deitrick; 07-22-2014 at 10:40 AM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    07-22-2014
    Location
    Dublin
    MS-Off Ver
    2010
    Posts
    17

    Re: Count Text across multiple sheets

    Thank you, that worked absolutely perfectly first time round, no issues whatsoever.

+ 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-11-2013, 02:39 AM
  2. Replies: 8
    Last Post: 07-13-2012, 06:00 AM
  3. Count - multiple criteria, multiple sheets, and date range.
    By threecliffs in forum Excel General
    Replies: 6
    Last Post: 06-14-2011, 01:36 PM
  4. Count multiple rows (text) with multiple criteria (text)
    By alecabral08 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-21-2008, 04:26 PM
  5. Count unique logs with multiple conditions of multiple sheets
    By Robert Bob in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-12-2007, 12:49 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