+ Reply to Thread
Results 1 to 2 of 2

Drag increment issue

Hybrid View

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    lebanon
    MS-Off Ver
    Excel 2010
    Posts
    1

    Smile Drag increment issue

    hello guys , i have to plans to do but have some problems

    Plan number 1: In cell G1 I have the value of cell A1
    and i want to drag by '3' so i can get in cell: G2 the value of A4
    G3 the value of A7
    G4 the value of A10 and so on

    Plan number 2: In cell X1 I have the value of cell S1
    and i want to drag in a way to get in cell : X4 the value of S2
    X7 the value of S3
    X10 the value of S4

    can anyone help me , thank you for reading

  2. #2
    Valued Forum Contributor Lemice's Avatar
    Join Date
    04-13-2013
    Location
    Somewhere.
    MS-Off Ver
    Excel 2016
    Posts
    696

    Re: Drag increment issue

    Hello,

    For the plan no.1, you can use this
    =INDIRECT("A"&1+(row()-1)*3)
    For the plan no.2, you can try this
    =IF(MOD(ROW(),3)=1,INDIRECT("S"&ROUNDUP(ROW()/3,0)),"Insert something here")
    The "Insert something here" can be "" (visually blank) or anything at all.

    Hope this help.
    (copy pasta from Ford)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools

    Regards,
    Lem

+ 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