TropicalMagic
New Member
- Joined
- Jun 19, 2021
- Messages
- 47
- Office Version
- 365
- Platform
- Windows
Hi all,
I would like to:
Check if row value in Column AM = "APAC"
Check if row value in Column AR = "APAC"
Check if row value in Column AJ has partial string match containing "OFIA"
Check if row value in Column AJ has partial string match containing "Intra-Asia"
If all above conditions are true, return 1 in Column BM, else return 0 in Column BM.
However, my formula entered below is not returning any 1s, only 0s:
Range("BM2")
=IF(AND(AM2="APAC",AR2="APAC",COUNTIF(AJ2,"*OFIA*"),COUNTIF(AJ2,"*Intra-Asia*")),1,0)
Many thanks!
I would like to:
Check if row value in Column AM = "APAC"
Check if row value in Column AR = "APAC"
Check if row value in Column AJ has partial string match containing "OFIA"
Check if row value in Column AJ has partial string match containing "Intra-Asia"
If all above conditions are true, return 1 in Column BM, else return 0 in Column BM.
However, my formula entered below is not returning any 1s, only 0s:
Range("BM2")
=IF(AND(AM2="APAC",AR2="APAC",COUNTIF(AJ2,"*OFIA*"),COUNTIF(AJ2,"*Intra-Asia*")),1,0)
Many thanks!