Forum Discussion
Looking to make quoting tool based on answers to a drop down
I've made a sheet to use with clients that allows them to see all of the potential upgrades they can purchase on their travel. I essentially want to add an "add to cart" function that would allow them to view an upgrade (columns A-I), select yes or no from a drop down menu, and then begin a running total at the bottom of the sheet as they opt into things.
The yes/no drop down menus are in column K, the prices for each upgrade are in column D, and I'd like the totals to calculate in cell K2. I can picture how to use VLOOKUP to get the info from column D into $K$2 based on the text in column K, but I can't figure out how to get multiple totals into this cell and get them to sum. I'd like to avoid a scratch table on the side as an intermediary if possible, but if that's what it is then that's what it is.
Any advice would be appreciated!
1 Reply
- maskwillIron Contributor
In cell K2, use:
excel
=SUMIF(K3:K100,"Yes",D3:D100)
This automatically adds all prices in column D where the corresponding dropdown in column K is set to Yes.
No VLOOKUP or helper table needed\! The total updates automatically whenever a dropdown changes.