walkingman
Board Regular
- Joined
- Feb 12, 2014
- Messages
- 69
Happy New Year to everyone!
I have a question that is centered around a policy-change, whereby, a worksheet that had a discount that used to apply to all items in a column (general discount, and therefore, quite easy to write) that now excludes items that are "services based".
I have all discount codes in a drop down list and what I'm working to do is nest "If" functions to check and see if, for instance $E$40 contains (for a simplified explanation) "Discount 10%".
Because I need to exclude "Services" related items, I'm working, specifically, to isolate the items that ARE able to be discounted (e.g. Property and Taxable Merchandise". Those items are referred to in a table that is out of "print range" and I'm not having any luck with the nested "IF" functions.
Sorry for the long explanation. I'll work to input specifics:
In E23, I have a dropdown list, as I have in E24,E25, and E26. If something is selected from the dropdown list, or if "Other Taxable Merchandise" there are functions that refer thusly: (this is a formula in P23)
=IF($E23="","",IF($E23="Other Taxable Merchandise",$H$27,VLOOKUP($E23,MerchandiseTable,2,0)))
What I need to do is refer to $E$40 for specific text, and if the specific text "Discount 10%" shows, I need the number that is returned by the VLOOKUP to be discounted by 10% or .1. I have the tax calculations based on the number so-returned in P23.
I'm stumped. Any help is appreciated.
I have a question that is centered around a policy-change, whereby, a worksheet that had a discount that used to apply to all items in a column (general discount, and therefore, quite easy to write) that now excludes items that are "services based".
I have all discount codes in a drop down list and what I'm working to do is nest "If" functions to check and see if, for instance $E$40 contains (for a simplified explanation) "Discount 10%".
Because I need to exclude "Services" related items, I'm working, specifically, to isolate the items that ARE able to be discounted (e.g. Property and Taxable Merchandise". Those items are referred to in a table that is out of "print range" and I'm not having any luck with the nested "IF" functions.
Sorry for the long explanation. I'll work to input specifics:
In E23, I have a dropdown list, as I have in E24,E25, and E26. If something is selected from the dropdown list, or if "Other Taxable Merchandise" there are functions that refer thusly: (this is a formula in P23)
=IF($E23="","",IF($E23="Other Taxable Merchandise",$H$27,VLOOKUP($E23,MerchandiseTable,2,0)))
What I need to do is refer to $E$40 for specific text, and if the specific text "Discount 10%" shows, I need the number that is returned by the VLOOKUP to be discounted by 10% or .1. I have the tax calculations based on the number so-returned in P23.
I'm stumped. Any help is appreciated.