Results 1 to 10 of 10

Auto fill formula with offset

Threaded View

  1. #1
    Registered User
    Join Date
    03-14-2018
    Location
    England, France
    MS-Off Ver
    2016
    Posts
    13

    Auto fill formula with offset

    Hi everyone,

    I am currently making a module to automatically add columns in a sheet.
    I would like to insert a new column and fill it on ~1000 lines with the formula =Bx/Ax if this column is C. The problem is that I don't know if the column is gonna be C or D or Z, so I guess I have to use offset to make something like =cell-1/cell-2.
    A and B would be filled manually.

    I'm new in VBA, I can't get it right to have the formula and then fill in all the column with it, can someone help me ?
    Enclosed is a example of the result I'd like.

    Thank you,

    Jules
    Attached Files Attached Files
    Last edited by JulesR2; 05-03-2018 at 05:10 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto fill box and offset activecell
    By kat14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2015, 07:08 PM
  2. Auto fill decimal sequence using custom fill or formula
    By 8cats in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-22-2013, 08:53 AM
  3. is there a formula for auto fill
    By pates in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 03:36 PM
  4. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  5. formula auto fill
    By jonathankim in forum Excel General
    Replies: 3
    Last Post: 04-15-2010, 10:07 AM
  6. Replies: 1
    Last Post: 07-13-2007, 10:59 AM
  7. Auto fill formula
    By Matt707 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2007, 03:37 PM

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