Numbers

I have created a drop down list, however, when an option from the list is selected i need to know the formula to add a price depending on what has been selected.


Please help!!

Posted on Jul 14, 2023 2:58 AM

Reply
10 replies

Jul 20, 2023 2:21 AM in response to fewie1980

Hi fewie1980,


The options are:

  • End of Tenancy or Deep Clean.
  • Bedrooms from 1 to 6.
  • Bathrooms either 1 or 2.

The other criteria (KITCHEN, HALLWAY, LIVING AREA, APPLIANCES) are always the same.


Perhaps a modification to the approach?

The options for a customer to choose are here and we format one column at a time to Pop-Up Menu. Do not include Row 1 (the Header row) or blank cells in the selection.



Now we no longer need the content of Rows 3 and below.

Insert Columns D and E


View behind the curtain. Perhaps the result in Column E could be the string to look up in your price list.



After we hide column D and reset columns A, B and C, this is what the customer can use to choose.



Regards,

Ian.

Jul 20, 2023 4:44 AM in response to fewie1980

Hi Scott,


Good timing!

I am working through how to pull from the price list.

I suggest that the price list contains all options, something like this:



I am copying prices from your screen shot (shown on the right) into the Price List table on the left.

(The Screen shot is temporary, to allow me to type prices into the table. It does not feature in the calculation).

Then we can use XLOOKUP to match a the customer's choice in the Calculation Sheet


Thank you for an interesting question. I am enjoying the challenge!


Regards,

Ian.


Oops, I missed out the Studio Flat Clean. Let's deal with that later.

Jul 22, 2023 12:50 AM in response to fewie1980

Hi Scott,


We are chasing each other around the mulberry bush.

Your first screen shot was all upper case with BED BATH. Now I see Bedroom Bathroom and other.


I agree that Bedroom Bathroom will make more sense to your customers 👍, so let's work on that.


Here is my updated document.

The 'Clean Type' sheet, Price List table:



Here is the Calculation sheet, where I have unhidden column D.

D2 is the "Other" (Kitchen, Hallway, Living Area, Appliances) that is always included in a quote.

A2, B2 and C2 are Pop-Up Menus where your customer makes choices:


Formula in E2: A2&", "&B2&", "&C2&", "&D2



Formula in F2: XLOOKUP(E2,Price List::A,Price List::B,"Not Found",0)


The text in Column A of the Price List ('Clean Type' sheet) must exactly match E2 in Table 1 in the 'Calculation' sheet.


Regards,

Ian.

Numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.