Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Reader
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
JimMay
 
Posts: n/a
Default 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" wrote in message
oups.com:

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FIND FORMULA SIMILAR TO VLOOKUP FOR NON-ASCENDING VALUES Kir Excel Worksheet Functions 2 November 10th 05 09:39 PM
Find & Replace within Unlocked Cells in a Protected Worksheet DaveyC4S Excel Discussion (Misc queries) 2 October 9th 05 11:12 AM
Comparing a list to a Calendar worksheet. PatrickL Excel Worksheet Functions 0 August 25th 05 04:21 PM
Find a value in a workbook and return the worksheet name Craig Excel Discussion (Misc queries) 2 August 10th 05 09:47 PM
hide a worksheet so that a macro can still find it frendabrenda1 Excel Worksheet Functions 1 June 17th 05 04:30 PM


All times are GMT +1. The time now is 05:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"