+ Reply to Thread
Results 1 to 5 of 5

Copy cells to another sheet based on criteria

  1. #1
    Registered User
    Join Date
    08-26-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    18

    Copy cells to another sheet based on criteria

    I have a list of employee schedules in sheet "Schedules", I'm wondering if there is a code I can pop such data to the "January" sheet; basically showing who will be working on what day. Any help is greatly appreciated!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-30-2012
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Copy cells to another sheet based on criteria

    =IF(Schedules!B4="Mon",Schedules!A4,"") for cell D8 of "January". Just looks at B4 on the Schedule and returns the name if A4 equals "Mon". Will need to adapt slightly for each cell in the January sheet.

  3. #3
    Registered User
    Join Date
    08-26-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Copy cells to another sheet based on criteria

    Thanks, I don't think that serves the purpose tho

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    NZ
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Copy cells to another sheet based on criteria

    Depends on how exactly you want it to work, perhaps indexing will work

  5. #5
    Registered User
    Join Date
    08-26-2011
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Copy cells to another sheet based on criteria

    what I'm trying to achieve is say, whoever show "In" on Sun, their names will be copied and pasted to the cells with the heading "Sun" in sheet "January" (as shown in the attached file). so far I can use the code to select the ones I need, just dont know how to paste specific cells per their headings.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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