You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Drop downs in numbers

I’m trying to create a recipe in a table on one sheet that has drop down boxes for my ingredients that are referenced back to a another sheet with all my ingredients and their prices. And after selecting that item I need it to automatically calculate my cost for that item based on the quantity I enter on the recipe table and the cost per unit info from my ingredient price sheet. I’ve seen how to do it in excel but can’t figure out on my brand new MacBook Air. Any ideas?

MacBook Air 13″, macOS 10.14

Posted on Jan 30, 2022 10:56 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 31, 2022 1:29 AM

Here's an example of how you might calculate the cost of ingredients by looking up the item cost in a separate table and multiplying that by the quantity.



The formula as you would input it in C2, then fill or copy it down the column:


=XLOOKUP(A2,Ingredients::A,Ingredients::B,"not found",0)*B2



Numbers has a Pop-Up Menu data format that is similar to drop downs in Excel. But unlike dropdown in Excel, a Pop-Up Menu cannot automatically retrieve its values from a range of cells (such as you might have in your Ingredients table).


To "populate" a Pop-Up Menu simply select cells containing the various values you want in the menu and choose the Pop-Up Menu data format.





Each cell will then have a Data Format that looks something like this:



Drag to reorder the entries if needed, and make any additions/removals or further edits. Then simply copy-paste the cell down the column (select it, type command-c, select the rest of the cells in the column or wherever you want the Pop-Up Menu, type command-v to paste).


SG

Similar questions

1 reply
Question marked as Top-ranking reply

Jan 31, 2022 1:29 AM in response to Jessacita

Here's an example of how you might calculate the cost of ingredients by looking up the item cost in a separate table and multiplying that by the quantity.



The formula as you would input it in C2, then fill or copy it down the column:


=XLOOKUP(A2,Ingredients::A,Ingredients::B,"not found",0)*B2



Numbers has a Pop-Up Menu data format that is similar to drop downs in Excel. But unlike dropdown in Excel, a Pop-Up Menu cannot automatically retrieve its values from a range of cells (such as you might have in your Ingredients table).


To "populate" a Pop-Up Menu simply select cells containing the various values you want in the menu and choose the Pop-Up Menu data format.





Each cell will then have a Data Format that looks something like this:



Drag to reorder the entries if needed, and make any additions/removals or further edits. Then simply copy-paste the cell down the column (select it, type command-c, select the rest of the cells in the column or wherever you want the Pop-Up Menu, type command-v to paste).


SG

Drop downs in numbers

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