+ Reply to Thread
Results 1 to 5 of 5

From one Excel sheet to another based on criteria

  1. #1
    Registered User
    Join Date
    12-25-2018
    Location
    Abu Dhabi
    MS-Off Ver
    Office standard 2016
    Posts
    28

    From one Excel sheet to another based on criteria

    Good morning all.

    Good stuck with sheet below.
    Mainly, sheet contains two workbooks, one "Main", where based on Location( Please note that this should be drop down menu), Designation and date i need to get certain data, and " Manpower", where actually data is.

    Tried with "Index/ Match" and "Sumifs", but tough luck...

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: From one Excel sheet to another based on criteria

    A bit of a guess, as you didn't tell us what you wanted!!:

    =SUMIF(Manpower!$F:$F,Main!$C6,Manpower!J:J)
    in D6, copied across and down.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-25-2018
    Location
    Abu Dhabi
    MS-Off Ver
    Office standard 2016
    Posts
    28

    Re: From one Excel sheet to another based on criteria

    Hello Glenn.

    Apologies for not being clear.

    All data from workbook "manpower" needs to reflect in " Main" based on drop down menu located in C5 cell.
    In row 5 i have numbers like, 1,2,3,ETC which represent for example 01.01.2020, 02.01.2020, 03.01.2020( values for this will be 1 or 0) and then "Hrs" which means how many hours did employee work that day.
    So for example, if we select "Location #1" ( cell C5), i need to see values for "design #1" ( This are employee designations) for days and hrs in row 5 ( D5,E5,F5, ETC)

    Example:

    On "location #1", we have "Design#1" Worked on 1,Hrs 10.5; 2,hrs 10.5; 3,Hrs 10.5; 4,Hrs 12.5; 5,Hrs 11.5; but 6 and 7 was not present

    Hope this make it clear

    I cant use sumif since in workbook "Main" values need to change in chase where we change location (cell C5)

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: From one Excel sheet to another based on criteria

    Then this, maybe:

    =SUMIFS(Manpower!J:J,Manpower!$F:$F,Main!$C6,Manpower!$E:$E,Main!$C$5)

    copied across and down????

  5. #5
    Registered User
    Join Date
    12-25-2018
    Location
    Abu Dhabi
    MS-Off Ver
    Office standard 2016
    Posts
    28

    Re: From one Excel sheet to another based on criteria

    Thank you so much Glenn, this is working now. I have tried Sumifs, but seems that i was doing something wrong.

    Thank you once more.
    Last edited by AliGW; 12-30-2019 at 07:40 AM. Reason: Please don't quote unnecessarily!

+ 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. Sum values based on criteria in another column and sheet in Excel
    By jmor69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-29-2019, 05:50 PM
  2. Copy & Paste from an Excel Sheet to Another sheet Based on Certain Criteria
    By SPAARK in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-04-2019, 10:14 PM
  3. need help! To make multiple sheets from one excel sheet based on criteria
    By magicgolub in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-15-2014, 07:11 AM
  4. Parsing Excel Sheet Based on Unique Criteria
    By Parijaat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2013, 05:19 AM
  5. Excel Macro to Lists on a Sheet Based on Several Criteria
    By O.I. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2013, 04:27 PM
  6. copy one row from one sheet to another sheet in excel based on criteria
    By pawan.dbm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 01:46 PM
  7. Sort one excel sheet into two based on territory criteria
    By VBA? in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2010, 05:47 PM

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