#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nc nc is offline
external usenet poster
 
Posts: 119
Default Function error

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)))


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Function error

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

--
__________________________________
HTH

Bob

"nc" wrote in message
...
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)))




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
if function error AHizon via OfficeKB.com Excel Worksheet Functions 3 September 12th 08 05:54 AM
Possible error in MOD function Peter K[_2_] Excel Worksheet Functions 2 February 23rd 08 01:53 AM
If error function Neil M Excel Worksheet Functions 6 April 26th 06 06:56 PM
3D Function Error srpettew Excel Discussion (Misc queries) 2 April 18th 06 09:48 PM
IF THEN function error jmcclain Excel Worksheet Functions 10 January 8th 05 12:18 AM


All times are GMT +1. The time now is 04:14 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"