+ Reply to Thread
Results 1 to 7 of 7

Fill Pattern of Formulas

  1. #1
    Registered User
    Join Date
    05-16-2013
    Location
    Oklahoma City, OK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Fill Pattern of Formulas

    Hello,

    I am filling data throughout a column, with these formulas:
    Cell B1067 -> =IF('Sheet2'!$D$21>0,'Sheet2'!$D$21,"")
    Cell B1068 -> =IF(Sheet2'!$O$21>0,'Sheet2'!$O$21,"")
    Cell B1069 -> =IF('Sheet2'!$D$21>0,1,"")
    etc.

    I have different formulas for cells B1067 to B1073 (7 cells) that I would like to repeat, but then refer to a different row. (Next set refers to row 22, then row 23, and so on). How can I fill the cells to repeat the pattern, referring to the following row each time?

    Thank you!

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Fill Pattern of Formulas

    So the formulas for B1067 through B1073 are all different and then you want them to repeat? i.e. B1074 will be exactly like B1067?
    =IF(Sheet2!$D$21>0, Sheet2!$D$21,"")
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-16-2013
    Location
    Oklahoma City, OK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Fill Pattern of Formulas

    It will repeat but refer to the next row.

    =IF('Sheet2'!$D$22>0,'USR SOV'!$D$22,"")

    Right now I'm copying them and updating the cell reference manually, but it is a very tedious process..

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Fill Pattern of Formulas

    Suggest you upload a sample workbook, showing what you have (cleaned) and what you want
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Fill Pattern of Formulas

    Okay, I think I can do this but would need to know what are the 7 formulas in B1067 -B1073?

    Here's what I would do, come up with formulas that will work if copied every 7 rows, then name those formulas, then put those named formulas into B1067-73, then select and drag.

  6. #6
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Fill Pattern of Formulas

    Please upload a workbook with sample data for working out the formulas.
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  7. #7
    Registered User
    Join Date
    05-16-2013
    Location
    Oklahoma City, OK
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Fill Pattern of Formulas

    Sample.xls

    Here is the spreadsheet I'm working with. I am using [Sheet 1] to fill a PDF, so there is a lot of data. I have highlighted the cells I'm currently working with in yellow. Cells [B1067:B1073] and [B1074:B1080] reflect the pattern that I am needing continued throughout the highlighted cells.

    Thanks for the help!
    Last edited by imagineissac; 05-14-2014 at 10:25 AM.

+ 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] Drag fill to follow pattern and skip row
    By Phily915 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2014, 12:26 PM
  2. Using index to fill pattern
    By roligankan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2013, 06:01 AM
  3. Chart fill pattern in 2007
    By adriandbailey in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-17-2013, 12:07 PM
  4. [SOLVED] Fill down a number pattern?
    By brandonlaw in forum Excel General
    Replies: 3
    Last Post: 08-06-2012, 11:24 AM
  5. Replies: 5
    Last Post: 01-02-2012, 12:09 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