+ Reply to Thread
Results 1 to 8 of 8

Not sure what function/formula required for retrieving data from multiple list selections

  1. #1
    Registered User
    Join Date
    05-13-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    4

    Not sure what function/formula required for retrieving data from multiple list selections

    Hi!

    I am trying to work out which function/formula I need to extract the correct data in the same worksheet. For example if I have selected "Male" from the first drop down menu "Gender", then"11-18 yrs" from the next drop down menu "Age Range" then a physical activity level of "sedentary" from PAL menu, I need the equation cell to draw on the correct equation for a male, 11-18 yrs who is sedentary. If it would help I can show you my spreadsheet.

    Thanks! Hope someone can help!

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    Quote Originally Posted by TrixExcel View Post
    If it would help I can show you my spreadsheet.
    Yes! It would.

  3. #3
    Registered User
    Join Date
    05-13-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    4

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    OK I'll try. I've not uploaded a spreadsheet here before.

    The idea is I would choose options female or male by actual body weight or AIBW (adjusted ideal body weight), then age range which determines which equation will be used then multiply equation by PAL (physical activity level) eg Male AIBW --> 11-18 yrs --> reference correct cell with equation then multiply by PAL of very sedentary (1.3) = final value (EER).. Hope that makes sense! Easier to understand when you look at the spreadsheet. I have included in my spreadsheet an example as I am having to somewhat manually write out the final EER equation in cell B24.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    You need to say what the expect result is. How does PAL relate to the rest of the formula?

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    =OFFSET(C28,MATCH(A19,$A$30:$A$60,0)+MATCH(B19,B30:B35,0),0)*IF(LEFT(A19,1)="M",INDEX(D30:D37,MATCH(C19,$F$30:$F$37,0)),INDEX(E30:E37,MATCH(C19,$F$30:$F$37,0)))

    but it is messy how you have structured your data

  6. #6
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    Or............

    For "EER", in B24 enter formula :

    =OFFSET(C28,MATCH(A19,A30:A60,0)+MATCH(B19,B30:B35,0),0)*INDEX(D30:E37,MATCH(C19,F30:F37,0),(LEFT(A19)="F")+1)*1000

    Regards
    Bosco

  7. #7
    Registered User
    Join Date
    05-13-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    4

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    Quote Originally Posted by davsth View Post
    =OFFSET(C28,MATCH(A19,$A$30:$A$60,0)+MATCH(B19,B30:B35,0),0)*IF(LEFT(A19,1)="M",INDEX(D30:D37,MATCH(C19,$F$30:$F$37,0)),INDEX(E30:E37,MATCH(C19,$F$30:$F$37,0)))

    but it is messy how you have structured your data
    I know, sorry!

  8. #8
    Registered User
    Join Date
    05-13-2019
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    4

    Re: Not sure what function/formula required for retrieving data from multiple list selecti

    Quote Originally Posted by Bosco View Post
    Or............

    For "EER", in B24 enter formula :

    =OFFSET(C28,MATCH(A19,A30:A60,0)+MATCH(B19,B30:B35,0),0)*INDEX(D30:E37,MATCH(C19,F30:F37,0),(LEFT(A19)="F")+1)*1000

    Regards
    Bosco
    Thanks Bosco!!! It works fantastic, will make my work day much more efficient!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple selections from data validation list
    By astasinim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2015, 11:20 AM
  2. Replies: 4
    Last Post: 02-05-2015, 01:59 PM
  3. Code/formula to extract data from one cell that has multiple selections
    By benjy99 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-30-2015, 06:33 AM
  4. IF function - multiple formula required
    By mikejackson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-15-2013, 09:04 AM
  5. [SOLVED] Pivot Table not retrieving required data
    By Excel Dumbo in forum Excel General
    Replies: 6
    Last Post: 07-19-2012, 06:25 PM
  6. List Box Selections Outputting Multiple Selections with One Click
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-21-2011, 12:27 PM
  7. Multiple selections from a pick list - only unique selections (no repeats) ?
    By opsayo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2011, 06:25 PM

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