+ Reply to Thread
Results 1 to 5 of 5

Find value and copy formula to other cells

  1. #1
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Find value and copy formula to other cells

    Hey all,

    I'm working on a spreadsheet. I have two sheets 'Student Tracker' (ST) and 'Teacher Tracker' (TT). On the ST sheet, I'd like the cells in a table to find values from a table in TT.

    ------------------------------------------------------------------------------------------------------

    Here's an example: *view the sample"

    Find the number of students 'Becky' has throughout the term, week-by-week. This information is on the TT on each row named 'Total'. 1st week should be 40, 2nd 43, 3rd 44, and so on.

    ------------------------------------------------------------------------------------------------------

    The most important thing is to use the fill handle to copy the formulas to the rest of the teachers. This is what I can't accomplish. It's possible I'm making a small mistake somewhere! I've tried VLOOKUP, OFFSET, and some others, with no luck. When using the fill handle, the cell after the fill handle displays the value of the first cell.

    This is important because later I will use macros to add and remove teachers.

    Many thanks,
    Ryan

    Real English Student Teacher Tracker (Gaoming Branch) 1.xlsm
    Last edited by heyryy; 12-06-2018 at 01:58 AM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Find value and copy formula to other cells

    Please try at C5 and copy across

    =INDEX('Teacher Tracker'!$C$14:$F$183,C$4*8-7,MATCH($B5,'Teacher Tracker'!$C$4:$F$4,))

  3. #3
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26
    Quote Originally Posted by Bo_Ry View Post
    Please try at C5 and copy across

    =INDEX('Teacher Tracker'!$C$14:$F$183,C$4*8-7,MATCH($B5,'Teacher Tracker'!$C$4:$F$4,))
    Amazing, it works. I must learn the INDEX and MATCH function!
    Last edited by heyryy; 12-20-2018 at 10:11 AM.

  4. #4
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Re: Find value and copy formula to other cells

    Quote Originally Posted by Bo_Ry View Post
    Please try at C5 and copy across

    =INDEX('Teacher Tracker'!$C$14:$F$183,C$4*8-7,MATCH($B5,'Teacher Tracker'!$C$4:$F$4,))
    One last thing, if I want to add a new Teacher (new column in "TT" and new row in "ST") to track, how can I copy these formulas?

    I will soon record a macro to automatically add a new teacher.

    Thanks!

  5. #5
    Registered User
    Join Date
    04-19-2015
    Location
    Durham
    MS-Off Ver
    Excel 2020
    Posts
    26

    Re: Find value and copy formula to other cells

    Ah no worries, I sorted it.

    I simply set the range to last column XFD.

    Thanks again!

+ 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. [SOLVED] Find value and copy cells to the same row!
    By A440 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-03-2017, 08:33 AM
  2. [SOLVED] Find cells contents elsewhere & 2 Buttons to copy a set of cells.
    By ARowbot in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-18-2015, 12:56 PM
  3. Replies: 5
    Last Post: 06-07-2014, 09:54 AM
  4. Replies: 7
    Last Post: 12-04-2012, 06:23 AM
  5. [SOLVED] Find first non-blank cell after a group of blanks copy offset cells, find next blank, loop
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2012, 06:11 AM
  6. Find relevent cells to copy and paste from a preset text in cells
    By dazza67 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-12-2012, 04:39 PM
  7. Find and copy cells and adjacent cells
    By RM007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-08-2011, 12:44 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