+ Reply to Thread
Results 1 to 3 of 3

How to autofill in certain way??

  1. #1
    Registered User
    Join Date
    06-30-2023
    Location
    India
    MS-Off Ver
    Student version 2019
    Posts
    5

    How to autofill in certain way??

    Hello everyone
    So I want to autofill in a certain way. I want to fill the data in this way. first I press = sign then go into a sheet and select B3 so my formula comes out to be (=sheet!B3) right. Then I do it again and select B8 then I do it again and select B13 now I want to drag this vertically so that it selects B17. As you can see B is constant and there is 5 cell gap right, but if I drag it to take data C3 and not B8.

    So, is there any way that if I drag the autofill in a certain way like if I drag B3 then the next cell it should select should be B8 is there any way plz help

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,218

    Re: How to autofill in certain way??

    In the first cell:

    =Sheet2!B3

    In the cell below copied down:

    =OFFSET(Sheet2!B$3,ROWS(A$1:A1)*5,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: How to autofill in certain way??

    You can avoid the volatile function OFFSET, by using INDEX instead. Put this in your first cell:

    =INDEX(Sheet2!B:B,(ROWS($1:1)-1)*5+3)

    then copy down as required.

    Hope this helps.

    Pete

+ 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] How to include prefix for Series Autofill and automatically autofill next blank row?
    By soojungchoe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2021, 07:49 PM
  2. Autofill base on Active Cell and Autofill by row count of another sheet
    By enyak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2014, 10:06 PM
  3. [SOLVED] Very small AutoFill macro showing "AutoFill methode of range class failed" why ?
    By nur2544 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 10:21 PM
  4. Replies: 0
    Last Post: 09-17-2012, 08:24 AM
  5. Macro for Autofill removes header info when there is no data to autofill
    By esturan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 01:42 PM
  6. Replies: 1
    Last Post: 06-17-2005, 04:05 PM
  7. Replies: 0
    Last Post: 03-02-2005, 12:06 PM

Tags for this Thread

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