+ Reply to Thread
Results 1 to 4 of 4

Search through multiple worksheets and copy cells to another if a specific text matches

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Ghana
    MS-Off Ver
    Excel 2010
    Posts
    30

    Search through multiple worksheets and copy cells to another if a specific text matches

    Hi,
    Thank you all for your efforts to help solve my problem.
    However, my boss had added a new twist to my earlier post.

    I need help to populate students’ transcript from three worksheets. I want to select the student’s name from the validated list on the Transcript sheet so that the formula will look through the “JHS1 TERM 1”, “JHS1 TERM 2”.....“JHS3 TERM 3” sheets and copy the appropriate marks of selected student in the various subjects into their corresponding cells on the Transcript Summary.

    I don’t know how, but I want to take into consideration if a student is transferred and another is admitted 'mid-stream' as in the case of the last student(s) in the workbook.
    A workbook is attached.

    Thanks in advance
    Attached Files Attached Files
    Last edited by Newmord; 02-05-2018 at 07:21 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,671

    Re: Search through multiple worksheets and copy cells to another if a specific text match

    In TRANSCRIPT

    in D11

    =INDEX('TERM 1'!$BX$2:$CH$100,MATCH($D$4,'TERM 1'!$C$2:$C$100,0),1)


    Copy down and change highlighted reference to reflect column in range BX:CH

    Repeat for other years change "term 1" to "Term 2"

    NOTE: there is no check for form (JHS n) as I was not sure whether or not a student was unique to a form

    EDIT: all formula should be ...

    =IFERROR(INDEX('TERM 1'!$BX$2:$CH$100,MATCH($D$4,'TERM 1'!$C$2:$C$100,0),$A11),"")

    I used column A as column reefrence numbers


    and your Data Validation list needs to a complete student set (not Term 3 as now).
    Attached Files Attached Files
    Last edited by JohnTopley; 02-01-2018 at 11:32 AM.

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

    Re: Search through multiple worksheets and copy cells to another if a specific text match

    I changed lots of things here Blue shading). I also had to add an (incomplete??) table correlating short/long subject titles. Happy to explain it all, but not until you're satisfied that it is what you need.
    Attached Files Attached Files
    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

  4. #4
    Registered User
    Join Date
    05-07-2014
    Location
    Ghana
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Search through multiple worksheets and copy cells to another if a specific text match

    Hi,
    Thank you all for your efforts to help solve my problem.
    However, my boss had added a new twist to my earlier post.

    In the new request, a student will offer only one of these three subjects - Pre-Technical, Visual Arts and Home Econs (BDT) after JHS1
    Therefore, an average of the three is needed for the JHS1 BDT
    Again, the chosen subject from JHS2 should be the the BDT option on the Transcript summary.

    A new workbook is attached.

    Thanks in advance
    Attached Files Attached Files
    Last edited by Newmord; 02-05-2018 at 09:05 AM.

+ 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. Replies: 3
    Last Post: 05-25-2016, 11:34 AM
  2. [SOLVED] If cell value matches, then copy data into specific cells
    By hleelor in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-13-2014, 11:11 AM
  3. [SOLVED] COUNTIF search range of cells for multiple specific text.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2013, 06:38 PM
  4. [SOLVED] Search multiple worksheets for Text String, copy and paste entire row into new worksheet
    By spulliam2000 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-15-2013, 07:52 PM
  5. How to search for text across multiple worksheets and copy rows?
    By jonez19 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-03-2013, 04:34 PM
  6. [SOLVED] Search worksheets for values that matches a cell and add different value to offset cells.
    By ANDREWA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 07:57 AM
  7. Search multiple worksheets and copy cells to summary sheet
    By crttrlvr in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2012, 03:01 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