+ Reply to Thread
Results 1 to 2 of 2

Count data from other sheets into one cell

  1. #1
    Registered User
    Join Date
    05-17-2017
    Location
    Nottingham, England
    MS-Off Ver
    Version 1703
    Posts
    42

    Count data from other sheets into one cell

    Hi guys!

    I have multiple sheets on a workbook, labelled 1st all the way to 31st.

    I'm trying to create a master sheet, and in Cell B5 of each daily sheet, there will be 3 sets of information, Blue, Green or Orange.

    I'm trying to sum all sheets, if it's blue in B5 on the daily sheets = 1, if its green in B5 on the daily sheets = 2, if its orange in B5 on the daily sheets = 3.

    Whats the formula, to scan all sheets from the 1st to the 31st, and convert the words into the values above and a total sum?

    Hope this makes sense? I've attached a workbook with a bit of information if that helps?

    Thanks in advance!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,005

    Re: Count data from other sheets into one cell

    Create a named range (I used "Sheets") with a list of your tab names

    in B5

    =SUM(COUNTIF(INDIRECT("'"&Sheets&"'!B5:B100"),{"Blue","Orange"})*{0.5,1})

    enter with Ctrl+Shift+Enter (or not if you have 365)

    Update your profile with the correct Excel version (365,2019 etc)

    The requirement in your workbook does not agree with that in your post (which was addressed in previous post!)

    =SUM(COUNTIF(INDIRECT("'"&Sheets&"'!B5:B100"),{"Blue","Green","Orange"})*{1,2,3})
    Last edited by JohnTopley; 05-10-2021 at 12:35 PM.

+ 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] Count data from other sheets into one cell
    By Overdahill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-10-2021, 10:39 AM
  2. Creating multiple sheets depending a cell count
    By burlywood66 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-02-2010, 05:25 PM
  3. Count cell avarage from selected sheets
    By peterkiukas in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2008, 10:34 AM
  4. Replies: 1
    Last Post: 07-13-2006, 06:55 AM
  5. Replies: 1
    Last Post: 07-10-2006, 04:42 PM
  6. Replies: 1
    Last Post: 07-10-2006, 11:59 AM
  7. Replies: 0
    Last Post: 07-10-2006, 10:53 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