Sorry, I've searched for this but I'm lost. I tried doing it with nested IF statements, but there are too many for excel to accept.
Basically I have two cells where a user can select options from a dropdown.
Dropdown 1: size (13 options here)
Dropdown 2: tax bracket (3 options here)
Based on their choices, I'd like excel to look up the correct tax amount from a table on another sheet. The table looks something like this:
Is there a short and simple way to do this? How would the formula look if Size 1 is cell A1, and the final cell in the sheet is D13 ($9.99)?SIZE: BRCK1 BRCK2 BRCK3 Size 1 $11.50 $14.00 $18.00 Size 2 $5.75 $7.00 $9.00 Size 3 $0.96 $1.17 $1.50 ... Size 13 $0.96 $1.17 $9.99
Any help is greatly appreciated.
Last edited by CreeDo; 09-30-2011 at 03:27 PM. Reason: BECAUSE NBVC IS AWESOME
Try:
=INDEX($A$1:$D13,MATCH(X1,$A$1:$A$13,0),MATCH(Y1,$A$1:$D$1,0))
where X1 and Y1 hold the inputted Size and Bracket, respectively.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
see attached sample
it uses Vlookup.
modytrane
Thank you both so much. I used NBVC's example and it worked perfectly once I figured out how to adapt it to my workbook. Also thank you for modytrane, I actually didn't see your post until just now but I appreciate the effort. Great forum here.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks