Need help to simplify my formula

qsdr

New Member
Joined
Mar 17, 2009
Messages
2
At the moment, I am working on a formula to look up "Duty Rates" based on a couple of things.

1. Customer - Certain customers have their stock re-exported upon entry, so their duty is always 0%
2. Style Number - Certain styles have less/more duty, despite their garment (name) type.
3. Garment type - Certain types of garments have different duty rates.
Maybe because I've been working on this sheet all morning I'm overcomplicating things, so I was hoping someone could help me simplify the formula so I can use it. Or at least explain ISNA to me.
I started with nested IF formulas, because we were content to just manually enter the duty rate if the style number/garment type caused it to be different. However, this means that anyone can forget to change it, and it's a hassle.
So, I made the different sheets for Customer, Style Number, Garment Type, and was doing VLOOKUP. But then I could only do one VLOOKUP (or so I thought at the time).
Now, I have thought of doing ISNA.. but I can't seem to type up the formula properly.
I presume it should look something like:

=IF(ISNA(VLOOKUP(CUSTOMER),IF(ISNA(VLOOKUP(STYLE NUMBER),VLOOKUP(GARMENT TYPE)..
then I finish off all the ISNA formulas?
But to finish them, I read somewhere that you have to enter the formulas all over again, leaving me with 9 formulas, which is too many.

Sorry, I'm pretty new to formulas, so I'm not really sure what to do.
 

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.
Hi. If I have understood then this should work.
I have the transaction customer, style and garment type in A17:C17.
I have named range for the customer list, style list and type list.

=IF(NOT(ISERROR(VLOOKUP(A17,customerlist,1,FALSE))),0,IF(ISERROR(VLOOKUP(B17,stylelist,2,FALSE)),VLOOKUP(C17,Garment_list,2,FALSE),VLOOKUP(B17,stylelist,2,FALSE)))

It will return #N/A if customer is not an exporter and the style is not on the list and the type does not exist
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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