+ Reply to Thread
Results 1 to 3 of 3

VBA transferring rows of data based on one criterion

  1. #1
    Registered User
    Join Date
    08-04-2021
    Location
    Leeds,England
    MS-Off Ver
    365
    Posts
    2

    VBA transferring rows of data based on one criterion

    Hi All,

    I'm looking to transfer over rows of data based on one criteria. I have used an array formula but, after reading some threads, it looks as though VBA would be a better. To explain:-

    I need to transfer over the data from columns indicated by 'a' , 'b', & 'length' if the 'dia' (the criteria) matches.

    screen1.PNG

    I need it to transfer over to the below table on a different tab within the same worksheet.

    screen2.PNG

    There is multiple criteria (dia's) i.e. 100dia, 150dia, 225dia etc. etc. All have there only table ready to receive information if the criteria is met. There will be potential thousands of rows of data and at the moment i'm having to go throuhg and copy / paste where necessary - believe a VBA may save a bit of time.

    Any help on this would be greatly appreciated.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: VBA transferring rows of data based on one criterion

    Hi and welcome

    Any chance you could attach a sample workbook? Easier to work with those than pictures.
    Might be worth showing a couple of examples of your expected output too.

    BSB

  3. #3
    Registered User
    Join Date
    08-04-2021
    Location
    Leeds,England
    MS-Off Ver
    365
    Posts
    2

    Re: VBA transferring rows of data based on one criterion

    Thank you!

    I've attached a sample workbook. I'm looking to transfer over the data on the 'csv' tab onto the 'runs' tab. The criteria being the diameter in column 'A' on both.

    I've included an example output tab for further clarity.

    JS
    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] Extracting rows based on multiple criterion
    By rahuldubey1987 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2019, 10:46 AM
  2. [SOLVED] Remove Duplicate rows based on one criterion
    By BungaBunga in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2016, 12:03 PM
  3. Transferring rows from one sheet to another according to a criterion
    By JanP13 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-26-2015, 04:52 PM
  4. Find value based on item number (first criterion) and date (second criterion)
    By ivan.stajin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2014, 10:47 AM
  5. Hide rows based on criterion
    By dlorenzo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2012, 01:24 PM
  6. Replies: 7
    Last Post: 06-26-2007, 11:33 AM
  7. Combining Totals on Successive Rows Based on Two Criterion
    By razorsharpe in forum Excel General
    Replies: 1
    Last Post: 08-18-2006, 10:30 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