+ Reply to Thread
Results 1 to 8 of 8

reference fill

  1. #1
    Registered User
    Join Date
    08-10-2009
    Location
    Fort Collins, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    29

    reference fill

    I would like to fill down references in a column this way: =A1 =A2 =A3 consecutively. Is there a way to do this?
    Last edited by buckfran; 08-11-2009 at 04:16 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: reference fill

    Type =A1 in first cell, then select it and click and hold the little black square at bottom right corner of cell.. then drag down.

    or you can copy that cell, select the remainder of the range you want to copy to and go to Edit|Fill|Down (or CTRL+D)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-10-2009
    Location
    Fort Collins, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: reference fill

    sorry, i meant =A1 =A3 =A5 consecutively

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: reference fill

    Try:

    =INDEX(A:A,2*(ROWS($A$1:A1)-1)+1)

    copied down.

    This references your cells of interest.

  5. #5
    Registered User
    Join Date
    08-10-2009
    Location
    Fort Collins, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: reference fill

    I could not make that work unfortunately. The cells that I wish to reference are currently blank, but will have values eventually as data is entered over time. The cells I wish to reference have blank spaces between them and that is why I need the formulas to change by two cells each time.

    Thanks.

    Buck

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: reference fill

    Note: this formula assumes your starting reference is A1, if not, you will need to adjust the formula:

    =INDEX(A:A,2*(ROWS($A$1:A1)-1)+1)

    starts referencing at =A2 and continues to =A100, adjust range to encapsulate full range.

    If you are referencing A1 to begin with and getting 0's as results, then chances are it is working, but it returns 0 for blanks.

    you can do either of these:

    Change formula to:

    =IF(INDEX(A:A,2*(ROWS($A$1:A1)-1)+1)="","",INDEX(A:A,2*(ROWS($A$1:A1)-1)+1))

    which will return blank if the referenced cell is blank.

    You can go to Tools|Options and in the View tab, uncheck Zero Values (this hides all 0's in the sheet)

    You can select the range and format the cells as: 0;-0;;@ which will hide zeroes only in the selected range.
    Last edited by NBVC; 08-10-2009 at 12:29 PM. Reason: Fixed 1st formula to remove the IF() part

  7. #7
    Registered User
    Join Date
    08-10-2009
    Location
    Fort Collins, Colorado
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: reference fill

    I was able to make your earlier suggestion work.

    Thanks much.

    Buck

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: reference fill

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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