How can the cell containing my item (shoes) have the right discount based on its category? sample table:
------------------------------
| item | category | discount |
------------------------------
| shoes| loafer | ? |
------------------------------
Pseudocode for formula: if category cell equals loafer, make this cell's value equals 5.
Maybe I am going the wrong way about this but I simply cannot add discounts manually. Thank you all in advance.
Create a list in some sheet of categories and discounts
eg in G3:H6 you could have
type discount
loafer 5%
oxford 20%
sneaker 10%
Then if you have "loafer" in B2, you would put into B3...
=VLOOKUP(B2,G4:H6, 2,FALSE)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.