+ Reply to Thread
Results 1 to 3 of 3

Query to find similar data..

  1. #1
    Registered User
    Join Date
    08-08-2008
    Location
    DXB
    Posts
    12

    Query to find similar data..

    I have a excel database of customers that I am reciving payments from...
    but I have reason to belive they maybe doing some sort of fraud..


    now on my excel i basically have four columns...
    A1 B1 C1 D1
    Customer ID Amount Card Number Checked

    now each customer is given a unique reference number.. but can have made multiple payments.. what i need to do is, check if a customer is using the same credit card to make a payment for me or different cards... and also to see if the same card number is being used by multiple customers, now once I've marked it as checked, I do not want it to show up on my report...
    but when ever a new payment is recevied from a customer I want it to come back into my report..

    is there any way i can do this in excel?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Query to find similar data..

    Here's a thought...pivot tables?

    With your data in A1:D100

    From the Excel Main Menu: <Data><Pivot Table>
    Use: Excel……Click [Next]
    Select your data……Click [Next]
    Click the [Layout] button

    ROW:
    Drag the CustID field here
    Drag the CardNum field here

    COLUMN: (Leave this area blank)

    DATA: Drag the Amount field here
    If it doesn't list as Sum of Amount...dbl-click it and set it to Sum

    PAGE: Drag the Checked field here

    Click [OK]

    Select where you want the Pivot Table…Click [Finish].

    That will list each CustID and the CardNums they used..with a total.
    If you set the PAGE to only show UN-checked items the pivot table
    will shows the stats for only those.

    For an analysis of who uses which credit cards,
    follow the above instructions again....BUT
    ...put the CardNum field in before the CustID field.

    To refresh the Pivot Tables, just right click them and select Refresh Data

    Is that something you can work with?

    For more info on Pivot Tables, here are some links:
    http://www.nickhodge.co.uk/gui/datam...ablereport.htm
    http://www.contextures.com/tiptech.html
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    08-08-2008
    Location
    DXB
    Posts
    12
    I'll give that a try...

    but what i was thinking was, maybe i could group all the data by customer ID.. and then group them by credit card, and possible cross them check with each other..

+ 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. External data query
    By axc0054 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-21-2008, 09:45 PM
  2. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  3. Find Last Row of Data and Use Row Number
    By gav0101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2007, 05:44 PM
  4. Columns of data ... need a macro that can find differences of 0.06 & Fill Color them
    By rocket1406 in forum Excel Programming / VBA / Macros
    Replies: 28
    Last Post: 08-27-2007, 03:16 AM
  5. Processing Delimited Data with a Web Query
    By OlYeller21 in forum Excel General
    Replies: 1
    Last Post: 09-13-2006, 09:07 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