+ Reply to Thread
Results 1 to 4 of 4

Autofill problem with Dragging the formula down

  1. #1
    Registered User
    Join Date
    09-23-2011
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    1

    Autofill problem with Dragging the formula down

    Original Formula:
    =IF((AND(Registration!M2>=0,Registration!M2<=1)), importrange("0AiZ17ZdTbOhMdENjWU9aTXNfN1pVUlJ6Mzk0V21hMHc", "Registration!A2:J2"), (T1*0))

    Formula after dragging it down:
    =IF((AND(Registration!M3>=0,Registration!M3<=1)), importrange("0AiZ17ZdTbOhMdENjWU9aTXNfN1pVUlJ6Mzk0V21hMHc", "Registration!A2:J2"), (T2*0))

    Notice: the first part of the formula is changing, but the last part ("Registration!A2:J2") is not

    Is there a way to get this to auto adjust as we drag the formula down without having to manually go through each one?

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: Autofill problem with Dragging the formula down

    You must remove the quotation marks or Excel will treat the reference as text instead of a reference.
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    10-01-2014
    Location
    uk
    MS-Off Ver
    2013
    Posts
    29

    Re: Autofill problem with Dragging the formula down

    But the formula needs the " " around the sheet name... how do you solve that?

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Autofill problem with Dragging the formula down

    Hi,

    Perhaps like this
    =IF((AND(Registration!M2>=0,Registration!M2<=1)), importrange("0AiZ17ZdTbOhMdENjWU9aTXNfN1pVUlJ6Mzk0V21hMHc", "Registration!A"&ROW(A2)&":J"&ROW(A2)), (T1*0))
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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