Oct 24 2023 01:18 AM
Hi,
Hi,
I'm going to create a list of participants for a party. Everyone can choose from different dishes on the menu, and they have different prices. Therefore, I would like to have a formula that allows the price to be automatically added to a total when a dish is selected. The simplest way would be to have a hidden value for each dish. For example, "Christmas Plate" costs 419 NOK, "Pinnekjøtt" costs 495 NOK, and so on. In addition, everyone should choose a dessert, but it comes with a fixed price of 95 NOK.
Is there a way to either assign values to cells without them being visible or to specify that a specific word corresponds to a sum?
Oct 24 2023 04:52 AM
Hi @cathrinebrat,
you can follow these steps:
=SUMPRODUCT(SUMIF(B2:B10, UNIQUE(B2:B10), C2:C10))
This formula will sum the prices for each selected dish based on the unique selections in column B.
Now, you can share the Party Cost Calculator workbook with the participants. They can select their desired dishes in the "Selected Dish" column and the total cost will be calculated automatically.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)