tlc53
Active Member
- Joined
- Jul 26, 2018
- Messages
- 399
Hi there,
=IF(AND(OR($D$8="Trust - Business",$D$8="Company"),$F$47>0),"494"),IF($F$47>0,"465/"&LEFT($D$28,3),)
So if D8 = "Trust - Business" or "Company" and F47 >0, return "494", but if it doesn't equal "Trust - Business" or "Company" and F47 >0 return "465/" and then first 3 characters of D28. If F47 is not more than zero, return blank.
I can kind of see where I'm going wrong but not sure how to fix it. If F47>0 then both statements are true.
Can someone shed some light please? Thank you
=IF(AND(OR($D$8="Trust - Business",$D$8="Company"),$F$47>0),"494"),IF($F$47>0,"465/"&LEFT($D$28,3),)
So if D8 = "Trust - Business" or "Company" and F47 >0, return "494", but if it doesn't equal "Trust - Business" or "Company" and F47 >0 return "465/" and then first 3 characters of D28. If F47 is not more than zero, return blank.
I can kind of see where I'm going wrong but not sure how to fix it. If F47>0 then both statements are true.
Can someone shed some light please? Thank you