+ Reply to Thread
Results 1 to 5 of 5

Incrementing Cell Reference Within INDIRECT function

  1. #1
    Registered User
    Join Date
    04-08-2006
    Posts
    34

    Question Incrementing Cell Reference Within INDIRECT function

    How do I increment the cell reference to the following row within the INDIRECT function?
    i.e I want to "fill down" this formula in column F, picking up all the adjacent values in column G. All cells are currency.

    Please Login or Register  to view this content.
    End objective for using INDIRECT() is that I want to be able to insert new columns between F & G and always have F referencing G as the previous values in column G shift rightwards.

    Thanks in advance for any advice.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Incrementing Cell Reference Within INDIRECT function

    Do you need the IF? if G7 is truly blank then it will be interpreted as zero anyway, try this version to fill down

    =INDIRECT("G"&ROW())

    or use OFFSET

    =OFFSET(F7,0,1)
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-08-2006
    Posts
    34

    Question Re: Incrementing Cell Reference Within INDIRECT function

    Awesome! Thanks for the quick response!

    The IF was the start of a further formula which has now evolved to the following based on the data that is in the currency column G (I put an aesthetic spacer column in there):
    Please Login or Register  to view this content.
    Then in a separate sheet, a column will reference column E above, and if it is zero, it will IF an error "Call for current price" or something else...

    Can I ask what is the difference in the OFFSET and INDIRECT functions and what is an example of when it is best to use whichever option instead of the other?

    Thanks again!

  4. #4
    Registered User
    Join Date
    11-04-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Incrementing Cell Reference Within INDIRECT function

    Similar request- I want to copy values in column A1:A500 into Column B, but row location of column b data would increment by 3. e.g A1 copies to B1, then A2 copies to B4, A3 to B7....

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Incrementing Cell Reference Within INDIRECT function

    Cadtiger,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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