+ Reply to Thread
Results 1 to 5 of 5

Copy certain cells to a different sheet based on a cell's value

  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Copy certain cells to a different sheet based on a cell's value

    Hi!

    I've been beating my head against my desk for the past few days trying to figure this out. It seems so easy, yet just wont work. We are pulling in credit card information and need to extract data from it and format it for an input into our accounting system. There are 16 rows that look like this

    Please Login or Register  to view this content.
    Basically I need to only pull data out of the rows that have "Subtotal" in column A. It will then copy data from columns G, I, J and E into a different sheet.

    The problem I am having that apparently with the numbers right after it, none of the scripts I have tried works. They either copy nothing, or delete everything.

    Thanks!

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy certain cells to a different sheet based on a cell's value

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Copy certain cells to a different sheet based on a cell's value

    try this:

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    11-26-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Copy certain cells to a different sheet based on a cell's value

    Quote Originally Posted by JOHN H. DAVIS View Post
    Maybe:

    Please Login or Register  to view this content.
    This worked great! Puts in an extra blank row at the top, but I can deal with that. Thanks!

    Weird that it looks so much like what I have been using, but works.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy certain cells to a different sheet based on a cell's value

    You're welcome. Glad to help out, and thanks for the feedback. Please comply with Forum Rule No. 9.

    9. Acknowledge the responses you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved". Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Dropdown option or Edit button will not appear -- ask a moderator to mark it.

    Modified:

    Please Login or Register  to view this content.

+ 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: 5
    Last Post: 09-08-2013, 10:09 AM
  2. Copy cells of a row into a sheet, based on cell value
    By maxkoy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2013, 07:18 PM
  3. [SOLVED] Need to Copy cells data to a new sheet based on value of another cell
    By clintandcaden in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-14-2012, 05:28 PM
  4. VBA Macro to copy cells over to another sheet based on the value of a cell
    By hani9041 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-01-2012, 03:28 PM
  5. Copy Cells from on sheet to another based on value in cell
    By carlysyme in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-21-2011, 08:22 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