Need help to nest formula with multiple arguments

rebubula

New Member
Joined
Dec 20, 2010
Messages
26
Hi All-

I am trying to configure a formula that will use all of the following:

IF
ISNA
VLOOKUP
LEFT
TRIM
UPPER
SUBSTITUTE

Here is what I have working so far: =IF(ISNA(VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE)),LEFT(TRIM(SUBSTITUTE(D2,",","")),10),VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE))

Here is what I need:=IF(ISNA(VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE)),LEFT(Upper(TRIM((SUBSTITUTE(D2,",","")),10),VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE))

But I keep getting the "You have entered too many arguments for this function" error. What is the trick to ordering these arguments?

Thanks in advance!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hi All-

I am trying to configure a formula that will use all of the following:

IF
ISNA
VLOOKUP
LEFT
TRIM
UPPER
SUBSTITUTE

Here is what I have working so far: =IF(ISNA(VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE)),LEFT(TRIM(SUBSTITUTE(D2,",","")),10),VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE))

Here is what I need:=IF(ISNA(VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE)),LEFT(Upper(TRIM((SUBSTITUTE(D2,",","")),10),VLOOKUP(D2,'Line Table'!1:1048576,2,FALSE))

But I keep getting the "You have entered too many arguments for this function" error. What is the trick to ordering these arguments?

Thanks in advance!

Perhaps...
Rich (BB code):
=IFERROR(VLOOKUP(D2,'Line Table'!$A$1:$B$1048576,2,0),
   UPPER(LEFT(TRIM(SUBSTITUTE(D2,",","")),10)))
 
Upvote 0

Forum statistics

Threads
1,224,618
Messages
6,179,916
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top