Hello all,
https://onedrive.live.com/redir?resid=5124B6B7FA7D175A!158&authkey=!AEwHE5Qph62FiCQ&ithint=folder,
Here is what I am trying to do. I am working with two books (Book1.xlsx and Book2.xlsx, see link above to download the books). In column H of Book2.xlsx I need to display the following text (no er charge, no er porc charge and biller to rebill) base on test below.
test 1 (1st logical test)
if the customer id in Book2.xlsx matches the customer id in Book1.xlsx then do test3.
test2 (what to do if no match found)
if there is no match found then display text "no er charge".
test3 (what to do if customer id matched)
if the test1 result is true than test to see if their is a matching cpt number also match. for example, when excel is looking for customer id #6 from Book2.xlsx matches with customer id in Book1.xlsx excel than checks to see if any of the values in E7, F7, G7, H7 match with values in D12. ***note the cpt cells excel compares has to be of the two matching customer id and not the others.*** for example, the customer id #6 is found in both Book1.xlsx and Book2.xlsx but the cpt in cells E7, F7, G7, H7 of Book2.xlsx do not match cpt D12 in Book1.xlsx than show text "No ER proc Charge" and if the customer id along with cpt code match than show text "Biller to rebill".
P.S. if there is no cpt number in Book1.xlsx than the related field in Book2.xlsx should show text "no er charge".
I want to thank everyone in advance for helping. Have a nice day
https://onedrive.live.com/redir?resid=5124B6B7FA7D175A!158&authkey=!AEwHE5Qph62FiCQ&ithint=folder,
Here is what I am trying to do. I am working with two books (Book1.xlsx and Book2.xlsx, see link above to download the books). In column H of Book2.xlsx I need to display the following text (no er charge, no er porc charge and biller to rebill) base on test below.
test 1 (1st logical test)
if the customer id in Book2.xlsx matches the customer id in Book1.xlsx then do test3.
test2 (what to do if no match found)
if there is no match found then display text "no er charge".
test3 (what to do if customer id matched)
if the test1 result is true than test to see if their is a matching cpt number also match. for example, when excel is looking for customer id #6 from Book2.xlsx matches with customer id in Book1.xlsx excel than checks to see if any of the values in E7, F7, G7, H7 match with values in D12. ***note the cpt cells excel compares has to be of the two matching customer id and not the others.*** for example, the customer id #6 is found in both Book1.xlsx and Book2.xlsx but the cpt in cells E7, F7, G7, H7 of Book2.xlsx do not match cpt D12 in Book1.xlsx than show text "No ER proc Charge" and if the customer id along with cpt code match than show text "Biller to rebill".
P.S. if there is no cpt number in Book1.xlsx than the related field in Book2.xlsx should show text "no er charge".
I want to thank everyone in advance for helping. Have a nice day