Closed Thread
Results 1 to 3 of 3

Table offset if - incrementing rows copying across columns

  1. #1
    Registered User
    Join Date
    06-21-2019
    Location
    Los Angeles, CA
    MS-Off Ver
    MAC Office 2016
    Posts
    11

    Question Table offset if - incrementing rows copying across columns

    I have a table with month numbers listed vertically and also horizontally on top (1-48 down and 1-48 across).

    Month 1 starts in column A, row 1 in cell A1. Formulas spread horizontally to the right only not backwards.

    Month 2 starts in column B, row 2 in cell B2.

    Formula: IF(B899*'Sync Inv Summary'!$P$13>0,B899*'Sync Inv Summary'!$P$13,"")

    Possible formula?: OFFSET($B$1,COLUMNS($B$1:B1)-1,ROWS($B$1:B1)-1,1,1), the syntax (-1, etc.) not correct but does increment?

    The goal is to have ONE formula in column A, row 1, cell A1 and have the formula populate the entire table except not in the cells backwards from the starting point of each successive month. In other words, putting the formula in cell A1 and when it fills the table (48 rows, 48 months), cells like in Month 2, cell A2 will never have a value because A2 is in month not Month 2.

    Thank you.

  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,409

    Re: Table offset if - incrementing rows copying across columns

    Welcome to the forum!

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,855

    Re: Table offset if - incrementing rows copying across columns

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here. I am, therefore, closing this thread, but you may continue here in the original thread: link to be added here

    See duplicate at: https://www.excelforum.com/excel-for...ml#post5141723
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copying specific rows *and* columns to a new table
    By Glayva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2016, 01:20 PM
  2. Copying a formula 10 rows down but incrementing by only one
    By Ralphbones in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2014, 02:35 PM
  3. [SOLVED] Copying Formula down incrementing every 4 rows
    By alonzoharris in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-19-2014, 03:26 PM
  4. Dragging Across Columns, Incrementing Rows
    By Fpob in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-07-2012, 10:56 AM
  5. Incrementing through Rows and Columns
    By zwieback89 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-13-2011, 07:57 PM
  6. Incrementing rows instead of columns
    By liq3 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2008, 08:43 AM
  7. [SOLVED] Incrementing Rows in columns
    By Ray via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2005, 01:05 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