Populating data based on multiple criteria

JTNuke

New Member
Joined
Aug 16, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Quick question for the pros here! I am trying to populate data into a cell based on two dropdown menus. For example, if dropdown menu one is selected as "ALPHA" and dropdown menu two is selected as "alpha" then information will populate to the chosen cell (call it B2) from a different sheet and cell (call it sheet ALPHAalpha cell C1). There are many combinations here and I do not know how to structure the formula to allow for each of them (one at a time) to populate based on the chosen dropdown menu selection. Any ideas?
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
can we have some more examples

the Sheetname is based on the 2 dropdowns then
But how are the cells chosen

so in B2 you would have an indirect() fomula to choose the sheetname
something like

Dropdown1 in A1 , Dropdown2 in B1

indirect( "'"&A1&B1&"'! ... range )

see here, where i have a sheet called AlphaAlpha , and in cell C3 on that sheet i have FRED
Book1
AB
1AlphaAlpha
2FRED
Sheet2
Cell Formulas
RangeFormula
B2B2=INDIRECT("'"&A1&B1&"'!C3")
 
Upvote 0
Okay lets start over because I think I did a bad job explaining what my goals are. I have attached two pictures and if this doesn't provide enough information I will upload the mini-sheet program when I am home and not on a work computer.

I am creating a user guide for different products. This guide will allow you to choose a product "product selection" and specify the information category you are looking for "Information selection". Each one of the options under "information selection" has its own sheet with a corresponding name. Additionally, each one of those sheets lists all the drug products that are available to be chosen under "product selection".

For example the "take orders" sheet has all the drug products that are available under "product selection" with corresponding information filled out. The flow for the user would look like this:
User selects "Home" sheet >> user chooses a product from "product selection" >> user chooses desired information category from "information selection" >> user looks under "general information" (currently merged cells but I can change it if needed) to see information that has populated from the corresponding sheet and product.

More specific example:
User selects "Home" sheet >> user chooses Datscan from "product selection" >> user chooses take orders from "information selection" >> user looks under "general information" to see Wednesday only has populated from the corresponding sheet (order entry) and product/row (B3).

As I build this out I plan to add paragraphs of text and information. I need the user to be able to simply select the drug product and information category and reference the general information section to see what they are looking for. Eventually, I do want to add a "all information" option under the "information selection" which would ideally populate information for each information category for the chosen drug product.
 

Attachments

  • excel (1).PNG
    excel (1).PNG
    29.3 KB · Views: 4
  • excel (2).PNG
    excel (2).PNG
    40.9 KB · Views: 5
Upvote 0
can we have some more examples

the Sheetname is based on the 2 dropdowns then
But how are the cells chosen

so in B2 you would have an indirect() fomula to choose the sheetname
something like

Dropdown1 in A1 , Dropdown2 in B1

indirect( "'"&A1&B1&"'! ... range )

see here, where i have a sheet called AlphaAlpha , and in cell C3 on that sheet i have FRED
Book1
AB
1AlphaAlpha
2FRED
Sheet2
Cell Formulas
RangeFormula
B2B2=INDIRECT("'"&A1&B1&"'!C3")
Thank you for the quick response! I think I could have done a better job explaining my goals so I updated my posting. Please let me know if this helps you help me!
 
Upvote 0
looks quite complicated now - as you would need the dropdowns populated based on content on different sheets as the user navigates and then you are returning multiple results - i think thats what you suggesting , but i still may not follow and images are not very good to work on
A sample file NOT the whole thing , but a good representation , and the expected results will help members here answer, not sure i will be able to
Merged cells in my experience are almost never useful for formulas or data extraction , they are are OK on a flat file for viewing only
So if you can remove all merged cells.
and look to see if you can add using XL2BB
 
Upvote 0
Product ordering (BETA).xlsx
ABCDEF
18/18/21 19:38Choose a product and information selection from to be directed to the appropriate information
2
3Product selectionÄ
4
5Information selectionÄ
6
7LinksToolsGeneral Information
8
9
Home
Cell Formulas
RangeFormula
B1B1=NOW()
D3,D5D3=HYPERLINK("#"&ADDRESS(ROW(),COLUMN()-1),CHAR(128))
Cells with Data Validation
CellAllowCriteria
C5List='Data entry'!$D$3:$D$18
C3List='Data entry'!$B$3:$B$21
 
Upvote 0
looks quite complicated now - as you would need the dropdowns populated based on content on different sheets as the user navigates and then you are returning multiple results - i think thats what you suggesting , but i still may not follow and images are not very good to work on
A sample file NOT the whole thing , but a good representation , and the expected results will help members here answer, not sure i will be able to
Merged cells in my experience are almost never useful for formulas or data extraction , they are are OK on a flat file for viewing only
So if you can remove all merged cells.
and look to see if you can add using XL2BB
okay I uploaded the main page of the workbook that I am working on. I noticed the dropdown menus are not working on the uploaded version. Please let me know if you need this information. Thanks again for everything.
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,199
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top