+ Reply to Thread
Results 1 to 3 of 3

Populate are offseted range with array formula

Hybrid View

  1. #1
    Registered User
    Join Date
    12-06-2011
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    26

    Populate are offseted range with array formula

    Hi

    I have a problem that frequently occurs. I need to populate a range with an offset. In the attached workbook I need to populate the "Nominal" amount in A8 to reflect below 30/6/2023 to 30/9/2026. The array formula must be in D8. I can controll the ending column in the range using sequence function, is there a way to it with the starting column. The first "empty " columns can be 0.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,791

    Re: Populate are offseted range with array formula

    How about
    Formula: copy to clipboard
    =IF(($D$7:$P$7>=B8)*($D$7:$P$7<=C8),A8,0)

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,231

    Re: Populate are offseted range with array formula

    Try this:

    =LET(d,D7:P7,s,MATCH(B8,d,0)-1,HSTACK(EXPAND("",,s,""),SEQUENCE(,MATCH(C8,d,0)-MATCH(B8,d,0)+1,A8,0)))
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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] Non-array Formula to SUM (Add) & populate table if value(s) exist in a range of IDs
    By bjnockle in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-10-2020, 02:37 PM
  2. [SOLVED] Non-array Formula to populate fields if value(s) exist in a range of unique IDs
    By bjnockle in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-08-2020, 11:30 AM
  3. [SOLVED] Populate array to range of cells
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-29-2015, 09:34 AM
  4. [SOLVED] Populate one array from another array and print new array as a range
    By Kaden265 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-07-2014, 07:52 AM
  5. Populate a range with an array from VBA
    By par0016 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-14-2013, 05:39 PM
  6. Populate 2D-array with non-contiguous range
    By Laksefar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2013, 06:37 AM
  7. Using array variable to populate range
    By sweep in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-19-2008, 11:14 AM

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