+ Reply to Thread
Results 1 to 3 of 3

Auto fill skip columns 2 diff sheets

  1. #1
    Registered User
    Join Date
    11-13-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    Auto fill skip columns 2 diff sheets

    I need help. I have data in one sheet: column A = Expected column B = actual for the Day 1, column C = Expected and column D = actual for Day 2 and goes on... then row 2 is production line 1, row 3 production line 2, etc... in sheet 2 i want to calculate attainment results column A row 2 will be attainment for line 1 (Sheet1 columnB/columnA), row 3 will be attainment for line 2 (Sheet1 columnD/ColumnC), etc.

    I want to drag my formula in sheet2 to the right to auto fill with the references in sheet1 without having to manually change the reference all the time (skip columns)

    3-Apr 4-Apr 5-Apr
    80% 63% 97%
    =Sheet1!C4/Sheet1!B4 =Sheet1!E4/Sheet1!D4 =Sheet1!G4/Sheet1!F4

    Thank you

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Auto fill skip columns 2 diff sheets

    Try something like

    =INDEX(Sheet1!4:4,,(COLUMNS($B2:B2)-COLUMN($B2))*2+3)/INDEX(Sheet1!4:4,,(COLUMNS($B2:B2)-COLUMN($B2))*2+2)

    All instances of B2 in the formula should refer to the first cell in which you will enter the formula before filling right. Please give special attention to the placement of the $ symbols.
    The calculations at the end, *2+3 on the left and *2+2 on the right of the formula denote the pattern.
    The multiplier sets the number of columns in the pattern. (*2 would give columns B,D,F,H, etc. *3 would give C,F,I,L, etc.)
    The addition sets the startting column for the first pattern (+1 starts in column A, +5 starts in column E).

    The formula above will follow the pattern in your question, starting at C4/B4
    Last edited by jason.b75; 04-05-2019 at 03:33 PM.

  3. #3
    Registered User
    Join Date
    11-13-2013
    Location
    Ohio
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Auto fill skip columns 2 diff sheets

    Awesome! Thank you

+ 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. [SOLVED] Auto Fill Formula into New Rows/Columns [Google Sheets]
    By banyanman in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 05-03-2016, 03:24 PM
  2. Skip x cells and fill (Fill/create weekly average from 7 days and fill down)
    By tunafishes in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2016, 03:43 AM
  3. Replies: 0
    Last Post: 07-30-2013, 07:42 PM
  4. Compare two columns from diff excel sheets and delete all non matching rows
    By Girija in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2013, 11:08 PM
  5. [SOLVED] Fill formula in column with data taken from diff columns
    By SergSlim in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-31-2012, 10:32 AM
  6. [SOLVED] identify unique ID between 2 sheets, auto replace cell values between sheets in diff colum
    By DT123456 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2012, 08:25 AM
  7. using auto fill, but need to skip every 13th number
    By gotzoom in forum Excel General
    Replies: 3
    Last Post: 01-19-2006, 10:35 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