+ Reply to Thread
Results 1 to 5 of 5

Autofill query

  1. #1
    Registered User
    Join Date
    02-08-2018
    Location
    Nottm, England
    MS-Off Ver
    2016
    Posts
    3

    Autofill query

    Hello

    I wonder if you can help with this, I suspect, rather basic query.

    My scenario is as follows -
    At the top of my spreadsheet I have a list of totals, these are based in B2 down to B20.
    These totals are linked to G23 for B2, down to G41 for B20. To link these I enter = in the formula bar & then click on the relevant cell.
    I then insert a new set of rows, moving G23 down to G44, G24 down to G45, etc
    Cell B2 is then updated to the following by adding a + to the end of the formula & then clicking on the relevant cell –
    =R[42]C[5]+R[21]C[5]
    Autofill is used to update B3 down to B20

    Occasionally, I need to insert additional rows, these are not used for referencing the totals. So, G23 remains the target of B2. G25 then becomes the target of B3. G27 then becomes the target of B4. Down to G59 for B20.

    At this point if I update the formula for B2, I then find that I can no longer use Autofill as this wishes to reference G24 for B3 instead of G25. I can update this fairly painlessly, although manually, but when I come to insert new rows, moving everything down my spreadsheet, Autofill cannot cater for the set of cells which have the additional lines in them.

    I hope the above makes sense, please excuse my lack of Excel skills. Thanks for reading, and thanks in advance for any assistance.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Autofill query

    I assume that you are inserting rows to put something in another column.
    Would deleting the empty cells in the column where you want the autofill sort your problem?
    Select the cells to be deleted, then RightClick \ Delete \

    this pops up..

    DeleteRelevantcells.jpg

    change the default to:
    Shift cells UP

    and then looks like this...

    DeleteRelevantCellsAFTER.jpg

    and autofill works as expected on cells A1 to A11
    Last edited by kev_; 02-08-2018 at 07:49 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    02-08-2018
    Location
    Nottm, England
    MS-Off Ver
    2016
    Posts
    3

    Re: Autofill query

    Yes, the additional rows are being included for more descriptive text. Unfortunatley I need the empty cells where they are...that's given me an idea, I could merge the cells, or at worst resize them to contain all the required data, as a result this would keep the important cells, referenced by the totals, contiguous.

    Thanks for your reply. I shall trial these additional thoughts that I've had, prompted by your suggestion.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Autofill query

    I do not know hpw you are using the inserted data.
    Is it necessary to insert additional rows?
    Are you aware of the {Alt}{Enter} trick to get multiple lines of text into one cell?

    Alt enter.jpg
    Last edited by kev_; 02-08-2018 at 08:34 AM.

  5. #5
    Registered User
    Join Date
    02-08-2018
    Location
    Nottm, England
    MS-Off Ver
    2016
    Posts
    3

    Re: Autofill query

    The penny dropped that this was an alternatiive for me after your initial post. I suspect that I do not need something complex, just to adjust layout to achieve my goal.

    Thanks for your assistance with this.

+ 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. Query Table Autofill Issue
    By jsds13 in forum Excel General
    Replies: 3
    Last Post: 07-29-2016, 10:55 AM
  2. [SOLVED] Date Autofill Query
    By Excel Dumbo in forum Excel General
    Replies: 6
    Last Post: 12-11-2013, 10:08 AM
  3. [SOLVED] Autofill query
    By AndyE in forum Excel General
    Replies: 3
    Last Post: 07-30-2013, 01:11 PM
  4. Autofill range query
    By bd528 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2010, 10:28 AM
  5. MS query and adjacent autofill
    By jumpstones in forum Excel General
    Replies: 0
    Last Post: 11-05-2009, 12:22 PM
  6. Autofill(?) Function Query
    By carlosbourn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2008, 12:53 PM
  7. [SOLVED] Database-Query and AutoFill??????
    By mattse_f in forum Excel General
    Replies: 1
    Last Post: 06-30-2005, 07:05 AM

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