Dynamic Calendar

David20

New Member
Joined
May 7, 2009
Messages
47
I'm trying to track a constantly changing list of orders/shipment dates. I can import the basic information into Excel with Column A as the date and Column B the order number, then sorted by date.

What I would like to do is have a macro that will find the first and last dates, create a calendar for that time frame, and then populate the calendar with the order numbers on the appropriate date.

I'm using 2007 but am a VBA novice. Any help would be greatly appreciated.
 

Bradium

Board Regular
Joined
Oct 8, 2008
Messages
129
Here is an advanced filter example that may help you.
To use this example you must type all the headings in the cells shown.


Sub MyDates()


Range("E2:F14").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"H2:H3"), CopyToRange:=Range("H5"), Unique:=False

Range("E2:F14").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"i2:i3"), CopyToRange:=Range("i5"), Unique:=False

Range("E2:F14").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"j2:j3"), CopyToRange:=Range("j5"), Unique:=False

Range("E2:F14").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"k2:k3"), CopyToRange:=Range("k5"), Unique:=False


End Sub




<table style="padding-right: 2pt; padding-left: 2pt; font-size: 10pt; font-family: Arial,Arial; background-color: rgb(255, 255, 255); width: 351px; height: 286px;" 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>D</td> <td>E</td> <td>F</td> <td>G</td> <td>H</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">1</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: center;">26-Feb</td> <td style="text-align: center;">0</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">2</td> <td>
</td> <td>Date</td> <td>Item</td> <td>
</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td>
</td></tr> <tr style="height: 15px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">3</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">a</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">1-Mar</td> <td style="font-size: 8pt;">
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">4</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">b</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">5</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">c</td> <td>
</td> <td>Item</td> <td>Item</td> <td>Item</td> <td>Item</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">6</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">1-Mar</td> <td style="font-size: 8pt; text-align: center;">d</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">b</td> <td style="font-size: 8pt; text-align: center;">3</td> <td style="font-size: 8pt; text-align: center;">a</td> <td style="font-size: 8pt; text-align: center;">d</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">7</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">fe</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">c</td> <td style="font-size: 8pt; text-align: center;">4</td> <td style="font-size: 8pt; text-align: center;">1</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">8</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">g</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">fe</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">2</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">9</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">t</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">g</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">6</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">10</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">1</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">t</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">11</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">3</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">12</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">13</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">4</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">14</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">6</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">15</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr></tbody></table>
<table style="font-size: 10pt; border-color: rgb(0, 255, 0); color: rgb(0, 0, 0); border-style: groove; font-family: Arial; background-color: rgb(255, 252, 249);"> <tbody> <tr> <td>Spreadsheet Formulas</td></tr> <tr> <td> <table style="font-size: 9pt; font-family: Arial;" border="1" cellpadding="2" cellspacing="0"> <tbody> <tr style="font-size: 10pt; background-color: rgb(202, 202, 202);"> <td>Cell</td> <td>Formula</td></tr> <tr> <td>H1</td> <td>=MIN(E3:E14)</td></tr> <tr> <td>H3</td> <td>=H1+$I$1</td></tr> <tr> <td>I3</td> <td>=H3+1</td></tr> <tr> <td>J3</td> <td>=I3+1</td></tr> <tr> <td>K3</td> <td>=J3+1</td></tr></tbody></table></td></tr></tbody></table>

Excel tables to the web >> Excel Jeanie HTML 4
 

David20

New Member
Joined
May 7, 2009
Messages
47
Thanks, Bradium. Your macro works exactly like you described. Do you know of a way to get the results in a layout like a standard monthly calendar?
 

Bradium

Board Regular
Joined
Oct 8, 2008
Messages
129
Here is an example on how to display the result of your filters in a Calendar format.

Sheet1

<table style="padding-right: 2pt; padding-left: 2pt; font-size: 10pt; font-family: Arial,Arial; background-color: rgb(255, 255, 255);" border="1" cellpadding="0" cellspacing="0"> <colgroup> <col style="font-weight: bold; width: 30px;"> <col style="width: 13px;"> <col style="width: 13px;"> <col style="width: 13px;"> <col style="width: 26px;"> <col style="width: 50px;"> <col style="width: 42px;"> <col style="width: 42px;"> <col style="width: 47px;"> <col style="width: 44px;"> <col style="width: 44px;"> <col style="width: 44px;"> <col style="width: 44px;"> <col style="width: 99px;"> <col style="width: 98px;"> <col style="width: 44px;"> <col style="width: 44px;"></colgroup> <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> <td>F</td> <td>G</td> <td>H</td> <td>I</td> <td>J</td> <td>K</td> <td>L</td> <td>M</td> <td>N</td> <td>O</td> <td>P</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">1</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: center;">26-Feb</td> <td style="text-align: center;">
</td> <td>
</td> <td>
</td> <td>
</td> <td>Dynamic Calendar Dates Based on data</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;">2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>Date</td> <td>Item</td> <td>
</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td style="text-align: center;">Date</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 16px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">3</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">a</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">1-Mar</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt; background-color: rgb(192, 192, 192); text-align: left;">26-Feb</td> <td style="font-size: 8pt; background-color: rgb(192, 192, 192); text-align: left;">27-Feb</td> <td style="font-size: 8pt;">
</td> <td style="font-size: 8pt;">
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">4</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">b</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">b</td> <td style="text-align: left;">3</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">5</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">c</td> <td>
</td> <td>Item</td> <td>Item</td> <td>Item</td> <td>Item</td> <td>
</td> <td style="text-align: left;">c</td> <td style="text-align: left;">4</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">6</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">1-Mar</td> <td style="font-size: 8pt; text-align: center;">d</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">b</td> <td style="font-size: 8pt; text-align: center;">3</td> <td style="font-size: 8pt; text-align: center;">a</td> <td style="font-size: 8pt; text-align: center;">d</td> <td>
</td> <td style="text-align: left;">fe</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">7</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">fe</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">c</td> <td style="font-size: 8pt; text-align: center;">4</td> <td style="font-size: 8pt; text-align: center;">1</td> <td>
</td> <td>
</td> <td style="text-align: left;">g</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</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>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">g</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">fe</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">2</td> <td>
</td> <td>
</td> <td style="text-align: left;">t</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">9</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">26-Feb</td> <td style="font-size: 8pt; text-align: center;">t</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">g</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">6</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">10</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">1</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">t</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td>
</td> <td>For Fixed Dates on your Calendar</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;">11</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">3</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td style="font-size: 8pt;">
</td> <td>
</td> <td>
</td> <td>
</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;">12</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; background-color: rgb(192, 192, 192); text-align: left;">28-Feb</td> <td style="font-size: 8pt; background-color: rgb(192, 192, 192); text-align: left;">1-Mar</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">13</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">27-Feb</td> <td style="font-size: 8pt; text-align: center;">4</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">a</td> <td style="text-align: left;">d</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">14</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="font-size: 8pt; text-align: center;">28-Feb</td> <td style="font-size: 8pt; text-align: center;">6</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">1</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">15</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">2</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">16</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">6</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 18px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">17</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td style="text-align: left;">
</td> <td style="text-align: left;">
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">18</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">19</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>Zero values are unchecked in options</td> <td>
</td> <td>
</td> <td>
</td></tr> <tr style="height: 17px;"> <td style="font-size: 8pt; background-color: rgb(202, 202, 202); text-align: center;">20</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td></tr></tbody></table>
<table style="font-size: 10pt; border-color: rgb(0, 255, 0); color: rgb(0, 0, 0); border-style: groove; font-family: Arial; background-color: rgb(255, 252, 249);"> <tbody> <tr> <td>Spreadsheet Formulas</td></tr> <tr> <td> <table style="font-size: 9pt; font-family: Arial;" border="1" cellpadding="2" cellspacing="0"> <tbody> <tr style="font-size: 10pt; background-color: rgb(202, 202, 202);"> <td>Cell</td> <td>Formula</td></tr> <tr> <td>H1</td> <td>=MIN(E3:E14)</td></tr> <tr> <td>H3</td> <td>=H1+$I$1</td></tr> <tr> <td>I3</td> <td>=H3+1</td></tr> <tr> <td>J3</td> <td>=I3+1</td></tr> <tr> <td>K3</td> <td>=J3+1</td></tr> <tr> <td>M3</td> <td>=H3</td></tr> <tr> <td>N3</td> <td>=I3</td></tr> <tr> <td>M4</td> <td>=H6</td></tr> <tr> <td>N4</td> <td>=I6</td></tr> <tr> <td>M5</td> <td>=H7</td></tr> <tr> <td>N5</td> <td>=I7</td></tr> <tr> <td>M6</td> <td>=H8</td></tr> <tr> <td>N6</td> <td>=I8</td></tr> <tr> <td>M7</td> <td>=H9</td></tr> <tr> <td>N7</td> <td>=I9</td></tr> <tr> <td>M8</td> <td>=H10</td></tr> <tr> <td>N8</td> <td>=I10</td></tr> <tr> <td>M13</td> <td>=IF(ISERROR(HLOOKUP(M$12,$H$3:$K$14,ROW(A4),FALSE)),"",HLOOKUP(M$12,$H$3:$K$14,ROW(A4),FALSE))</td></tr> <tr> <td>N13</td> <td>=IF(ISERROR(HLOOKUP(N$12,$H$3:$K$14,ROW(B4),FALSE)),"",HLOOKUP(N$12,$H$3:$K$14,ROW(B4),FALSE))</td></tr> <tr> <td>M14</td> <td>=IF(ISERROR(HLOOKUP(M$12,$H$3:$K$14,ROW(A5),FALSE)),"",HLOOKUP(M$12,$H$3:$K$14,ROW(A5),FALSE))</td></tr> <tr> <td>N14</td> <td>=IF(ISERROR(HLOOKUP(N$12,$H$3:$K$14,ROW(B5),FALSE)),"",HLOOKUP(N$12,$H$3:$K$14,ROW(B5),FALSE))</td></tr> <tr> <td>M15</td> <td>=IF(ISERROR(HLOOKUP(M$12,$H$3:$K$14,ROW(A6),FALSE)),"",HLOOKUP(M$12,$H$3:$K$14,ROW(A6),FALSE))</td></tr> <tr> <td>N15</td> <td>=IF(ISERROR(HLOOKUP(N$12,$H$3:$K$14,ROW(B6),FALSE)),"",HLOOKUP(N$12,$H$3:$K$14,ROW(B6),FALSE))</td></tr> <tr> <td>M16</td> <td>=IF(ISERROR(HLOOKUP(M$12,$H$3:$K$14,ROW(A7),FALSE)),"",HLOOKUP(M$12,$H$3:$K$14,ROW(A7),FALSE))</td></tr> <tr> <td>N16</td> <td>=IF(ISERROR(HLOOKUP(N$12,$H$3:$K$14,ROW(B7),FALSE)),"",HLOOKUP(N$12,$H$3:$K$14,ROW(B7),FALSE))</td></tr> <tr> <td>M17</td> <td>=IF(ISERROR(HLOOKUP(M$12,$H$3:$K$14,ROW(A8),FALSE)),"",HLOOKUP(M$12,$H$3:$K$14,ROW(A8),FALSE))</td></tr> <tr> <td>N17</td> <td>=IF(ISERROR(HLOOKUP(N$12,$H$3:$K$14,ROW(B8),FALSE)),"",HLOOKUP(N$12,$H$3:$K$14,ROW(B8),FALSE))</td></tr></tbody></table></td></tr></tbody></table>

Excel tables to the web >> Excel Jeanie HTML 4
 

Forum statistics

Threads
1,081,556
Messages
5,359,547
Members
400,533
Latest member
fpenning

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top