+ Reply to Thread
Results 1 to 12 of 12

Need a whole row of Data placed into separate sheet based on one cell's criteria in Row.

  1. #1
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Question Need a whole row of Data placed into separate sheet based on one cell's criteria in Row.

    Hey All,

    I have a table of data the will continuously grow over time. We will call this Table1. Table1 has 16 data categories (columns) and the rows will continue to have additional data added to them on a near daily basis. This table lists all of the sales that have come in for that day with one of the categories (Column I) being that of the employee that completed the sale. What I need is a formula that will automatically pull the entire row of data for that particular sale and every other sale within Table1 based on the employee that sold it into a separate sheet designated for that employee. For example:

    If I have a total of 50 sales, 20 of which were completed by employee John Smith, how would I throw all 20 of those sales into a separate sheet called "John Smith" within the same workbook; and likewise, allow this process to automatically continue to pull this data as additional sales are added into Table1?

    I would prefer NOT to use VBA if at all possible, however if there is no other way, than an explanation would be wonderful!

    Thank you all in advance for any help you can provide.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,103

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Please share a desensitized sample file so we can see what you are working with, as per the yellow banner above.

  3. #3
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    maniaCB, Should be attached. Thanks for the help!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Anyone able to help?

  5. #5
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,849

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Try this formula:

    =FILTER(Table1,Table1[Sales Rep]=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255),"None")

    This assumes your SHEET NAME is the same as the Sales Rep name.

    Or, if you want to put the name in a cell, like B2 for for example, you could use this:

    =FILTER(Table1,Table1[Sales Rep]=B2,"None")

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    I have created sheet John Smith.
    In A6 then copied across.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  7. #7
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Thank you for your help kvsrinivasamurthy, but it looks like two separate sales from two different sales reps also made it in the sheet for John Smith, so I'm not sure if this fully works.

  8. #8
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Quote Originally Posted by Gregb11 View Post
    Try this formula:

    =FILTER(Table1,Table1[Sales Rep]=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255),"None")

    This assumes your SHEET NAME is the same as the Sales Rep name.

    Or, if you want to put the name in a cell, like B2 for for example, you could use this:

    =FILTER(Table1,Table1[Sales Rep]=B2,"None")
    Okay i spoke too soon, it worked on the sample sheet, but not when I went to do so on a new work book. I get a #VALUE! error every time now. Very confused.
    Last edited by i3 Data Hound; 02-23-2021 at 10:34 AM.

  9. #9
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,849

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    It works. Post the workbook that didn't work and we can tell you what's not right

  10. #10
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Should be attached
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,849

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    What's not working? You don't have any data in the table except for the sales rep and it's showing the proper # of records. As you put in data, it shows up.

  12. #12
    Registered User
    Join Date
    02-19-2021
    Location
    Peoria, IL
    MS-Off Ver
    365
    Posts
    28

    Re: Need a whole row of Data placed into separate sheet based on one cell's criteria in Ro

    Okay, after I re-opened the Doc it worked, I swear I was getting a #VALUE error when I initially put it in tho. Thank you so much for all your help Greg! You are the best!

+ 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. Export data from Sheet as separate CSV files based on criteria
    By stranosi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-07-2020, 06:47 AM
  2. Replies: 19
    Last Post: 02-04-2020, 07:21 PM
  3. Cope data from another sheet based on cell criteria
    By jimmisavage in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 06-23-2017, 11:54 AM
  4. [SOLVED] Transfer Cell Data From 1 Sheet To Another Based on Criteria
    By thecircularwriter in forum Excel General
    Replies: 10
    Last Post: 01-24-2016, 04:46 PM
  5. [SOLVED] Populating one sheet with a separate sheets information based on criteria
    By madmoojuice in forum Excel General
    Replies: 3
    Last Post: 11-13-2014, 12:02 PM
  6. [SOLVED] Sum based on Multiple Criteria in separate sheet
    By matrixpom in forum Excel General
    Replies: 1
    Last Post: 04-26-2012, 09:27 PM
  7. Replies: 4
    Last Post: 11-22-2010, 12:57 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