Closed Thread
Results 1 to 4 of 4

Trying to compare two tables with very specific criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    03-22-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    26

    Trying to compare two tables with very specific criteria

    I have a data dump sheet that I than use a filter command into another sheet that filters onto two tables. One for last month and one for current month. My objective is to find any Customers that purchased an item (item code) last month, but have yet to purchase the item code this month. I am at a loss for how to do this because there is not unique identifier between the tables unless maybe you use three identifiers. If it comes back that they have yet to order an item from last month return "Yet to order". If they have Ordered then "Ordered".

    There is a possibility that the customer is not in the second table because they have not made any purchases I need that to display "Yet to Order" on all of the ones from the first month.

    If the customer is in the second table but not the first I need it to say "Did not order this item last month"

    I have sat here for around 10 hours trying to wrap my head around this.

    Is this even doable with a formula or am I going to have to do some coding.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Trying to compare two tables with very specific criteria

    How is this materially different to your other thread?

    https://www.excelforum.com/excel-pro...the-month.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-22-2021
    Location
    USA
    MS-Off Ver
    365
    Posts
    26

    Re: Trying to compare two tables with very specific criteria

    Apologies I thought I had deleted that since I am no longer looking for a macro. I also changed up quite a few things on my original and updated information with a worksheet.
    Last edited by AliGW; 03-23-2021 at 09:51 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,790

    Re: Trying to compare two tables with very specific criteria

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread, which you can update accordingly: https://www.excelforum.com/excel-pro...the-month.html

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Compare two tables and transfer data to different tables based on conditions.
    By kv.singh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2020, 09:38 AM
  2. [SOLVED] Copy data from tables into other tables, using criteria and VBA (with example)?
    By LIL2606 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2019, 04:12 AM
  3. [SOLVED] Excel - Compare data based upon specific criteria split into columns and delimiters
    By Funkadlic01 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-01-2017, 09:36 PM
  4. [SOLVED] Insert Rows on Criteria and Copy content to Specific Cells in New Rows(Tables)
    By TheScott in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2015, 03:38 PM
  5. Compare between 2 tables
    By dispro14 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2014, 03:38 AM
  6. Replies: 1
    Last Post: 07-23-2012, 12:50 AM
  7. compare two tables
    By ekoot in forum Excel General
    Replies: 2
    Last Post: 02-08-2010, 07:44 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