+ Reply to Thread
Results 1 to 5 of 5

Extracting data from a column in a table to another table/sheet

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    NY, NY
    MS-Off Ver
    2013
    Posts
    3

    Extracting data from a column in a table to another table/sheet

    Good afternoon,

    I am trying to extract the data from a specific column in a table, and have that data congregate in a separate table on a separate sheet. I am attaching a example of what I am trying to do so that you get a better idea.

    The data I am trying to extract is located in the tab "Data Sheet". I am trying to extract data from a specific column, in this particular example from the column titled "Stage", and have said data be placed in a table in separate sheet depending on what they are. In this example, I am trying to take the "Closed Won" lines and extract them to the "Closed Won" tab, same with "Closed Lost". Each line will be a different opportunity name, but may be for the same company, the same product and the same dollar amount. Basically if there are duplicates, I still want them to show up.

    Also, if I wanted to extract this same data based on the "Amount" column, would the formula be different? Since it would be numbers and not text, does that change the formula I need to use?

    Thanks in advance for your help!!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extracting data from a column in a table to another table/sheet

    Please see attached file.

    For Closed Won

    =IFERROR(INDEX('Data Sheet'!A$2:A$11,SMALL(IF('Data Sheet'!$E$2:$E$11="Closed Won",ROW('Data Sheet'!$E$2:$E$11)-ROW($A$2)+1),ROWS($A$1:A1))),"")

    For Closed Lost

    =IFERROR(INDEX('Data Sheet'!A$2:A$11,SMALL(IF('Data Sheet'!$E$2:$E$11="Closed Lost",ROW('Data Sheet'!$E$2:$E$11)-ROW($A$2)+1),ROWS($A$1:A1))),"")

    ...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. Press F2 on that cell and try again.
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    10-02-2014
    Location
    NY, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: Extracting data from a column in a table to another table/sheet

    That worked, thank you so much!

    I do have an issue with this one though, it seems like once that data is extract to the separate tabs "Closed Won" and "Closed Lost", you cannot filter those results in a new table. Is there a way to get around this? I would like to be able to manipulate all the tabs, except for the "Data Sheet" tab.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extracting data from a column in a table to another table/sheet

    Quote Originally Posted by hoowill12 View Post
    That worked, thank you so much!

    I do have an issue with this one though, it seems like once that data is extract to the separate tabs "Closed Won" and "Closed Lost", you cannot filter those results in a new table. Is there a way to get around this? I would like to be able to manipulate all the tabs, except for the "Data Sheet" tab.
    Unles you sort the source, unfortunately not.

  5. #5
    Registered User
    Join Date
    10-02-2014
    Location
    NY, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: Extracting data from a column in a table to another table/sheet

    I see, that is unfortunate. Thanks anyways you two!

+ 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: 0
    Last Post: 08-03-2014, 03:32 AM
  2. Extracting data from table for related table
    By ikavdiya in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-05-2013, 03:20 PM
  3. Extracting data from a table based on a common entries with another table
    By shannoncox in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2012, 04:45 PM
  4. Replies: 0
    Last Post: 02-22-2011, 10:07 PM
  5. help : extracting data to create a table (employee time sheet)
    By conuk in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 01-14-2009, 02:26 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