Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have approximately 2500 properties (address number, street name and tax
bill number) and 25 sheets (each representing a different property developer). I need to determine if the same property has been allocated to more than one developer, that is whether an entry is repeated on more than one sheet or even the same sheet. I would also like to calculate exactly how many entries are in the entire workbook. Thanks, Ivan |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there any single, unique identifying piece of information that would be
found in all sheets such as the tax bill number? Or would even those possibly be different (or even missing) for the same piece of property on either the same sheet or on another sheet? "Ivan" wrote: I have approximately 2500 properties (address number, street name and tax bill number) and 25 sheets (each representing a different property developer). I need to determine if the same property has been allocated to more than one developer, that is whether an entry is repeated on more than one sheet or even the same sheet. I would also like to calculate exactly how many entries are in the entire workbook. Thanks, Ivan |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes, the tax bill number should serve that purpose, however it is possible
due to date entry mistakes that the tax bill number may be off by a digit as I have discovered once or twice. "JLatham" wrote: Is there any single, unique identifying piece of information that would be found in all sheets such as the tax bill number? Or would even those possibly be different (or even missing) for the same piece of property on either the same sheet or on another sheet? "Ivan" wrote: I have approximately 2500 properties (address number, street name and tax bill number) and 25 sheets (each representing a different property developer). I need to determine if the same property has been allocated to more than one developer, that is whether an entry is repeated on more than one sheet or even the same sheet. I would also like to calculate exactly how many entries are in the entire workbook. Thanks, Ivan |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ivan,
Download this file: http://www.jlathamsite.com/uploads/M...cing_Empty.xls (Excel 97-2003 format, 34 KB, does have Macros in it) Open that workbook, open a COPY (don't want to mess things up just in case this falls apart) of your workbook with the 25 or so sheets in it. Copy the one sheet that's in the workbook I provided into the copy of your property records workbook. Close the one-sheet workbook. Everything (code and all) is contained within the one worksheet. Set up the worksheet by entering the needed information into cells F1 and G1 - it needs to know the column identifier (as A or BA) that the Tax Bill Numbers are in on all the other sheets. That goes into F1. In G1 put the number of the first row on those sheets that the data starts in; i.e. first row with a Tax Bill #. Then just double-click on cell A1 and it'll do its thing. Only problem I see is if the total number of individual Tax Bill Numbers for all sheets is greater than 65535 (assuming you're using Excel 2000, XP or 2003). That would cause a failure that I haven't trapped for. What it will do: It will put all unique Tax Bill Numbers into column A of the MasterList sheet, and on each row, when it finds a sheet with a match to that number (and I actually assume it's a mix of numbers and letters) it will put the name of the sheet(s) that it found the Tax Bill Number on in the columns to the left of the number itself. So you can quickly see where a number is only referenced once, or where it is referenced on several sheets, and by just going to the end of the list, you'll know how many unique Tax Bill Numbers you have: 25*2500 = 62,500 so I'm hoping we have room: max rows in Excel 2003 is 65536 and we're using 1 of those already. When you do the double-click, nothing may appear to happen for a while. I've turned off screen updating to improve processing speed, so the worksheet will continue to look empty until it is completely finished. Also, examination of the Tax Bill Numbers in column A may show you the ones that either have a missing digit/character, or have too many. You could go to the indicated sheet and repair those and then run the whole thing again. If you run it a second (or 3rd or 4th) time, it will erase all of the referenced sheet entries, but will leave the Tax Bill Numbers in place. So the 2nd time thru you may get a few more rows, and those numbers you repaired will probably not have any sheet name reference next to them. If you want, you can select all of the data from row 2 all the way to the end, delete it and start over fresh at any time. "Ivan" wrote: I have approximately 2500 properties (address number, street name and tax bill number) and 25 sheets (each representing a different property developer). I need to determine if the same property has been allocated to more than one developer, that is whether an entry is repeated on more than one sheet or even the same sheet. I would also like to calculate exactly how many entries are in the entire workbook. Thanks, Ivan |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
My aixelsid is showing again...
"...it will put the name of the sheet(s) that it found the Tax Bill Number on in the columns to the left of the number itself." should have read "... to the RIGHT..." "JLatham" wrote: Ivan, Download this file: http://www.jlathamsite.com/uploads/M...cing_Empty.xls (Excel 97-2003 format, 34 KB, does have Macros in it) Open that workbook, open a COPY (don't want to mess things up just in case this falls apart) of your workbook with the 25 or so sheets in it. Copy the one sheet that's in the workbook I provided into the copy of your property records workbook. Close the one-sheet workbook. Everything (code and all) is contained within the one worksheet. Set up the worksheet by entering the needed information into cells F1 and G1 - it needs to know the column identifier (as A or BA) that the Tax Bill Numbers are in on all the other sheets. That goes into F1. In G1 put the number of the first row on those sheets that the data starts in; i.e. first row with a Tax Bill #. Then just double-click on cell A1 and it'll do its thing. Only problem I see is if the total number of individual Tax Bill Numbers for all sheets is greater than 65535 (assuming you're using Excel 2000, XP or 2003). That would cause a failure that I haven't trapped for. What it will do: It will put all unique Tax Bill Numbers into column A of the MasterList sheet, and on each row, when it finds a sheet with a match to that number (and I actually assume it's a mix of numbers and letters) it will put the name of the sheet(s) that it found the Tax Bill Number on in the columns to the left of the number itself. So you can quickly see where a number is only referenced once, or where it is referenced on several sheets, and by just going to the end of the list, you'll know how many unique Tax Bill Numbers you have: 25*2500 = 62,500 so I'm hoping we have room: max rows in Excel 2003 is 65536 and we're using 1 of those already. When you do the double-click, nothing may appear to happen for a while. I've turned off screen updating to improve processing speed, so the worksheet will continue to look empty until it is completely finished. Also, examination of the Tax Bill Numbers in column A may show you the ones that either have a missing digit/character, or have too many. You could go to the indicated sheet and repair those and then run the whole thing again. If you run it a second (or 3rd or 4th) time, it will erase all of the referenced sheet entries, but will leave the Tax Bill Numbers in place. So the 2nd time thru you may get a few more rows, and those numbers you repaired will probably not have any sheet name reference next to them. If you want, you can select all of the data from row 2 all the way to the end, delete it and start over fresh at any time. "Ivan" wrote: I have approximately 2500 properties (address number, street name and tax bill number) and 25 sheets (each representing a different property developer). I need to determine if the same property has been allocated to more than one developer, that is whether an entry is repeated on more than one sheet or even the same sheet. I would also like to calculate exactly how many entries are in the entire workbook. Thanks, Ivan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
search/delete duplicate entries in excel '02? | Excel Worksheet Functions | |||
Printing text in a repeated cell/row that is longer than repeated | Excel Discussion (Misc queries) | |||
Identify repeated cell entries in multiple sheet workbook as you . | Excel Discussion (Misc queries) | |||
How do I search a mailing list spreadsheet to remove entries alre. | Excel Discussion (Misc queries) | |||
Filtering a column to exclude any repeated entries. | Excel Discussion (Misc queries) |