kelz_dunks4life
New Member
- Joined
- Sep 13, 2014
- Messages
- 5
Good Morning All,
I was wondering if there's a way to take an Excel file that can be split into multiple files by multiple criteria. I tried searching the forum, but couldn't find anything [or maybe I missed it].
Please see the example below.
The file needs to be split into multiple workbooks by the 'PT_Name' that ONLY contains information from 'UC_BC' that is either 171, 172, 173, or174.
For instance:
DAILY CENSUS MASTER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E326-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$40,244.20[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E335-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$42,512.40[/TD]
[TD="align: right"]1[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E338-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/10/2014[/TD]
[TD="align: right"]2[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$10,687.25[/TD]
[TD]AE[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E344-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]7/11/2014[/TD]
[TD="align: right"]63[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]7/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$784,728.79[/TD]
[TD]E[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E340-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]37[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]9/13/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$463,681.65[/TD]
[TD="align: right"]12[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E336-A[/TD]
[TD="align: right"]172[/TD]
[TD]J[/TD]
[TD="align: right"]9/11/2014[/TD]
[TD="align: right"]1[/TD]
[TD]TWO,PLAYER[/TD]
[TD][/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$2,964.25[/TD]
[TD]UH[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E343-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$28,745.45[/TD]
[TD]KA[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E325-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/7/2014[/TD]
[TD="align: right"]5[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$37,135.10[/TD]
[TD="align: right"]11[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E342-A[/TD]
[TD="align: right"]174[/TD]
[TD]K[/TD]
[TD="align: right"]8/15/2014[/TD]
[TD="align: right"]28[/TD]
[TD]FOUR, PLAYER[/TD]
[TD="align: right"]8/19/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$279,051.21[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
And split certain contents into multiple files saved by the PT Name:
ONE,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E344-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]7/11/2014[/TD]
[TD="align: right"]63[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]7/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$784,728.79[/TD]
[TD]E[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E340-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]37[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]9/13/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$463,681.65[/TD]
[TD="align: right"]12[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
[/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]
[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]
TWO,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E336-A[/TD]
[TD="align: right"]172[/TD]
[TD]J[/TD]
[TD="align: right"]9/11/2014[/TD]
[TD="align: right"]1[/TD]
[TD]TWO,PLAYER[/TD]
[TD][/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$2,964.25[/TD]
[TD]UH[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
THREE,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E343-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$28,745.45[/TD]
[TD]KA[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E325-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/7/2014[/TD]
[TD="align: right"]5[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$37,135.10[/TD]
[TD="align: right"]11[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[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][/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]
FOUR,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E342-A[/TD]
[TD="align: right"]174[/TD]
[TD]K[/TD]
[TD="align: right"]8/15/2014[/TD]
[TD="align: right"]28[/TD]
[TD]FOUR, PLAYER[/TD]
[TD="align: right"]8/19/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$279,051.21[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
Is this something possible? I've suggested using a Pivot Table, but I'd rather find out from any of you if this is something that cannot be done. I hope I was clear and I appreciate your help.
Kels
I was wondering if there's a way to take an Excel file that can be split into multiple files by multiple criteria. I tried searching the forum, but couldn't find anything [or maybe I missed it].
Please see the example below.
The file needs to be split into multiple workbooks by the 'PT_Name' that ONLY contains information from 'UC_BC' that is either 171, 172, 173, or174.
For instance:
DAILY CENSUS MASTER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E326-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$40,244.20[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E335-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$42,512.40[/TD]
[TD="align: right"]1[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E338-A[/TD]
[TD="align: right"]123[/TD]
[TD]K[/TD]
[TD="align: right"]9/10/2014[/TD]
[TD="align: right"]2[/TD]
[TD]COUNT, DOES NOT[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$10,687.25[/TD]
[TD]AE[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E344-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]7/11/2014[/TD]
[TD="align: right"]63[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]7/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$784,728.79[/TD]
[TD]E[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E340-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]37[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]9/13/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$463,681.65[/TD]
[TD="align: right"]12[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E336-A[/TD]
[TD="align: right"]172[/TD]
[TD]J[/TD]
[TD="align: right"]9/11/2014[/TD]
[TD="align: right"]1[/TD]
[TD]TWO,PLAYER[/TD]
[TD][/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$2,964.25[/TD]
[TD]UH[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E343-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$28,745.45[/TD]
[TD]KA[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E325-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/7/2014[/TD]
[TD="align: right"]5[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$37,135.10[/TD]
[TD="align: right"]11[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E342-A[/TD]
[TD="align: right"]174[/TD]
[TD]K[/TD]
[TD="align: right"]8/15/2014[/TD]
[TD="align: right"]28[/TD]
[TD]FOUR, PLAYER[/TD]
[TD="align: right"]8/19/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$279,051.21[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
And split certain contents into multiple files saved by the PT Name:
- PT Name that only contains UB_CD as 171, 172, 173, and 174
ONE,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD][TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E344-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]7/11/2014[/TD]
[TD="align: right"]63[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]7/15/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$784,728.79[/TD]
[TD]E[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E340-A[/TD]
[TD="align: right"]171[/TD]
[TD]K[/TD]
[TD="align: right"]8/6/2014[/TD]
[TD="align: right"]37[/TD]
[TD]ONE, PLAYER[/TD]
[TD="align: right"]9/13/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$463,681.65[/TD]
[TD="align: right"]12[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
[/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]
[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]
TWO,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E336-A[/TD]
[TD="align: right"]172[/TD]
[TD]J[/TD]
[TD="align: right"]9/11/2014[/TD]
[TD="align: right"]1[/TD]
[TD]TWO,PLAYER[/TD]
[TD][/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$2,964.25[/TD]
[TD]UH[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
THREE,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E343-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/8/2014[/TD]
[TD="align: right"]4[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/9/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$28,745.45[/TD]
[TD]KA[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E325-A[/TD]
[TD="align: right"]173[/TD]
[TD]K[/TD]
[TD="align: right"]9/7/2014[/TD]
[TD="align: right"]5[/TD]
[TD]THREE,PLAYER[/TD]
[TD="align: right"]9/12/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$37,135.10[/TD]
[TD="align: right"]11[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[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][/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]
FOUR,PLAYER.XLS
[TABLE="width: 3053"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="5"><col><col><col><col><col><col><col><col><col><col span="2"><col><col></colgroup><tbody>[TR]
[TD]DT OF SVC[/TD]
[TD]STN[/TD]
[TD]RM/BED[/TD]
[TD]UB_CD[/TD]
[TD]CUR AC[/TD]
[TD]ADM DT[/TD]
[TD]LOS[/TD]
[TD]PT NAME[/TD]
[TD]NXT REV|DATE[/TD]
[TD]MRN[/TD]
[TD]ACCT#[/TD]
[TD]DOB[/TD]
[TD]SEX[/TD]
[TD]AGE[/TD]
[TD]ADM DX[/TD]
[TD]SVC[/TD]
[TD]TYPE[/TD]
[TD]ATTEND MD[/TD]
[TD]TOTAL CHGS[/TD]
[TD]FC[/TD]
[TD]INS1[/TD]
[TD]POLICY#1[/TD]
[TD]APPROVAL#1[/TD]
[TD]INS2[/TD]
[TD]POLICY#2[/TD]
[TD]APPROVAL#2[/TD]
[TD]INS3[/TD]
[TD]POLICY#3[/TD]
[TD]APPROVAL#3[/TD]
[TD]TOT|DAYS[/TD]
[/TR]
[TR]
[TD="align: right"]9/12/2014[/TD]
[TD]3E[/TD]
[TD]E342-A[/TD]
[TD="align: right"]174[/TD]
[TD]K[/TD]
[TD="align: right"]8/15/2014[/TD]
[TD="align: right"]28[/TD]
[TD]FOUR, PLAYER[/TD]
[TD="align: right"]8/19/2014[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD="align: right"]9999999[/TD]
[TD]NIC[/TD]
[TD]IP[/TD]
[TD]KELZ_DUNKS4LIFE[/TD]
[TD="align: right"]$279,051.21[/TD]
[TD]HS[/TD]
[TD]XYZ[/TD]
[TD="align: right"]123456789[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
Is this something possible? I've suggested using a Pivot Table, but I'd rather find out from any of you if this is something that cannot be done. I hope I was clear and I appreciate your help.
Kels