Results 1 to 4 of 4

If multiple criteria are met in sheet 1 then paste in Sheet 2 if the dates coincide

Threaded View

  1. #1
    Registered User
    Join Date
    03-17-2018
    Location
    London, England
    MS-Off Ver
    MS OFFICE 2013
    Posts
    2

    If multiple criteria are met in sheet 1 then paste in Sheet 2 if the dates coincide

    Hello everyone,

    I have started playing around with calendars in excel and i've ran into a wall.
    Basically i have created a generic shift pattern spanning for 1 year in Sheet 1, and in Sheet 2 I am trying to create an interactive Attendance calendar. I was able to create a working 30-31 days calendar that can be scrolled through the years and the months. I Was also able to get the code to show me any change (Lieu days) that occurs in the month of march in regards to one of the employees, however this stops working if i change to the next month.

    Is it possible to add a formula where it scans the complete year in Sheet 1(Row 6) then if it matches the 30-31 days calendar pattern in Sheet 2(row 9) then it will return a copy of whatever is written in Sheet 1(Row B7....B18 ,coinciding to the specific date) in Sheet 2 Cell G11:AK11 ; G12:AK12 ETC.
    The formula so far:

    =IF(AND(Shift!$B$7:$B$7="Jerome",Shift!C6=Attendance!K9,Shift!C7="Lieu"),"Lieu","p")

    I have tried to also add vlookup and INDEX, however it doesn't seem to properly work.

    There is an attached example below.

    Any insight will be greatly appreciated.

    Thank you!
    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. Replies: 2
    Last Post: 01-23-2016, 01:16 PM
  2. Replies: 3
    Last Post: 10-28-2014, 09:53 AM
  3. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  4. One criteria between two dates on multiple sheet.
    By karnold in forum Excel General
    Replies: 2
    Last Post: 06-19-2012, 08:47 AM
  5. VBA cut from sheet 1 with multiple criteria onsheet 2,paste to next blank row sheet3
    By kevinsnewmatrix in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-06-2012, 02:03 PM
  6. Replies: 8
    Last Post: 08-08-2010, 06:10 AM
  7. Copy\Paste multiple criteria based rows to new sheet
    By namz in forum Excel Programming / VBA / Macros
    Replies: 46
    Last Post: 06-06-2008, 08:08 AM

Tags for this Thread

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