Results 1 to 43 of 43

Copying partial rows based on contents of one cell.

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-02-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    152

    Copying partial rows based on contents of one cell.

    Hi, and thanks for taking the time to help me already. Vlady suggested that I post any questions regarding Macros here as he felt that someone else might be able to better assist in that manner. He has (I might add) helped a great deal with my problem, I am just hoping to find an easier route as my excel skills are evidently quite limited.

    So here is my problem. Attached is a workbook that I have mocked up to show what I need to do. You will see that I have a 'Sales' sheet from which I have copied data in rows from one sheet to multiple other sheets. Now, the hard part is explaining what I want to do but I'll give it a whirl.

    I have five categories: All, Week 1, Week 2, Week 3, and Week 4 each colored differently for ease. In the correspondingly colored tabs I have Mon, Tue, Wed, Thurs, Fri, and Sat. I want to copy data based on what day shows up in the 'N' Column into the tab named for that day but it needs copied as follows (note that while this sample shows a very limited number of rows in actuality I will have some 5000):
    In the 'B' column you will see ascending numbers from which I will reference my copies:

    Into the red tabs I need numbers ('B' column)1-20
    Into the yellow tabs I need 1-10 and 21-30
    Into the green tabs I need 1-10 and 31-40
    Into the blue tabs I need 1-10 and 41-50
    I will also need these to copy into the corresponding days for each color.

    I modified a Macro for this but the problem I had with it was that it copied the entire row while I only need the selections that you can see in the colored tabs. Also I need to be able to copy the text only while not disturbing the formatting of the secondary sheets such as fill or other effects.

    I was hoping to do this without the use of a macro because...well...I'm a bit afraid of them but the formulas that I have been show to make this happen are so complex that every time I try to even copy them somehow I screw it up. Any help (whether by formula or VBA) would be much appreciated.

    Regards
    Tom
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] divide cell based on partial contents of alternate cell
    By LG1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-03-2013, 05:57 AM
  2. Change cell color based upon partial cell contents
    By msmick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2012, 01:24 AM
  3. Copying row based on partial cell match and paste into existing worksheets
    By colinh69 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2011, 02:42 PM
  4. Deleting rows based upon partial cell text
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2008, 10:29 PM
  5. [SOLVED] Deleting cell contents based on partial content?
    By Jordon in forum Excel General
    Replies: 4
    Last Post: 03-18-2005, 08:06 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