I'm been working on a nested formula, with the other parts working but after a week I've worked out my problem is here and it still gives me #Value . After a full day trying several solutions I'm about to 'scream'.
if anyone can help I'll incorporate it into my final formula.
Code:
=IF(OR(AND(AG18="bank",COUNTIF(command.banktype,AN18)>0),AND(AG18="credit",COUNTIF(command.credittype,AN18)>0),AND(AG18="debt",COUNTIF(command.debttype,AN18)>0),AND(AG18="merchant",COUNTIF(command.merchanttype,AN18)>0)),D18&" ( "&AG18&" : "&AN18&" )","wrong type"),IF(AND(OR(AG18="bank",AG18="credit",AG18="debt"),S18>0),D18&" - "&S18&" ( "&AG18&" : "&AN18&" )","needs an account id.")
if anyone can help I'll incorporate it into my final formula.