+ Reply to Thread
Results 1 to 16 of 16

Adjusting Auto-Fill Formulas by Varying References

  1. #1
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Adjusting Auto-Fill Formulas by Varying References

    Good morning everyone,

    I have a large spreadsheet with thousands of rows and tons of columns. I need to alter how the auto-fill usually works. Instead of adding 1, I need it to add 10.


    Please Login or Register  to view this content.
    and next cells would be:
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    So on and so forth.

    Thanks!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Adjusting Auto-Fill Formulas by Varying References

    If starting on row 1 try =IFERROR(INDEX(DockSheet!$D$1:$D$1000;match(3+10*(row()-1),$D$1:$D$1000,0)),"")
    Adapt range as required and pull down
    Last edited by Pepe Le Mokko; 05-13-2019 at 10:32 AM.

  3. #3
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    Getting an invalid error. I tried adjusting the numbers since my formulas start on row three and it still didn't work for me. "There's a problem with this formula" error and asks me if I'm sure I am trying to put in a formula.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Adjusting Auto-Fill Formulas by Varying References

    Try swapping the ; for a,
    =IFERROR(INDEX(DockSheet!$D$1:$D$1000;match(3+10*(row()-1),$D$1:$D$1000,0)),"")

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Adjusting Auto-Fill Formulas by Varying References

    Err, thanks Fluff, I left that semi colon there

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Adjusting Auto-Fill Formulas by Varying References

    One of the joys of having the US separators, I don't have to remember to change them all.

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Adjusting Auto-Fill Formulas by Varying References

    It's because I'm using Xl under Ubuntu. No way to change the separators

  8. #8
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    I don't have that error any longer but now it is returning a blank instead of the delivery number. I tried playing around with and it looks like each section is working except the row_num part of the INDEX function. All the other parts seem to be giving me the expected value except this one returns #N/A. I will do some reading on the MATCH formula and see if I can understand it better but if anyone has something obvious I should check out, that would be swell too.

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,631

    Re: Adjusting Auto-Fill Formulas by Varying References

    See if the first cell you enter the formula in is in row1. Otherwise you will have to adapt the formula.

  10. #10
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    I think I did a really bad job explaining it. I gave up and just made a very simplified version. Please take me out of my misery

    I will adjust the column/row references as necessary on my huge file.

    Thanks!
    Attached Files Attached Files

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Adjusting Auto-Fill Formulas by Varying References

    In A3 try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    Works like a charm, thank you very much!!

  13. #13
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    Spoke to soon. Stops working, once it goes over 100 in the (ROW(a100) part of the formula. So 101-1000s returns a blank. Any ideas?

  14. #14
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    NM, increasing the range past $1000 is what i needed to do.

  15. #15
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Adjusting Auto-Fill Formulas by Varying References

    You're welcome & thanks for the feedback

  16. #16
    Registered User
    Join Date
    04-16-2019
    Location
    South Dakota, United States
    MS-Off Ver
    2013
    Posts
    50

    Re: Adjusting Auto-Fill Formulas by Varying References

    Absolutely!

+ 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. auto-fill absolute references
    By boarders paradise in forum Excel General
    Replies: 18
    Last Post: 01-03-2018, 10:59 AM
  2. Non-adjusting References in Formulas
    By jlyh11 in forum Excel General
    Replies: 6
    Last Post: 11-11-2015, 02:57 AM
  3. how to stop auto adjusting formulas when insert reference column
    By mystockpick in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-01-2014, 11:47 PM
  4. Replies: 12
    Last Post: 03-17-2014, 06:55 PM
  5. deleting a worksheet and auto adjusting formulas
    By bobbak in forum Excel General
    Replies: 6
    Last Post: 09-11-2009, 11:23 AM
  6. Auto Fill with some references locked
    By d99alu@efd.lth.se in forum Excel General
    Replies: 3
    Last Post: 02-28-2006, 01:55 PM
  7. Auto fill references
    By claytorm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-28-2005, 08:05 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