stanleytheyak
Board Regular
- Joined
- Oct 10, 2008
- Messages
- 124
Ok, the title is a little wordy, but here's what I'm trying to do. I get an inventory report every day that gives me a 5 digit code for items that are out of stock.
I'd like to set up a spreadsheet that will look through 3 weeks worth of data (one column for each day) and alert me any time I am out of stock of one particular item for 3 days or more. The problem I'm running into is that I don't have a master list of all of the 5 digit codes to compare against. Also, the list is different every day, depending on what is in or out of stock. The spreadsheet I've created looks like this:
<table style="padding-right: 2pt; padding-left: 2pt; font-size: 11pt; font-family: Calibri,Arial; background-color: rgb(255, 255, 255);" border="1" cellpadding="0" cellspacing="0"><tbody> <tr style="font-weight: bold; font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;"> <td> </td> <td>A</td> <td>B</td> <td>C</td> <td>D</td> <td>E</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">1</td> <td>Outage Flag</td> <td style="text-align: right;">7/19/2009</td> <td style="text-align: right;">7/20/2009</td> <td style="text-align: right;">7/21/2009</td> <td style="text-align: right;">7/22/2009</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">2</td> <td> </td> <td style="text-align: right;">12345</td> <td style="text-align: right;">23456</td> <td style="text-align: right;">45678</td> <td style="text-align: right;">12345</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">3</td> <td> </td> <td style="text-align: right;">23456</td> <td style="text-align: right;">56789</td> <td style="text-align: right;">56789</td> <td style="text-align: right;">23456</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">4</td> <td> </td> <td style="text-align: right;">34567</td> <td style="text-align: right;">89123</td> <td style="text-align: right;">91234</td> <td style="text-align: right;">91234</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">5</td> <td> </td> <td style="text-align: right;">45678</td> <td style="text-align: right;">91234</td> <td> </td> <td style="text-align: right;">56789</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">6</td> <td> </td> <td style="text-align: right;">56789</td> <td> </td> <td> </td> <td style="text-align: right;">45678</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">7</td> <td> </td> <td style="text-align: right;">67891</td> <td> </td> <td> </td> <td style="text-align: right;">67891</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">8</td> <td> </td> <td style="text-align: right;">78912</td> <td> </td> <td> </td> <td> </td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">9</td> <td> </td> <td style="text-align: right;">89123</td> <td> </td> <td> </td> <td> </td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">10</td> <td> </td> <td style="text-align: right;">91234</td> <td> </td> <td> </td> <td> </td></tr></tbody></table>
I'd like the first column to return the item numbers for items that have been out for 3 days or more in the three week period.
Any suggestions? I'm at a loss...
I'd like to set up a spreadsheet that will look through 3 weeks worth of data (one column for each day) and alert me any time I am out of stock of one particular item for 3 days or more. The problem I'm running into is that I don't have a master list of all of the 5 digit codes to compare against. Also, the list is different every day, depending on what is in or out of stock. The spreadsheet I've created looks like this:
<table style="padding-right: 2pt; padding-left: 2pt; font-size: 11pt; font-family: Calibri,Arial; background-color: rgb(255, 255, 255);" border="1" cellpadding="0" cellspacing="0"><tbody> <tr style="font-weight: bold; font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;"> <td> </td> <td>A</td> <td>B</td> <td>C</td> <td>D</td> <td>E</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">1</td> <td>Outage Flag</td> <td style="text-align: right;">7/19/2009</td> <td style="text-align: right;">7/20/2009</td> <td style="text-align: right;">7/21/2009</td> <td style="text-align: right;">7/22/2009</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">2</td> <td> </td> <td style="text-align: right;">12345</td> <td style="text-align: right;">23456</td> <td style="text-align: right;">45678</td> <td style="text-align: right;">12345</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">3</td> <td> </td> <td style="text-align: right;">23456</td> <td style="text-align: right;">56789</td> <td style="text-align: right;">56789</td> <td style="text-align: right;">23456</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">4</td> <td> </td> <td style="text-align: right;">34567</td> <td style="text-align: right;">89123</td> <td style="text-align: right;">91234</td> <td style="text-align: right;">91234</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">5</td> <td> </td> <td style="text-align: right;">45678</td> <td style="text-align: right;">91234</td> <td> </td> <td style="text-align: right;">56789</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">6</td> <td> </td> <td style="text-align: right;">56789</td> <td> </td> <td> </td> <td style="text-align: right;">45678</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">7</td> <td> </td> <td style="text-align: right;">67891</td> <td> </td> <td> </td> <td style="text-align: right;">67891</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">8</td> <td> </td> <td style="text-align: right;">78912</td> <td> </td> <td> </td> <td> </td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">9</td> <td> </td> <td style="text-align: right;">89123</td> <td> </td> <td> </td> <td> </td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">10</td> <td> </td> <td style="text-align: right;">91234</td> <td> </td> <td> </td> <td> </td></tr></tbody></table>
I'd like the first column to return the item numbers for items that have been out for 3 days or more in the three week period.
Any suggestions? I'm at a loss...