+ Reply to Thread
Results 1 to 11 of 11

Dragging a formula problem

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Dragging a formula problem

    There may be an easy solution to this problem but i cannot seem to get it.

    I have this formula in a cell ='Teacher Summary'!C4. i want to drag it down and fill it with ='Teacher Summary'!D4, then ='Teacher Summary'!E4 , etc.

    But it keeps going to ='Teacher Summary'!C5, then ='Teacher Summary'!C6 etc.

    Any help would be greatly appreciated

    George

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Dragging a formula problem

    Maybe one way...

    In G1 put Teacher Summary and then...

    Please Login or Register  to view this content.
    >> Drag down
    HTH
    Regards, Jeff

  3. #3
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Dragging a formula problem

    so that worked for some of the cells the first 24 but the next 22 were not right? any idea as to why that might be?

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Dragging a formula problem

    No. I can make stuff work on this test spreadsheet I have here, but in the end, I don't know what you are working on. Can you post a test workbook?

    Edit: What is the reference for the 25th? Is it 'Teacher Summary'!AA4?

    Where are you pasting this formula? What row does it start on?
    Last edited by jeffreybrown; 09-30-2013 at 08:25 PM.

  5. #5
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Dragging a formula problem

    So i attached a sample file, hopefull this helps. I need to get all of the data onto the other sheet.
    Attached Files Attached Files

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Dragging a formula problem

    See how this works...

    In C3 drag down and to the right...

    =INDIRECT("'"&$AB$3&"'!"&SUBSTITUTE(ADDRESS(1,ROW(),4),"1","")&C$1+IF(C$1<13,3,4))
    Last edited by jeffreybrown; 09-30-2013 at 08:44 PM.

  7. #7
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Dragging a formula problem

    thanks that is awesome !!!!!

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Dragging a formula problem

    You're welcome…glad you have a workable solution and thanks for the feedback...

  9. #9
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Dragging a formula problem

    hi Losguapos1. seems like your data is very nicely sorted, so here's an alternative:
    =INDEX('Teacher Summary'!$C$4:$AV$24,COLUMNS($C3:C3),ROWS(C$3:C3))

    or if they are not sorted,
    =INDEX('Teacher Summary'!$C$4:$AV$24,MATCH(C$2,'Teacher Summary'!$B$4:$B$24,0),MATCH($B3,'Teacher Summary'!$C$3:$AV$3,0))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Dragging a formula problem

    Hi benishiryo,

    This does not appear to work as there is a gap in the data between the Merits and the Demerits...

    =INDEX('Teacher Summary'!$C$4:$AV$24,COLUMNS($C3:C3),ROWS(C$3:C3))

    The Index/Match seems to be a great alternative. I had my mind to tunnel focused on the indirect...Thanks.

  11. #11
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Dragging a formula problem

    @jeffrey:
    yeah you're right about that. i guess you can slot in the formula i did in another one:
    =INDEX('Teacher Summary'!$C$4:$AV$24,MATCH(C$2,'Teacher Summary'!$B$4:$B$24,0),ROWS(C$3:C3))

    =)
    i usually try to avoid INDIRECT & OFFSET if i can as they are volatile

+ 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. Autofill problem with Dragging the formula down
    By mollyray2 in forum Excel General
    Replies: 3
    Last Post: 06-14-2017, 07:14 AM
  2. Problem with Dragging Formula Down (PLZ HELP!)
    By ioricloud in forum Excel General
    Replies: 3
    Last Post: 07-10-2012, 06:20 PM
  3. [SOLVED] problem Copying/dragging a formula down into cells below
    By nje in forum Excel General
    Replies: 4
    Last Post: 07-02-2012, 10:48 AM
  4. Dragging formula problem
    By penfold in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-21-2009, 05:56 AM
  5. Dragging Problem
    By Copey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-17-2007, 05:31 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