+ Reply to Thread
Results 1 to 8 of 8

Pull data from another sheet

  1. #1
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Pull data from another sheet

    Hi,

    The attached contains a formula kindly supplied from this site, I have tried to adapt it for my current needs without luck.

    I need the result in sheet 2 based on given criteria in sheet 2 from data pulled from sheet 1

    I hope the attached will make sense

    Any help is greatly appreciated

    Kevin
    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
    30,791

    Re: Pull data from another sheet

    So how did you calculate your expected result off 65.63 ?????

    175 is correct based on the formula.

    EDIT: spotted calculation on Sheet1 !!!
    Last edited by JohnTopley; 05-01-2018 at 02:21 PM.

  3. #3
    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
    30,791

    Re: Pull data from another sheet

    Try

    =SUMPRODUCT((Sheet1!B3:B17>=Sheet2!C3)*(Sheet1!B3:B17<=Sheet2!D3)*(Sheet1!H2:M2=Sheet2!F3)*Sheet1!H3:M17)/Sheet1!O8*SUMPRODUCT((Sheet1!B3:B17>=Sheet2!C3)*(Sheet1!B3:B17<=Sheet2!D3)*Sheet1!D3:F17)

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,654

    Re: Pull data from another sheet

    Is this what you want?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Pull data from another sheet

    Thank you John, works great!
    Kevin

  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
    30,791

    Re: Pull data from another sheet

    Removing O8 from previous formula ..

    =SUMPRODUCT((Sheet1!B3:B17>=Sheet2!C3)*(Sheet1!B3:B17<=Sheet2!D3)*(Sheet1!H2:M2=Sheet2!F3)*Sheet1!H3:M17)/SUMPRODUCT((Sheet1!B3:B17>=Sheet2!C3)*(Sheet1!B3:B17<=Sheet2!D3)*Sheet1!H3:M17)*SUMPRODUCT((Sheet1!B3:B17>=Sheet2!C3)*(Sheet1!B3:B17<=Sheet2!D3)*Sheet1!D3:F17)

  7. #7
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Pull data from another sheet

    Even better! I hadn't noticed the use of O8

  8. #8
    Forum Contributor
    Join Date
    05-30-2015
    Location
    Dubai
    MS-Off Ver
    Excel 2016 Mac & PC & 365
    Posts
    633

    Re: Pull data from another sheet

    Quote Originally Posted by popipipo View Post
    Is this what you want?
    Sorry I didn't see you post, I wanted the answer on sheet 2 but its very helpful as i can see how its put together

    Thanks
    Kevin

+ 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] Pull the data from cosed wb in sheet(rawdata) copy to data sheet
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2016, 03:05 PM
  2. Formula to pull data from one sheet to a new sheet based on date range
    By lisajolley11 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2015, 08:38 PM
  3. [SOLVED] VBA Code to Pull Data from a Sheet Based on Date and Add that Data to Another Sheet
    By drsadistic in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2014, 12:53 AM
  4. pull data from two sheet and paste into master sheet with desired column's only
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2014, 03:39 AM
  5. Replies: 0
    Last Post: 05-21-2013, 03:09 PM
  6. Replies: 4
    Last Post: 09-05-2012, 05:57 PM
  7. Replies: 4
    Last Post: 08-29-2012, 10:32 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