When I enter the following formula, I receive the following error:
"the specified formula cannot be entered because it uses more levels of nesting"
How can I change this code to make it work?Please Login or Register to view this content.
When I enter the following formula, I receive the following error:
"the specified formula cannot be entered because it uses more levels of nesting"
How can I change this code to make it work?Please Login or Register to view this content.
In case of limitation of nesting, try to name sub-formula, i.e:
TEXT1 = LEFT(J$6,2)&TEXT(LEFT(SUBSTITUTE(SUBSTITUTE(LEFT(J$6,FIND(" ",J$6&" ")-1),LEFT(J$6,2),""),"-",REPT(" ",10)),10),"000")&"-"&TEXT(RIGHT(SUBSTITUTE(SUBSTITUTE(LEFT(J$6,FIND(" ",J$6&" ")-1),LEFT(J$6,2),""),"-",REPT(" ",10)),10),"000")
Replace with TEXT1:
=IFERROR(INDEX(.....,MATCH($B$7&TEXT1,...)...)
Quang PT
I means you could use defined name by press Ctrl-F3, name: TEXT1; Refer to: =LEFT(......), OK
Then replace your origin formula with TEXT1 name
Try to use a helper cell :e.g B100=TEXT(LEFT(SUBSTITUTE(SUBSTITUTE(LEFT(J$6,FIND(" ",J$6&" ")-1),LEFT(J$6,2),""),"-",REPT(" ",10)),10),"000")&"-"&TEXT(RIGHT(SUBSTITUTE(SUBSTITUTE(LEFT(J$6,FIND(" ",J$6&" ")-1),LEFT(J$6,2),""),"-",REPT(" ",10)),10),"000")
Then your formula will be:
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks