+ Reply to Thread
Results 1 to 8 of 8

Data from multiple sheets

  1. #1
    Registered User
    Join Date
    03-17-2015
    Location
    rotherham
    MS-Off Ver
    2007
    Posts
    8

    Data from multiple sheets

    Hello,

    I am creating a Spreadsheet at the moment that has 3 sheets for 3 different people, each page is going to have information they will each work down and mark off yes or no in a drop down linking to the task they are doing, I want a 4th page that will take all the information from each from each of the 3 sheets row that has yes next to it. If it is relevant there will be 150 rows on each sheet Columns A to J showing Different information.

    Any advice on this would be brilliant thanks.
    Last edited by dwsg01; 03-17-2015 at 01:48 PM. Reason: Rule 1

  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: Data from multiple sheets

    There's a few ways. You could do the literal cell for cell pull, which is to click a cell, hit = and then nagivate to another sheet and click a cell.

    Another would be to use an INDEX(SMALL(IF array.

    I can't see your data, but let's pretend each sheet has some silliness in A2:A150, some more thingies in B2:B150, and then Yes and No's in C2:C150. In my imaginary workbook, you named your worksheets after your tabs after your people: Batman, Unicorn, and Frodo_Baggins.

    A2 on Sheet4:

    =IFERROR(INDEX(Batman!A$2:A$150,SMALL(IF(Batman!$C$2:$C$150="Y",ROW($A$2:$A$150)-1),ROW(A70))),"")

    This is confirmed with Ctrl+Shift+Enter to create an Array Formula. Drag this down 150 rows. Then start over, but with references to the next sheet.

    Or, you could use VBA code to swiftly run through each sheet and pull the relevant details.
    Attached Files Attached Files
    Last edited by daffodil11; 03-17-2015 at 01:51 PM.
    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
    Registered User
    Join Date
    03-17-2015
    Location
    rotherham
    MS-Off Ver
    2007
    Posts
    8

    Re: Data from multiple sheets

    I think =Iferror will work I have sheets Danny, Lauren, Will, Each sheet has 150 "tasks" in each task it has info about each task in columns A-J so ill work it around that.

    thanks :D

  4. #4
    Registered User
    Join Date
    03-17-2015
    Location
    rotherham
    MS-Off Ver
    2007
    Posts
    8

    Re: Data from multiple sheets

    Right, this is how it turned out: =ArrayFormula(IFERROR(INDEX(Danny!A$2:A$151,SMALL(IF(Danny!$L$2:$L$151="Post",ROW($A$2:$A$151)-1),ROW(A70))),""))

    Yes is now post as basically next to each task I have put a drop down saying; email/post if post is selected then it goes onto the 4th page so our admin can post information now i'm getting no error but the information from a row that says post is not being copied. I was doing this in excel but have now moved to google sheets so it can be shared will this make a difference

    Edit:

    Doh I just realised Im doing columns only can this be used if I want the rows all to merge together from each sheet ?
    Last edited by dwsg01; 03-17-2015 at 02:15 PM.

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

    Re: Data from multiple sheets

    Your first row should be ....!$L$2:$L$151="Post",ROW($A$2:$A$151)-1),ROW(A1))),""))

    This value will increment each time it is copied down to A2, A3, effectively searching for the 1st smallest, 2nd smallest, 3rd smallest without having to manually adjust the formula.

    Just make sure the first line for each name's formula starts with ...1)-1),ROW(A1)))

  6. #6
    Registered User
    Join Date
    03-17-2015
    Location
    rotherham
    MS-Off Ver
    2007
    Posts
    8

    Re: Data from multiple sheets

    OK sorted that Thank you so much, I just realized though I want all the data from the 3 sheets merged together will that work. I'm guesing not using that type of formula as id need versions with Danny!-:- Lauren!-:- and Will!-:- obviously cant put that in the same cell.
    Last edited by dwsg01; 03-17-2015 at 02:37 PM.

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

    Re: Data from multiple sheets

    I'd recommend attaching a sample of your workbook, or creating a mock-up if it's sensitive. Pretty much everything is possible; just depends how hard you want to work for it.

    I have a spreadsheet that can look up office locations, pull related Access data via a SQL query, filter relevant details within 'X' miles using spherical trigonometry, and instantly SaveAs pdf to predefined file name and attached to Outlook email. The sky is the limit.
    Last edited by daffodil11; 03-17-2015 at 02:58 PM.

  8. #8
    Registered User
    Join Date
    03-17-2015
    Location
    rotherham
    MS-Off Ver
    2007
    Posts
    8

    Re: Data from multiple sheets

    Ill get you a mock up haha

+ 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: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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