+ Reply to Thread
Results 1 to 6 of 6

Extend formula automatically to the left (then down)

  1. #1
    Registered User
    Join Date
    09-05-2022
    Location
    Paris, France
    MS-Off Ver
    2016
    Posts
    85

    Extend formula automatically to the left (then down)

    Hey as you can see in the second page of my excel file, i have a graph.

    In A2, the formula is : =IF(Tableau3[[#En-t?tes];[Fruit]]=list!B2;"X";"")

    What i would like is to extend to the right automatically (when i press on the button)

    My problem is that if i try extending to the right i get this formula : =IF(Tableau3[[#En-t?tes];[Vegetable]]=list!C2;"X";"")
    But what is want is C2 to stay B2. and then obviously when i go down the rest of the column, i get B3, B4 and so on.

    Any ideas ? Thank you

    HELP FORMULA.xlsm
    Last edited by clemlcfc; 09-07-2022 at 05:43 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,844

    Re: Extend formula automatically to the left (then down)

    Anchor the cell reference like this:

    list!$B2
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    09-05-2022
    Location
    Paris, France
    MS-Off Ver
    2016
    Posts
    85

    Re: Extend formula automatically to the left (then down)

    thank you for your help

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,844

    Re: Extend formula automatically to the left (then down)

    Glad to have helped.

    If you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  5. #5
    Registered User
    Join Date
    09-05-2022
    Location
    Paris, France
    MS-Off Ver
    2016
    Posts
    85

    Re: Extend formula automatically to the left (then down)

    i will do. Just a last thing, i know it's possible to fast extend down by double clicking in the right down corner but how can i fast extend to the right ?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,844

    Re: Extend formula automatically to the left (then down)

    No way that I know of in 2016 without VBA. But that's a different question.

    Please mark the thread as solved - the question you asked in the opening post is resolved. Thanks.

+ 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. Replies: 3
    Last Post: 03-22-2020, 11:24 AM
  2. [SOLVED] VBA to automatically extend a SUM formula
    By LeanAccountant in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2018, 05:20 AM
  3. [SOLVED] Extend Current Region to the left
    By swallis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-22-2015, 01:40 AM
  4. Extend range of table automatically to fit data
    By b624333 in forum Excel General
    Replies: 1
    Last Post: 07-14-2014, 01:00 PM
  5. Chart Automatically update and extend
    By surfengine in forum Excel General
    Replies: 1
    Last Post: 11-17-2006, 01:19 PM
  6. How to Extend Range Automatically
    By myeaddress2003 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2006, 06:45 AM
  7. [SOLVED] how to extend data to next sheet automatically during sql query
    By Asha in forum Excel General
    Replies: 1
    Last Post: 10-13-2005, 02:05 PM

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