+ Reply to Thread
Results 1 to 2 of 2

Find corresponding values on another worksheet

Hybrid View

  1. #1
    Reader
    Guest

    Find corresponding values on another worksheet

    Hello folks,

    We decided to delete all rows on a worksheet that have Invoice Date as
    today. I have two worksheets with invoices. One has invoice dates and
    the other one doesn't. However, the same invoices are on both
    worksheets. For some reason, the other worksheet is not supposed to
    have Invoice Date and so it does not.

    My question is: It is easy enough to delete all invoices having today's
    date from the worksheet that has invoice date but how do I delete those
    same invoices from the other worksheet that has no Invoice Date? Is
    there a way to tell Excel to match up invoice numbers from the first
    worksheet to the second and delete from the second as well? Or maybe I
    can do some sort of lookup... Please help.

    Thanks for reading.


  2. #2
    JimMay
    Guest

    Re: Find corresponding values on another worksheet

    Sounds like you need to flag those invoices on sheet2 (using a new
    helper column) to identify corresponding invoices on sheet1; perhaps Inv
    Number?

    In sheet2 the new helper column put in:

    =SUMPRODUCT((Sheet1!$B$2:$B$6=Sheet2!A2)*(Sheet1!$A$2:$A$6=TODAY()))

    And copy down to bottom. Any cells that produce "1" (without the ""'s
    Are your matching invoices; Do an Auto-Filter on this column for the
    "1"'s
    Then Delete them; then of course Unfilter and their gone.
    Now Delete the same Inv's from sheet1.

    Where B2:B6 are your InvNums on sheet1 and A2 is your Inv Num on Sheet2
    And where A2:A6 are your InvDates on Sheet1

    Hope that helps,

    Jim May

    "Reader" <[email protected]> wrote in message
    news:[email protected]:

    > Hello folks,
    >
    > We decided to delete all rows on a worksheet that have Invoice Date as
    > today. I have two worksheets with invoices. One has invoice dates and
    > the other one doesn't. However, the same invoices are on both
    > worksheets. For some reason, the other worksheet is not supposed to
    > have Invoice Date and so it does not.
    >
    > My question is: It is easy enough to delete all invoices having today's
    > date from the worksheet that has invoice date but how do I delete those
    > same invoices from the other worksheet that has no Invoice Date? Is
    > there a way to tell Excel to match up invoice numbers from the first
    > worksheet to the second and delete from the second as well? Or maybe I
    > can do some sort of lookup... Please help.
    >
    > Thanks for reading.



+ 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