+ Reply to Thread
Results 1 to 3 of 3

matching to Arrays multiple queries

  1. #1
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    matching to Arrays multiple queries

    Hi all
    I have another curly formula for one of you genius’ out there.

    The outcome needs to be placed in column AD of the “PAYMENT” (tab name), commencing at Cell Reference AD2. I need to convert various criteria matches within the “PAYMENT” (tab name) to equal a $dollar payment based on the table in “ARRAYS” (tab name). The criteria to be matched is located in columns P through to R then using the amount specified in Column S of the same sheet. (This information can be modified to suit any match/lookup etc. required it if makes it easier for a formula.)

    By matching each line with outcomes displayed in “PAYMENT” (tab name)
    column F-Fund, and
    Column N-Level, and
    Column AC-PRE or POST,
    then using the matched data in “ARRAYS” (tab name) multiply the outcome in Column AA of the “PAYMENT” (tab name) by the $ value in column S of the ARRAY.

    So the query is look for a match in “PAYMENT” (tab name) columns F, N and AC against the Array Table in “ARRAY” (tab name), and where it matches, multiply the dollar amount in the “ARRAY” (tab name) in column S by the figure in AA of the “PAYMENT” (tab name).
    If no match found, answer “0”

    It is a bit difficult considering the POST information currently equals Zero, and does not apply until after 01 July, but I’m sure the formula you come up with will work.

    AND thanks to feedback from Rylo - very much appreciated my friend, I've reduced the number of lines/data and provided what I think the outcome should be.

    Thanks in advance.
    Regards Chris
    Attached Files Attached Files
    Last edited by Christopherdj; 06-19-2012 at 06:51 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: matching to Arrays multiple queries

    Chris

    AD2:
    Please Login or Register  to view this content.
    rylo

  3. #3
    Forum Contributor
    Join Date
    10-13-2011
    Location
    Australia
    MS-Off Ver
    Office 16
    Posts
    329

    Re: matching to Arrays multiple queries

    Thanks Rylo - works a treat. Even the POST works (I only needed to change the date and it populated without an error anywhere. Brilliant stuff - again.)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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