+ Reply to Thread
Results 1 to 4 of 4

Dyamic Match with :

  1. #1
    Registered User
    Join Date
    08-14-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Dyamic Match with :

    Hi Excel Professionals,

    I have this formula $C$950+MATCH(B1004,'1'!$B$46:$B$81,0) and I wish to change it to $C$950 + MATCH(B1004, "'1'!$B$" & $C$950+1 & ":" & $B$81,0) to make the formula dynamic. $C$950+MATCH(B1004,'1'!$B$46:$B$81,0) gives the formula that searches B46 to B81 for the phrase, "Cash to Liquidity Reserves". I wish to change the formula such that it searches for a range where the starting of the range is 1 row above the value of C950.

    C950 contains the formula - =MATCH(B950,'1'!$B$1:$B$46,0) that gives the row of a cell that matches to the word "Income Tax". The value of C950 is row 45. B950 contains the word Income Tax. In rows B1:B46, there is a word Income Tax.

    Thank you!
    Attached Files Attached Files
    Last edited by AliGW; 06-25-2020 at 11:33 PM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Dyamic Match with :

    Are you trying to create a dynamic range in sheet 1 column B that starts from cell value first "Income tax" found and ends at B84?
    INDEX('1'!B84:OFFSET('1'!$B$1,C2,),)
    Then match the 1st "Cash to liquidity..." found in that range:
    C6:
    Please Login or Register  to view this content.
    Copy to C10 & C14
    Quang PT

  3. #3
    Registered User
    Join Date
    08-14-2018
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    2

    Re: Dyamic Match with :

    Hi bebo, it works perfectly thank you. The Cell ends in B$802 but it doesn't matter since the code works.

    By the way, for excel, are we able to use the ":" in a non chronological order? For example, usually I would see B1: B84 but in this case, it is B84:B57.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: Dyamic Match with :

    Nice to hear it works
    If we type the range B84:B57, excel chance it to B57:B84 automatically
    In this case we want B57 to be dynamic, and nail B84. So using B84:OFFSET, with OFFSET to DYNAMIC refer to B57

+ 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] Index/Match with 2 match columns, non-exact match
    By c1t in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-25-2019, 08:23 AM
  2. Replies: 7
    Last Post: 07-13-2018, 09:25 AM
  3. [SOLVED] Making SUMIF and OFFSET MATCH MATCH MATCH MATCH work
    By XL Grasshopper in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-30-2017, 11:12 AM
  4. Replies: 5
    Last Post: 02-18-2017, 11:21 AM
  5. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  6. [SOLVED] Index/Match/Match....Stops without completing the match
    By irsles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2012, 10:16 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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