+ Reply to Thread
Results 1 to 4 of 4

Formula to Pull though data from first worksheet

  1. #1
    Forum Contributor
    Join Date
    07-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    192

    Formula to Pull though data from first worksheet

    Hi Friends

    I have attached an example worksheet where I want to pull the data from Calculation tab to Store1 and Store2 tab. The yellow highlighted data needs to be pull through into Sheet "Store1" & "Store2".

    I have large sets of data than this so just dumped the couple only. I am using OFFSET formula currently (as can be seen in the attached), however if there is any easy way to pull this data?

    Thanks heaps for your assistance.
    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,178

    Re: Formula to Pull though data from first worksheet

    How many Stores and what is maximum number of Brands per store? Number of rows of data?

  3. #3
    Forum Contributor
    Join Date
    07-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    192
    Hi John

    Thanks for your time.
    There will be around 40 stores & max 2 brands per store. Number of rows per brand will be the same as per attachment.

    Thanks again
    Last edited by AliGW; 01-11-2018 at 02:14 AM. Reason: Unnecessary quotation removed.

  4. #4
    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,178

    Re: Formula to Pull though data from first worksheet

    Try

    "Store1"

    in B1

    =DATE(MID(B$1,3,4)+0,MONTH(INDEX(Calculation!$D$2:$O$2,,ROWS($1:1))&0),1)

    in B2

    =EOMONTH(B2,0)+1

    copy down

    in C2

    =IFERROR(INDEX(Calculation!$D$4:$O$21,MATCH("Store1" &$A$1,Calculation!$A$4:$A$21&Calculation!$B$4:$B$21,0),ROWS($1:1)),"")

    ...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.

    Copy down

    NOTE: I added the "Store" to the row where the brand was so in "Calculations" Store2 is in A17.

    The other Years have similar formulas, with the row increment as needed


    in A16 (to check if more than one brand)

    =IF(COUNTIF(Calculation!$A$4:$A$21,"store1")>1,INDEX(Calculation!$B$4:$B$21,SMALL(IF(Calculation!$A$4:$A$21="Store2",ROW(Calculation!$A$4:$A$21)-ROW($A$4)+1,""),2)),"")
    Attached Files Attached Files

+ 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] Can't get IF,AND formula to pull specific data from another worksheet
    By MJam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2016, 05:37 PM
  2. [SOLVED] Formula to pull data from the last cell of a column in a different worksheet
    By marshallmr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2015, 07:33 PM
  3. Formula for Master worksheet to pull data from multiple closed workbooks...
    By Batman24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2014, 06:24 AM
  4. Replies: 4
    Last Post: 06-18-2013, 08:17 PM
  5. Macro to pull specific data from one worksheet to another worksheet
    By Kettie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2013, 05:21 PM
  6. [SOLVED] Help with Formula to pull data from one worksheet to another
    By desibabuji in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-04-2012, 09:51 AM
  7. Replies: 1
    Last Post: 06-21-2012, 11:36 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