+ Reply to Thread
Results 1 to 3 of 3

Return a value based on 2 criteria being met

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    7

    Return a value based on 2 criteria being met

    I have 2 sheets

    One sheet has

    Code Hours worked
    Friday 16th May A00005 10
    Friday 16th May A00006 8
    Saturday 17th May A00037 8
    Saturday 17th May A00465 8

    the 2nd sheet has

    Friday Saturday Sunday Monday Tuesday Wednesday Thursday Friday Saturday
    16th May 17th May 18th May 19th May 20th May 21st May 22nd May 23rd May 24th May
    A00005 REPELENTE Rodolfo T 10
    A00006 LAYUG Manuel J 8
    A00037 CHAN Hoi Yi 8
    A00465 PAULO , Romeo S. 8
    A00471 YU Chun Yuen
    A00495 PASCO Angelito S
    A00496 HOANG Thi Phoung
    A00498 LOMSUTJARIT Arun
    A00502 DAMAI Deenish
    A00512 RAI Gita

    I want to write a code so that in the cells below the dates, the hours worked will be transfered, if the date matches and the code is present

    For example im the cell below the 16th May, hours should appear if A0005 has worked on the 16th May

    i have tried index formula, but it doesn't allow you to copy and drag across

    Attached also
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Return a value based on 2 criteria being met

    example.xlsx

    Hi ,


    Please find the attached updated file

    Regards,
    Ravi

  3. #3
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Return a value based on 2 criteria being met

    Hi ,

    example - Copy.xlsx

    Find the solution 2 in which data will be transfer from Sheet 2 to Sheet 1.


    Regards,
    Ravi Kumar

+ 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. Return name based on 2 criteria
    By QUESTIONS123 in forum Excel General
    Replies: 3
    Last Post: 04-10-2012, 11:03 PM
  2. Return 1st, 2nd, 3rd, etc value based on criteria
    By waddsn1060 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-01-2011, 04:28 PM
  3. Return value based off 2 criteria.
    By iamdavid in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-11-2010, 05:37 PM
  4. return MAX based on criteria
    By anoushka in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2008, 10:16 AM
  5. [SOLVED] return value based on two criteria
    By blopreste3180 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2006, 10:20 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