+ Reply to Thread
Results 1 to 4 of 4

return corresponding value within a row of a dynamic table base on a multiple criterias

  1. #1
    Registered User
    Join Date
    09-07-2017
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    6

    return corresponding value within a row of a dynamic table base on a multiple criterias

    Hi, base on the value i enter in B2 of the "desired result" tab, i wish to draw all the corresponding entries from the "data" tab as in the manner shown in "desire result" tab (with the debit on one side and the credit on the other). the table in the "data" tab need to be a dynamic named range

    Please help. thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: return corresponding value within a row of a dynamic table base on a multiple criteria

    Hello lymanting. Welcome to the forum.

    In the attached find these 3 dynamic named range formulas in Name Manager.


    Credit_Helper
    =Data!$I$2:INDEX(Data!$I:$I,MATCH("zzzzz",Data!$B:$B,1))
    Debit_Helper
    =Data!$H$2:INDEX(Data!$H:$H,MATCH("zzzzz",Data!$B:$B,1))
    Source_Data
    =Data!$B$2:$G$2:INDEX(Data!$B:$B,MATCH("zzzz",Data!$B:$B,1))


    Source_Data Does what it's name suggests.

    These next two refer to helper columns in H:I of 'Data' sheet. Their intent is to avoid resource hungry array formula alternatives.
    Credit_Helper
    Debit_Helper

    In column H find this formula that returns row numbers for occasions of Debit that correspond to the 'Search' criteria in B1 of 'Balance'.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In column I this serves the same purpose for Credit.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In 'Balance' sheet A4 filled down and across column C
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    You may have to reapply formatting.

    In 'Balance' sheet E4 filled down and across column G
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Again reformatting may be necessary.
    Dave

  3. #3
    Registered User
    Join Date
    09-07-2017
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: return corresponding value within a row of a dynamic table base on a multiple criteria

    thank you for the help

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: return corresponding value within a row of a dynamic table base on a multiple criteria

    You are welcome. Thank you for the feedback and marking thread Solved.

+ 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] Dynamic based on criterias, Delete Excel Table with Selection.ListObject.ListRows(x).Delet
    By radian89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2017, 10:51 PM
  2. dynamic filtering of data with multiple criterias
    By Agreth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2017, 04:31 PM
  3. Return 1st value of duplicates based on multiple criterias
    By Dahlia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-31-2015, 04:09 AM
  4. Summerize tables on data base to smaller dynamic table
    By x_ampl1 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 10-23-2014, 06:22 AM
  5. Creating dynamic top 10 list with multiple conditions and criterias
    By yabadabado in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2014, 10:11 AM
  6. Return to cell with multiple criterias
    By mmaxumus2008 in forum Excel General
    Replies: 5
    Last Post: 01-20-2012, 09:52 AM
  7. pivot table with dynamic base data
    By bb in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-13-2005, 01:05 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