Function error

N

nc

The below formula works, but when I add TRIM( at the * and, ) at **, I get
the message "The formula you typed contains an error." Please help.

=IF(AND(ISBLANK('Paste USAL Cheque Data - temp'!B9),ISBLANK('Paste USAL
Cheque Data - temp'!B8)),"",IF(MID(TRIM('Paste USAL Cheque Data -
temp'!C9),1,1)="F",TRIM(PROPER(VLOOKUP(L2,'Debtor
Names'!$A$2:$B$65536,2,FALSE))),IF(MID(TRIM('Paste USAL Cheque Data -
temp'!C9),1,1)="M","USAL"&'Paste USAL Cheque Data - temp'!B9&"
"&VALUE(MID(TRIM('Paste USAL Cheque Data - temp'!C9),2,6))&"
"&TRIM(PROPER(VLOOKUP(VALUE(MID(*'Paste USAL Cheque Data -
temp'!C9**,2,6)),'Debtor Names'!$A$2:$B$65536,2,FALSE))),'Paste USAL Cheque
Data - temp'!$B$4&" "&'Paste USAL Cheque Data - temp'!$A$6&'Paste USAL
Cheque Data - temp'!$B$6)))
 
B

Bob Phillips

Too many nested functions. You need to break the formula down into separate
cells.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top