+ Reply to Thread
Results 1 to 4 of 4

Match two lists of data, if set A is >25% of set B output difference

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    Los angeles
    Posts
    17

    Match two lists of data, if set A is >25% of set B output difference

    I have dynamic two lists of data that load from and ODBC connection. One contains outstanding balances for customers. The other contains outstanding balances aged 72 days or greater. I need to find matches in the two lists. If a match exist I need to determine if the balance aged 72 days or greater is more than or equal to 25% of the total balance. If this is the case I need to know the difference of the two balances.

    Here is an example.

    Company Balance over 72 days Company Total Balance output
    Target 1000 Dell 4333 0
    Walmart 5000 Apple 5634 0
    Costco 2000 Target 5000 0
    IBM 6000 0
    Walmart 4000 1000
    Costco 500 1500

    Thanks!
    Attached Files Attached Files
    Last edited by eldoradotower; 09-16-2008 at 03:19 PM.

  2. #2
    Registered User
    Join Date
    08-15-2008
    Location
    Mass
    MS-Off Ver
    2016, 64- Bit
    Posts
    28
    Try

    =IF(NOT(ISNA(VLOOKUP(A2,C2:C71,FALSE))),IF(VLOOKUP(A2,C2:D7,2,FALSE)>=0.25*B2,VLOOKUP(A2,C2:C7,2,FALSE)-B2,0),0)

  3. #3
    Registered User
    Join Date
    09-16-2008
    Location
    Los angeles
    Posts
    17
    Thanks but it says

    #NAME?

    Does it work for anyone else?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    Please Login or Register  to view this content.
    in cell e2 and dragged down
    edited for typo and length!
    Last edited by martindwilson; 09-16-2008 at 04:59 PM.

+ 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. Pairing two data sets, both with missing data
    By Peter Chapman in forum Excel General
    Replies: 2
    Last Post: 06-10-2008, 04:43 AM
  2. How to create dependent lists from database data
    By V1su in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2008, 04:44 AM
  3. Trying To Create Form To Output Data And Erase Form Once Data In Ouput
    By jasonmilford in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-22-2007, 11:53 PM
  4. data from drop down lists
    By clairellindsay in forum Excel General
    Replies: 1
    Last Post: 07-12-2007, 11:40 AM
  5. Round to match source data precision
    By Hammer_757 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2006, 11:03 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