+ Reply to Thread
Results 1 to 5 of 5

return value in table - multiple criteria

  1. #1
    Registered User
    Join Date
    02-01-2021
    Location
    Campbell River, BC
    MS-Off Ver
    2012
    Posts
    7

    return value in table - multiple criteria

    i am trying to return the value from a table based on two criteria. attached is sample workbook with two worksheets (summary and detail)

    I would like to return the values from column "B Total" and "A Total" into my summary sheet. (ie. for B total in detail tab, row 24 should return $375.10 on row 11 under column F in summary tab)


    I have sorted out the income line, need some help figuring the expense side of things

    I should mention, I've tried a number of formulas (vlookup, xlookup, index x match) to no avail - hence the posting here.

    thanks in advance, much appreciated!
    Attached Files Attached Files
    Last edited by lukeg23; 02-01-2021 at 11:17 PM.

  2. #2
    Registered User
    Join Date
    02-01-2021
    Location
    Campbell River, BC
    MS-Off Ver
    2012
    Posts
    7

    Re: return value in table - multiple criteria

    not sure where to begin with vba after no luck on formulas

  3. #3
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: return value in table - multiple criteria

    Test with worksheet formulas.
    Worksheet 'summary'
    "A Total" 'C9'
    Please Login or Register  to view this content.
    "B Total" 'F9'
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Best Regards,
    Maras.

  4. #4
    Registered User
    Join Date
    02-01-2021
    Location
    Campbell River, BC
    MS-Off Ver
    2012
    Posts
    7

    Re: return value in table - multiple criteria

    Thanks Maras - is there a way to change this so that it is keying off of the descriptions instead of relative position? When I run this report, it will have a different number of columns and rows that I would like to pull from, rather than the same table each time.

  5. #5
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: return value in table - multiple criteria

    Maybe it'll be okay now.
    With a helper column - yellow (can be hidden).
    The first words of 'Expenses' in both worksheets must be the same, these are keywords for the formulas to work well (no numbers at the beginning).
    Attached Files Attached Files

+ 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] Return figure from table using multiple criteria
    By glomb175 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-21-2018, 08:33 AM
  2. [SOLVED] Return value from table using multiple criteria
    By glomb175 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-13-2018, 05:18 AM
  3. Replies: 2
    Last Post: 11-30-2014, 03:05 PM
  4. [SOLVED] Return Value from table using multiple criteria
    By shido in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-04-2013, 04:43 PM
  5. Replies: 5
    Last Post: 06-21-2012, 10:36 AM
  6. Return a value from a multiple criteria table
    By cktung in forum Excel General
    Replies: 6
    Last Post: 12-26-2011, 03:39 AM
  7. Search table with multiple criteria and return row
    By grunwaldlove in forum Excel General
    Replies: 2
    Last Post: 11-11-2009, 11:18 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