+ Reply to Thread
Results 1 to 5 of 5

Looking for a formula that matches 2 sets of data

  1. #1
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Looking for a formula that matches 2 sets of data

    This is the problem I'm having.

    I run a report that displays information. For example, report A shows that Diet Pepsi is in the retail account and this information is generated from the user as they manually check off a box saying "yes" it's in the account. I need a way to cross reference whether it's a true fact or not. Internally I can run a sales report that shows what the account has in it. Problem is it's not a feasible practice for 2000 accounts.

    I was hoping to find a way to export the information of what the user enters in his computer and then have it match up with some internal sales reports. The problem is that while report A shows "Diet Pepsi" as a line item. The sales report is written a little different. I.e. Diet Pepsi 101 (even though they are the same).

    Ultimately the goal is that if Report A is saying the account has Diet Pepsi and our internal sales reports show no evidence of it. I get a #NA of some sort. Which would mean false information is being entered. Therefore not accurate and the user is either lying or mistakenly putting something different.

    I think the type of formula I am looking for is Iferror but never have used this or understand how it works.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Looking for a formula that matches 2 sets of data

    pls attach sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: Looking for a formula that matches 2 sets of data

    Thanks for responding. I finally have time to jump back into this problem. I attached a file I created in 2013. 3 work sheets/tabs.

    First tab is manually entered information from another computer. This data comes from employees entering data by selecting choices.
    2nd tab is actual sales data from our report program.
    3rd tab is a comparison of the same results but listed 2 different ways because of the 2 different sources of getting this info (see tab 1 & 2)

    So what I need is for every time column D in tab 1 list a certain name it cross checks in tab 2 column C to see if the same is there. If it can't find it on tab 2 show some type of #N/A or something showing an error. This will be how we find out if the information is false. Trying to find a way to verify real sales data vs what an employee is saying is there.
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Looking for a formula that matches 2 sets of data

    Not sure I get your links, but try this in D, copied down...
    =MATCH(C2&"*",'Sales Data'!$C$2:$C$9,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: Looking for a formula that matches 2 sets of data

    Thanks for responding. I tried your suggestion but not sure what's going on. I attached a copy with the formula in there. I entered text in column C and it still gave me an answer of "1" even though there is no data in column A. I need to make sure column A that list the account name is factored into these and it's not simply comparing 2 columns. Doesn't look your formula is factoring in my comparison tab. I deleted all the info there and it doesn't change anything. It's possible I guess that I don't need it but would think that I'd need to establish 2 variables and let the page know which one I care about.
    Attached Files Attached Files
    Last edited by Statz; 03-18-2015 at 03:00 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. FORMULA: Find all matches within array, delimiter between duplicate sets
    By cslicer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-16-2014, 10:59 AM
  2. [SOLVED] Best way of finding matches between two data sets
    By SEMMatt in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-04-2014, 06:35 AM
  3. Merging two data sets using approximate matches
    By duration in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-12-2014, 09:14 AM
  4. Find Row Matches on Six Criteria between data sets in two different worksheets
    By jake diamond in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-24-2014, 04:45 PM
  5. Finding matches on six criteria in two data sets on two different worksheets
    By jake diamond in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-23-2014, 10:22 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