+ Reply to Thread
Results 1 to 12 of 12

Formula to Pull Data from Multiple Worksheets

  1. #1
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Formula to Pull Data from Multiple Worksheets

    I am working on a spreadsheet that will consist of 4 Worksheets - 3 will be for individual products and the 4th should be a worksheet that gathers information from the other three and fills in data as needed. I am wondering if it is possible to do what I'm needing to do using excel. I think the best way to explain is with an example.

    Worksheet one contains four columns with Manufacturer, date ordered, model, customer name and date PICKED UP for Model #1
    Worksheet two contains the same for Model #2
    Worksheet three contains the same for Model #3

    On Worksheet 4, I have three columns, Date, Manufacturer and model

    I would like the columns in Worksheet four to Auto populate (using a formula??) automatically with the corresponding information from Worksheets 1-3 when DATE PICKED Up is filled in any of the worksheets.

    I have gotten the worksheet to auto populate from ONE worksheet using a simple IF formula, but I'm not sure if there is a way to create one formula that will allow me to enter data into any of the first three worksheets and populate the 4th.

    Hopefully this explanation makes sense. Any thoughts, help or suggestions would be great. Thanks!
    Last edited by BrianaL; 05-18-2017 at 03:12 PM.

  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,169

    Re: Formula to Pull Data from Multiple Worksheets

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Pull Data from Multiple Worksheets

    Ok - Example spreadsheet is shown - the desired info is a mock up as I cannot get the formula correct. I only want information from Sheets 1-3 to show up on Sheet 4 when the Pick Up date is filled in.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Pull Data from Multiple Worksheets

    I"m more than happy to provide more info - if anyone is willing to throw any ideas out. I'm just stumped!

  5. #5
    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,169

    Re: Formula to Pull Data from Multiple Worksheets

    It would be much easier if the all the data was one one sheet.

  6. #6
    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,169

    Re: Formula to Pull Data from Multiple Worksheets

    With Data in one Sheet (Model1)

    in A2

    =IFERROR(INDEX('Model 1'!$B$2:$B$1000,SMALL(IF('Model 1'!$E$2:$E$1000<>0,ROW('Model 1'!$B$2:$B$1000)-ROW($B$2)+1,""),ROWS($B$2:B2))),"")

    in B2

    =IFERROR(INDEX('Model 1'!$A$2:$A$1000,SMALL(IF('Model 1'!$E$2:$E$1000<>0,ROW('Model 1'!$B$2:$B$1000)-ROW($B$2)+1,""),ROWS($B$2:C2))),"")

    in C2

    =IFERROR(INDEX('Model 1'!$E$2:$E$1000,SMALL(IF('Model 1'!$E$2:$E$1000<>0,ROW('Model 1'!$B$2:$B$1000)-ROW($B$2)+1,""),ROWS($B$2:D2))),"")

    Enter ALL above ..

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Pull Data from Multiple Worksheets

    I unfortunately cannot put everyone onto one Data sheet - as we have dozens - in one case hundreds - of entries per model and sorting that data when a new entry appears is a bit of a nightmare - we are doing that now and having issues with data entry and being able to see the data correctly. I gave a VERY dumbed down version of our spreadsheet for the example. But thanks for trying!

  8. #8
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to Pull Data from Multiple Worksheets

    Obviously this is straightforward with VBA, though also doable with worksheet formulas alone:

    https://excelxor.com/2014/10/16/coll...on-conditions/

    You should be able to work out the required changes for your set-up, though give me a shout if you get stuck.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  9. #9
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Pull Data from Multiple Worksheets

    I'm still working on it - but the formula you give is contingent upon a singe character "Y" in the full time column...how would I translate that to the cell being filled, regardless of character (as mine would be different dates). I'm getting a bit hung up there.
    Last edited by BrianaL; 05-22-2017 at 03:59 PM.

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to Pull Data from Multiple Worksheets

    In place of "Y" and ="Y" use "<>" and <>"" respectively.

    Regards

  11. #11
    Registered User
    Join Date
    05-01-2017
    Location
    Idaho
    MS-Off Ver
    2010
    Posts
    6

    Re: Formula to Pull Data from Multiple Worksheets

    OK - I apologize in advance for all of the questions XOR LX - Your worksheet example was exactly what I needed, but I cannot get it to work by replacing the Y as you suggested above. I am attaching your worksheet, w/ modification to the formulas as suggested above..I replace it in Arry1, G1 and only replaced in actual Cell A7, you'll see the error. Can you tell me what I'm missing or doing wrong, as it won't read correctly no matter what I do.
    Attached Files Attached Files

  12. #12
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to Pull Data from Multiple Worksheets

    Looks like you just forgot to re-commit it as an array formula**. See my blurb below.

    Regards


    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

+ 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. INDEX MATCH and INDIRECT to pull in data from multiple worksheets
    By nebshaver123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-16-2015, 03:58 PM
  2. Replies: 1
    Last Post: 07-11-2014, 04:19 PM
  3. MACRO to Pull Data from multiple worksheets onto a summary sheet based on an ID
    By eswonson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2013, 03:31 PM
  4. Pull data from specific cells on multiple worksheets onto one master sheet
    By WorkforceMedia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2013, 03:25 AM
  5. [SOLVED] Help with creating a macro to anaylse and pull data from multiple worksheets
    By eoghanmolloy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-29-2012, 02:31 AM
  6. Replies: 4
    Last Post: 10-22-2012, 03:21 AM
  7. Replies: 7
    Last Post: 05-17-2012, 06:42 PM

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