tlc53
Active Member
- Joined
- Jul 26, 2018
- Messages
- 399
Hi there,
Can anyone see where I am going wrong please?
Basically, if N80 is >0 return "Enter Capital Gain XPA Code" if N80 is <0 return "Enter Capital Loss XPA Code"
Once the code is entered, I want the "Enter" to be removed from the description so,
If N80>0 and N84>0 return "Capital Gain XPA Code" if N80<0 and N84>0 return "Capital Loss XPA Code".
Here's a couple of my attempts so far, but they may just confuse you
=IF(N80>0,"Enter Capital Gain XPA Code:","Enter Capital Loss XPA Code:"),IF(AND(N80>0,N84>0,),"Capital Gain XPA Code:","Capital Loss XPA Code:")))
=IF(N80>0,"Enter Capital Gain XPA Code:","Enter Capital Loss XPA Code:"),IF(AND(N80>0,N84>0,),"Capital Gain XPA Code:",,)if(and(N80<0,N84<0),"Capital Loss XPA Code:",)))
Thank you!
Can anyone see where I am going wrong please?
Basically, if N80 is >0 return "Enter Capital Gain XPA Code" if N80 is <0 return "Enter Capital Loss XPA Code"
Once the code is entered, I want the "Enter" to be removed from the description so,
If N80>0 and N84>0 return "Capital Gain XPA Code" if N80<0 and N84>0 return "Capital Loss XPA Code".
Here's a couple of my attempts so far, but they may just confuse you
=IF(N80>0,"Enter Capital Gain XPA Code:","Enter Capital Loss XPA Code:"),IF(AND(N80>0,N84>0,),"Capital Gain XPA Code:","Capital Loss XPA Code:")))
=IF(N80>0,"Enter Capital Gain XPA Code:","Enter Capital Loss XPA Code:"),IF(AND(N80>0,N84>0,),"Capital Gain XPA Code:",,)if(and(N80<0,N84<0),"Capital Loss XPA Code:",)))
Thank you!