+ Reply to Thread
Results 1 to 6 of 6

Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    Irvine, CA
    MS-Off Ver
    2010
    Posts
    1

    Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    Hi everyone,

    First time posting here so thank you for your patience and for your help. I manage used car inventory for 4 Land Rover & Jaguar dealerships. I want to create an excel spreadsheet that can help me manage my inventory better. So basically in Sheet 1 will be my group data that has all my used car inventory. I want to be able to use a formula that will allow me to pull from that group data into another sheet. For example, I want to see how many Range Rovers we have that are Certified Pre-Owned and have the Luxury Package. What is the best function or formula? And, if possible, when I update my inventory I would also like Sheet 2 to update as well. Thanks everyone!

    Edit: I uploaded a sample of what my data looks like. Basically when it comes to repricing our vehicles I would like to be able to have all the rows from Sheet 1 transferred over to Sheet 2 if it meets the criteria (ie Range Rover Sport and Factory Certified). Thanks again!
    Attached Files Attached Files
    Last edited by rangeroverdude; 08-13-2015 at 03:57 PM.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    There are a number of formulas and VB procedures that can accomplish this. Attached is a sample of what I usually utilize.

    If returning more than a few hundred rows, I usually opt for a VBA solutions.
    Attached Files Attached Files
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    How many columns of data are you transferring ?

    What are the Headers going to be, i.e Vehicle, Model, Stock #, Dealer, etc, etc. ?

    Can you upload a small sample of what you are using now - remove sensitive data if necessary - it helps if you can show exactly what the end result is that you are looking for.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    HI, welcome to the forum

    Another option for this might be a Pivot Table. Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    Here is a small sample (less the VBA code) of what can be achieved using formulas & VBA.

    LandRover -Jaguar (1).xlsm

    p.s. I removed the code because if the worksheet is not what you are looking for then you don't need the code and as Mr Dibbins says it may just be easier using a pivot table.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Criteria from Sheet 1 copied over to Sheet 2 if it meets certain criteria

    This could go almost anyway, using a PT based on your sample data.

    I put something together really quick using...
    Report Filter = Make and Model
    Column labels = Status
    Row labels = Trim
    However, you could customize this to whatever you want...
    A
    B
    C
    D
    1
    Make (All)
    2
    Model RANGE ROVER SPORT
    3
    4
    Count of Status Column Labels
    5
    Row Labels Factory Certified Sale as Retail Grand Total
    6
    EBONY/LUNAR
    1
    1
    7
    ESPRESSO
    1
    1
    8
    Grand Total
    1
    1
    2


    Can you provide a sample of what your expected outcome would look like?

+ 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. To copy an entire row to an other sheet if a cell meets a criteria
    By jensi358 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2014, 06:28 AM
  2. Copy text from one sheet to another if one cell meets criteria
    By dptiedtke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2014, 06:20 AM
  3. [SOLVED] Copy row from one sheet to another if meets date criteria
    By dvs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-13-2013, 05:32 PM
  4. Copy entire row to a different sheet's first emtpy row if a cell meets a criteria
    By Blaise930 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-13-2013, 12:41 PM
  5. [SOLVED] PLEASE HELP - Macro needed to transfer data to another sheet if it meets a one criteria
    By Geller in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-10-2012, 12:22 PM
  6. Replies: 19
    Last Post: 04-21-2012, 07:21 PM
  7. Pulling info that meets certain criteria on to another sheet
    By concretetsunami in forum Excel General
    Replies: 4
    Last Post: 02-22-2010, 09:11 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