Closed Thread
Results 1 to 8 of 8

Formulas for showing cocktail ingredients for a particular from a lsit on another sheet

  1. #1
    Registered User
    Join Date
    09-24-2022
    Location
    Perth, Australia
    MS-Off Ver
    2021 PRO
    Posts
    13

    Formulas for showing cocktail ingredients for a particular from a lsit on another sheet

    Hello

    I have a cocktail list with a sheet "Cocktails with ingredients" that shows the various ingredients for each cocktail.

    I'm wanting to have a sheet "Select" where if I select a particular cocktail, it pulls up the ingredients from the sheet "Cocktails with ingredients". Struggling to find a way to bring the ingredients and the relevant quantity to the "Select" sheet.

    I've attached my file "Cocktail list" here as well.

    Any help would be massively appreciated.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    with Power Query
    Attached Files Attached Files

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,137

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    The CURSE of the pretty looking blank cell in a data column that make formulae very messy:

    =IFERROR(INDEX('Cocktails with ingredients'!B:B,AGGREGATE(15,6,ROW('Cocktails with ingredients'!$B$3:$B$29)/((LOOKUP(ROW('Cocktails with ingredients'!$A$3:$A$29),ROW('Cocktails with ingredients'!$A$3:$A$29)/('Cocktails with ingredients'!$A$3:$A$29>0),'Cocktails with ingredients'!$A$3:$A$29)=Select!$C$4)*('Cocktails with ingredients'!$B$3:$B$29<>"")),ROWS(D$4:D4))),"")

    in D4, copied across and down.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    09-24-2022
    Location
    Perth, Australia
    MS-Off Ver
    2021 PRO
    Posts
    13

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    Thanks very much sandy666. I unfortunately don't have too much experience with Power Query, so will need to learn how to use it.

  5. #5
    Registered User
    Join Date
    09-24-2022
    Location
    Perth, Australia
    MS-Off Ver
    2021 PRO
    Posts
    13

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    Thanks very much Glenn! This is so useful. I had never used these formulae before!

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    Quote Originally Posted by amar87 View Post
    Thanks very much sandy666. I unfortunately don't have too much experience with Power Query, so will need to learn how to use it.
    sure
    https://learn.microsoft.com/en-us/power-query/

  7. #7
    Registered User
    Join Date
    09-24-2022
    Location
    Perth, Australia
    MS-Off Ver
    2021 PRO
    Posts
    13

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    Hello Glenn - hope all is well.

    I am wondering if there is a way to hide blank rows in the "Select" tab in respect of the cocktails/ingredients that pull through from the "Cocktails with ingredients" tab? e.g. Espresso Martini only has 4 ingredients, so is it possible to hide rows 8:11?
    Attached Files Attached Files

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,418

    Re: Formulas for showing cocktail ingredients for a particular from a lsit on another shee

    Are you still using Excel 2021?

    What do you mean by 'hide'?

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    D
    E
    4
    Vodka
    30mls
    5
    Kahlua
    30mls
    6
    Coffee
    30mls
    7
    Sugar Syrup
    15mls
    8
    9
    10
    11
    Sheet: Select

    If you mean that the empty rows are not to show, then you'll need VBA and should start a NEW thread in the VBA section with a suitable title. In fact, you should open a new thread regardless, as the original issue here is solved, so please do this.

    Thread closed. One issue only per thread here, please.
    Last edited by AliGW; 03-03-2024 at 03:21 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. formula needed with multiple outcomes for cocktail recipes
    By fallen1988 in forum Excel General
    Replies: 8
    Last Post: 05-31-2019, 07:43 AM
  2. Cocktail of Formulas needed to Trim Text. Large text in cell
    By JPWRana in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-06-2018, 05:01 PM
  3. [SOLVED] How to change the code in dropdown multiple selection lsit to copy to other cells in sheet
    By ajanson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-09-2016, 11:16 AM
  4. all formulas showing zero results in excel sheet
    By shilpa bvs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-18-2013, 08:34 AM
  5. Showing whole items with only selected ingredients sheet
    By brandedadnan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2013, 02:47 AM
  6. Lsit From Data Validation References Sheet That Doesn't Exist!
    By clattenburg cake in forum Excel General
    Replies: 2
    Last Post: 07-25-2013, 11:49 AM
  7. I need help making a cocktail availability list/graph
    By Wombat_Assassin in forum Excel General
    Replies: 7
    Last Post: 10-03-2012, 06:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1