+ Reply to Thread
Results 1 to 4 of 4

Decrementing cell reference in formula when autofilling?

  1. #1
    Registered User
    Join Date
    04-10-2013
    Location
    Berkhamsted, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Decrementing cell reference in formula when autofilling?

    Hi guys,

    I am trying to auto fill (downwards) with a decrementing reference's in the formula however I cannot find a way:

    E.g. I want the references to decrement.

    =AVERAGE(G1442,G2908,G4374,G5840,G7306)
    =AVERAGE(G1441,G2907,G4373,G5839,G7305)
    =AVERAGE(G1440,G2906,G4372,G5838,G7304)
    =AVERAGE(G1439,G2905,G4371,G5837,G7303)


    I have been doing this manually for some time now, hopefully there is an easier way, formula or technique.


    Thank you for your time,


    Regards,



    Rick.

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

    Re: Decrementing cell reference in formula when autofilling?

    You could do this in your first cell:

    =AVERAGE(INDIRECT("G"&1443-ROWS($1:1)),INDIRECT("G"&2909-ROWS($1:1)),INDIRECT("G"&4375-ROWS($1:1)),INDIRECT("G"&5841-ROWS($1:1)),INDIRECT("G"&7307-ROWS($1:1)))

    and then copy down.

    Hope this helps.

    Pete

  3. #3
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: Decrementing cell reference in formula when autofilling?

    First do it in incrementing order without '=' symbol

    AVERAGE(G1442,G2908,G4374,G5840,G7306)

    then sort the column and concatenate this formula with '=' symbol
    Last edited by abduljaleel.mca; 04-10-2013 at 05:26 AM.

  4. #4
    Registered User
    Join Date
    04-10-2013
    Location
    Berkhamsted, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Decrementing cell reference in formula when autofilling?

    Thank you so much Pete works a charm,

    I had 1,400 entries to edit, you just saved me a days work!!

    Very much appreciated!!!!!

    Regards,


    Rick.

+ 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