+ Reply to Thread
Results 1 to 5 of 5

INDEX/MATCH or other formula to copy cells until next value

  1. #1
    Registered User
    Join Date
    07-02-2021
    Location
    Colorado, USA
    MS-Off Ver
    2015
    Posts
    23

    INDEX/MATCH or other formula to copy cells until next value

    I am trying to take the Item Number value and have that automatically be copied into the same column but in between the Project Number and Item Description column. I need the Item Number value to be copied until a new Item Number is reached.

    For example (see attached document): 20100000 needs to be copied to cells B5:B7 and then when a new Item Number is reached (20100001) that needs to be copied to cells B14:B16 until the new Item Number (20100005) is reached and copied to cells B22:B23.

    My actual document is large so I cant just copy and drag each Item Number

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,903

    Re: INDEX/MATCH or other formula to copy cells until next value

    crossposted: https://www.excelguru.ca/forums/show...6456#post46456

    and

    crossposted: https://www.mrexcel.com/board/thread...-post.1175865/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    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

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,590

    Re: INDEX/MATCH or other formula to copy cells until next value

    Helper column K is used.
    IN K2

    =IF($C2<>"",IF($B2<>"","",MAX($B$2:$B2)),"")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,096

    Re: INDEX/MATCH or other formula to copy cells until next value

    I note that this is the SAME request as your thread yesterday. I note that my guess at your desired result was incorrect.

    HOWEVER, You should NOT have started a new parallel thread (please read Rule 5). You should have explained WHY my solution was incorrect and EXPLAINED what you wanted IN THE ORIGINAL THREAD.


    Do not duplicate threads in future.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  5. #5
    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
    81,091

    Re: INDEX/MATCH or other formula to copy cells until next value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    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.

+ 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. Replies: 1
    Last Post: 07-07-2021, 08:59 PM
  2. [SOLVED] Add to existing match index formula a formula that will leave cells blank
    By Hedy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-15-2017, 02:34 PM
  3. Creating INDEX MATCH MATCH formula based off text in cells
    By bbkdude in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-26-2017, 10:37 AM
  4. Index Match Formula and Copy Row
    By CreamOfWheat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2015, 05:55 PM
  5. Copy/Paste Index/match Formula
    By pauladiaz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-27-2014, 02:54 PM
  6. [SOLVED] Is it possible to use Index match formula to copy whole collum
    By dave1983 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-14-2012, 05:29 PM
  7. copy & increment row +1 w index/match formula
    By cdl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2008, 10:01 AM

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