Too many arguments

NickTY

New Member
Joined
Nov 15, 2018
Messages
1
Hello

I'm creating a quoting system based on the A) the type of door and B) the size of door. I set and array for each door and the sizes available and the sales Price. I'm using IF the door is the style, then look at that particular array for its size and return the selling price:

The formula is

if(d10="ProductA",vlookup(d12,"ProductA!"$a$1:$d$44,4,0),if(d10="ProductB",vlookup(d12,"ProductB!$A$1:$d$44,4,0), if( etc, etc

However , once beyond 7 products I get error message " Too many arguments" Im using 2003
is there a fix?

Thanks
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
The value in D10 is the name of your sheet to lookup the value on. As that appears to be the only difference, use INDIRECT instead:

=VLOOKUP(D12,INDIRECT("'"&D10&"'!A1:D44"),4,0)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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