I am looking for a couple of formulas that will return a MAX and MIN value from a Alpha-numeric column with criteria. This is what I am looking at:
[TABLE="width: 221"]
<TBODY>[TR]
[TD]No.</SPAN>[/TD]
[TD]Tag No</SPAN>[/TD]
[TD]Type</SPAN>[/TD]
[/TR]
[TR]
[TD]1</SPAN>[/TD]
[TD]A001678</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]2</SPAN>[/TD]
[TD]A001679</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]3</SPAN>[/TD]
[TD]A001680</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]4</SPAN>[/TD]
[TD]A001681</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]5</SPAN>[/TD]
[TD]A001682</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]6</SPAN>[/TD]
[TD]A001683</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]7</SPAN>[/TD]
[TD]A001684</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]8</SPAN>[/TD]
[TD]A001685</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]9</SPAN>[/TD]
[TD]A001686</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]10</SPAN>[/TD]
[TD]A001687</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]11</SPAN>[/TD]
[TD]A001688</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]12</SPAN>[/TD]
[TD]A001689</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]13</SPAN>[/TD]
[TD]A001690</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]14</SPAN>[/TD]
[TD]A001691</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]15</SPAN>[/TD]
[TD]A001692</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]16</SPAN>[/TD]
[TD]A001693</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]17</SPAN>[/TD]
[TD]A001694</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]18</SPAN>[/TD]
[TD]A001695</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]19</SPAN>[/TD]
[TD]A001696</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]20</SPAN>[/TD]
[TD]A001697</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
I am wanting to look for "S" in the "TYPE" column, and then have MAX and MIN formula's look for the MAX and MIN values in the "Tag No" column. I can get the number to display, but I would like to have the MAX and MIN values displayed as "A00####".
Any help would be appreciated.
Thanks.
[TABLE="width: 221"]
<TBODY>[TR]
[TD]No.</SPAN>[/TD]
[TD]Tag No</SPAN>[/TD]
[TD]Type</SPAN>[/TD]
[/TR]
[TR]
[TD]1</SPAN>[/TD]
[TD]A001678</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]2</SPAN>[/TD]
[TD]A001679</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]3</SPAN>[/TD]
[TD]A001680</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]4</SPAN>[/TD]
[TD]A001681</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]5</SPAN>[/TD]
[TD]A001682</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]6</SPAN>[/TD]
[TD]A001683</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]7</SPAN>[/TD]
[TD]A001684</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]8</SPAN>[/TD]
[TD]A001685</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]9</SPAN>[/TD]
[TD]A001686</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]10</SPAN>[/TD]
[TD]A001687</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]11</SPAN>[/TD]
[TD]A001688</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]12</SPAN>[/TD]
[TD]A001689</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]13</SPAN>[/TD]
[TD]A001690</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]14</SPAN>[/TD]
[TD]A001691</SPAN>[/TD]
[TD]P</SPAN>[/TD]
[/TR]
[TR]
[TD]15</SPAN>[/TD]
[TD]A001692</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]16</SPAN>[/TD]
[TD]A001693</SPAN>[/TD]
[TD]E</SPAN>[/TD]
[/TR]
[TR]
[TD]17</SPAN>[/TD]
[TD]A001694</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]18</SPAN>[/TD]
[TD]A001695</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]19</SPAN>[/TD]
[TD]A001696</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
[TR]
[TD]20</SPAN>[/TD]
[TD]A001697</SPAN>[/TD]
[TD]S</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>[/TABLE]
I am wanting to look for "S" in the "TYPE" column, and then have MAX and MIN formula's look for the MAX and MIN values in the "Tag No" column. I can get the number to display, but I would like to have the MAX and MIN values displayed as "A00####".
Any help would be appreciated.
Thanks.