Please help with three different formulas.
1. Test Plan tab, Cell E4 "POS" - Look for the Max date on the General tab (Column L "Fee Effective Date" should be 4/1/2017), If there is a P2 in Column O of the General tab ("Note Code 1") then enter 12, if not enter at random 11 or 22 in cell E4 on the Test Plan tab
2. Test Plan tab, Cell C4 "Procedure Code" - Look for the Max date on the General tab Column L, if the POS on the Test Plan tab equals 12 and Column O of the General tab equals P2, Test Plan tab Cell G4 "FRM Age" equals Column F "Frm" on the General tab, Test Plan tab Cell H4 "Thru Age" equals Colum G "Thru" on the General tab, then enter at random a Procedure code from Column C on the General tab in cell C4 on the Test Plan Tab
Look for the Max date on the General tab Column L, If the POS on the Test Plan tab equals 11, Test Plan tab Cell G4 "FRM Age" equals Column F "Frm" on the General tab, Test Plan tab Cell H4 "Thru Age" equals Colum G "Thru" on the General tab, then enter at random a Procedure code from Column C on the General tab in cell C4 on the Test Plan Tab
Look for the Max date on the General tab Column U, If the POS on the Test Plan tab equals 12, and Test Plan tab Cell G4 "FRM Age" equals Column F "Frm" on the General tab, and Test Plan tab Cell H4 "Thru Age" equals Colum G "Thru" on the General tab, then enter at random a Procedure code from Column C on the General tab in cell C4 on the Test Plan Tab
3. Test Plan tab, Cell D4 "Modifier" - IF the POS on the template tab is either 11 or 12, Look for the Max date on the General tab Column L, if Procedure Code Cell C4 equals General Tab Column C, Test Plan tab Cell G4 "FRM Age" equals Column F "Frm" on the General tab, and Test Plan tab Cell H4 "Thru Age" equals Colum G "Thru" on the General tab, then enter at random a Modifier code from Column D on the General tab in cell D4 on the Test Plan Tab
IF the POS on the template tab is 22, Look for the Max date on the General tab Column U, if Procedure Code Cell C4 equals General Tab Column C, Test Plan tab Cell G4 "FRM Age" equals Column F "Frm" on the General tab, and Test Plan tab Cell H4 "Thru Age" equals Colum G "Thru" on the General tab, then enter at random a Modifier code from Column D on the General tab in cell D4 on the Test Plan Tab
I am definitely open to suggestions and simplification. Thanks in advance for your support.
Sherline
Bookmarks