+ Reply to Thread
Results 1 to 3 of 3

Formula to summarize text from different sheets into a summary sheet?

  1. #1
    Registered User
    Join Date
    03-21-2016
    Location
    Portland, Oregon
    MS-Off Ver
    2013
    Posts
    2

    Formula to summarize text from different sheets into a summary sheet?

    Hello,

    I'm trying to figure out a way to create a workbook with several sheets of mainly text and dates (for scheduling purposes), but I'm trying to find a way to summarize the information from each sheet onto a summary sheet. My current issue is how to get excel to know that once these "IF" statemetnts are true (meaning the data from that cell is entered into a summary sheet, the next time the IF is true, I want it to move to the next cell down.

    Here is my current formula: =IF(A6="Group1",(INDIRECT("Sheet1!$C2")),IF(A6="Group2",(INDIRECT("Sheet2!$C2")),IF(A6="Group3",(INDIRECT("Sheet3!$C2")),IF(A6="Group4",(INDIRECT("Sheet4!$C2")),"no"))))

    If I type Group1 into A6 the first time and get "Sheet1!$C2", then when I have the formula set up in the next row down (A7, if I type Group 1 again, I want the result to be "Sheet1!$C3".

    Any thoughts? Thanks in advance!

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula to summarize text from different sheets into a summary sheet?

    Try this:

    =IF(OR(A6="Group"&{1;2;3;4}),INDIRECT("'"&SUBSTITUTE(A6,LEFT(A6,5),"Sheet")&"'!C"&ROWS(C$1:C2)),"No")

    copy down

  3. #3
    Registered User
    Join Date
    03-21-2016
    Location
    Portland, Oregon
    MS-Off Ver
    2013
    Posts
    2

    Re: Formula to summarize text from different sheets into a summary sheet?

    Thank you; that's really close!

    Attached is an example of the result of using your formula. The only problem is that each time the test is true (any group is entered), excel is selecting the next cell down, regardless of which sheet it is referencing.
    I need it to select the next cell down based on how many times that group has already been entered. For example, the as you see in the first two active rows, the first time I enter Group 1 it pulls from the correct cell, and the second time it works as well (because it is the second entry in general),
    but when I enter "Group2" for the first time, excel is pulling the third cell from sheet2, rather than the first cell (as it is the first time Group2 has been entered).

    Is there a way to do this?

    Example of testing data in sheet1 also attached.
    Attached Images Attached Images

+ 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] Loop through sheets - pick up formula from same cells each sheet into summary sheet
    By Webbo in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-07-2013, 01:43 PM
  2. [SOLVED] Formula to combine data from multiple sheets to a summary sheet
    By laurann in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2013, 02:38 PM
  3. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  4. Summarize Sheets onto one Sheet / Create New Sheet from Template with Button
    By albizzundy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2013, 01:33 PM
  5. Replies: 20
    Last Post: 10-19-2012, 04:35 PM
  6. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  7. How to summarize two sheets in the third sheet
    By L.K. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-08-2006, 02:20 AM
  8. Summarize multiple worksheet detail on summary sheet
    By 061931 in forum Excel General
    Replies: 6
    Last Post: 05-23-2005, 10:06 AM

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