this AI thing

bi_tux@lemmy.world to Lemmy Shitpost@lemmy.world – 708 points –
86

You are viewing a single comment

I have a spreadsheet with items with their price and quantity bought. I want to include a discount with multiple tiers, based on how much items have been bought, and have a small table where I can define quantity and a discount that applies to that quantity. Which Excel functions should I use?

Response:

You can achieve this in Excel using the VLOOKUP or INDEX-MATCH functions along with the IF function.

Create a table with quantity and corresponding discounts.

Use VLOOKUP or INDEX-MATCH to find the discount based on the quantity in your main table.

Use IF to apply different discounts based on quantity tiers.

That's really cool, I gotta try that in the future. Thanks!

Index / Match gang represent. Much more flexible than Vlookup.

It's shunned upon in the Excel pro scene (shout-out to my boi Makro), but xlookup can be used instead