Ajmal Khursand
New Member
- Joined
- Nov 28, 2021
- Messages
- 2
- Office Version
- 2016
- Platform
- Windows
Hi MrExcel team,
I want to get USD value or AFN value from following different types of accounts Using IF, AND & OR functions however, it didn't work properly for some accounts result was OK but for all not hence kindly assist me which formula to use?
Note: in accounts starting with 1 if value number 7 is 1 its AFN account and if value number 7 is 2 its USD account, however, accounts starting with I & C if Value number 6 is 1 its AFN and if Value number 6 is 2 its USD.
I want to get USD value or AFN value from following different types of accounts Using IF, AND & OR functions however, it didn't work properly for some accounts result was OK but for all not hence kindly assist me which formula to use?
Note: in accounts starting with 1 if value number 7 is 1 its AFN account and if value number 7 is 2 its USD account, however, accounts starting with I & C if Value number 6 is 1 its AFN and if Value number 6 is 2 its USD.
ACC | Currency |
10029111xxxxx | AFN |
10029121xxxxx | USD |
10029911xxxxx | AFN |
10029921xxxxx | AFN |
1002512xxxxxx | USD |
1003511xxxxxx | AFN |
I02911xxxxxxx | AFN |
I02912xxxxxxx | USD |
I02921xxxxxxx | AFN |
I02991xxxxxxx | AFN |
I14992xxxxxxx | USD |
C02511xxxxxxx | AFN |
C02512xxxxxxx | USD |
C02591xxxxxxx | AFN |
C09592xxxxxxx | USD |
C02601xxxxxxx | AFN |
C14611xxxxxxx | AFN |
C02612xxxxxxx | USD |