I have a sheet with a price list for many items, all of them have a column for category and another column for core product, secondary or third. I then have description, price etc.
I have built an Invoice configurator that when the user selects a category it comes up with an offset formula for product (description) and a bloom up formula then brings up the item code, price etc.
I have an issue where I am trying to get the spreadsheet to allow me to have the following.
1. Dropdown for product type.
2. Dependent Dropdown for category
3. Dependent Dropdown for product type
4. Then the offset formula to look at all 3 Dropdown options and only provide me with those products.
Does anyone have any ideas?
Thank you in advance
You can create dependant dropdown menus with named ranges, data validation and INDIRECT formula. Then use FILTER formula to extract the products corresponding to the 3 selected options. I've made a tiny example :
With blue background, the dropodown menus (2 dependants). On the right, the named ranges. On top, the data. With green background, the output (1 result only since my sample DATA is very small).
EDIT : You want a dropdown menu to select the results (after the user has done his 3 choices). You can use TEXTJOIN to build a list from the results and then create another dropdown menu (dynamically resized). If you want something more "transparent" (no table of results to hide), it's possible to replace the FILTER formula with SUMPRODUCT and MATCH (the TEXTJOIN column will be placed in the original table and might cause slowdowns if the number of items is too big).
Sheet
Related
I have created a table for the price of the different option combinations but want to show the total cost on a simple input table.
So I want to select from 3 different option groups in separate columns (venue, time period & support). I have drop down lists for each of choices within these options and the prices associated with each. I want to show the cost if I choose venue option 1 in column C, time period option 2 in Column D and support Option 3 in Column E. I have tried the formula =if(and(C3=I2,D3=K1,E3=J3),K3) which works to give me one cost with one range of selections but how do I add more selections to the Formula. (I moved the 'look up' table onto the same tab so it was easier to read which is why the formula is showing the sheet ref.)
I would look at using index & match with two data validation lists like this:
Here is the formula used in cell F8 so you can copy it:
=INDEX($L$2:$M$4,MATCH(F2,$K$2:$K$4,0),MATCH(G2,$L$1:$M$1,0))
I would consider re-jigging the data so that a third data validation controls which data set is relevant. The choose function can work for that as well.
F2 and G2 are data validation selecting service level and time.
Edit: Version with choose to select data:
Added a vlookup to give an indexing number for the choose function and the choose to get the data from the list based on which is selected.
I have an excel column that I would like to use as a base for 4 separate dropdown lists.
StudyName_SlideName_PD1_1stRun_NoFabBlock_1/250_Rabbit_pH6
StudyName_SlideName_PD1_1stRun_NoFabBlock_1/100_Rabbit_pH6
StudyName_SlideName_PD1_1stRun_NoFabBlock_1/150_Rabbit_pH9
StudyName_SlideName_FOXP3_1stRun_NoFabBlock_1/150_Mouse_pH6
I would like to create 4 different dropdown lists which will find the cells containing the values below separately and show me the options in the dropdown menus.
Rabbit_pH6
Rabbit_pH9
Mouse_pH6
Mouse_pH9
For example: Rabbit_pH6 dropdown list would show me the options below in the dropdown list
StudyName_SlideName_PD1_1stRun_NoFabBlock_1/250_Rabbit_pH6
StudyName_SlideName_PD1_1stRun_NoFabBlock_1/100_Rabbit_pH6
Please help me to find a solution for this problem,
Thanks!
This formula creates a list based on the chosen value in the data validation pulldown menu: ARRAY FOMULA: STRG + SHIFT + ENTER
=IFERROR(INDEX($A$1:$A$4,SMALL(IF(ISNUMBER(FIND($L$1,$A$1:$A$4)),ROW($A$1:$A$4)),ROW(A1))),"")
Pull the formula down. A1:A4 are the cells you want to search. L1 is the cell where you can put the data validation pulldown menu. Change these according to your needs. You can feed this list to another data validation pulldown menu.
My problem is the following:
I have multiple columns i want to make dependent lists of, but i have duplicates in the first 3 columns. I am able to make them dependent, but all the duplicates show up in the dropdown.
For Example:
You can see, the First column has duplicates and so does the second.
This is what i have tried.
Made the Product Category list as a List under Data validation using the uniques only.
Used the Offset, match formula to make the Sub-Product ID as a dependent list on what is selected in the cell before it for Product category.
When i do No. 2, say i chose A1 in the Product category, i end up getting 100,100 in the drop-down. I only want one iteration of 100 to be in the dependent dropdown.
Formula Used: =OFFSET(Second!E5,MATCH(C3,Second!$D$6:$D$282,0),0,COUNTIF(Second!$D$6:$D$282,C3))
Please help.
I have a lookup table with three columns:
ID Brand Product
1 Dell Computer
4 HP Printer
I have to fill one more table as follows :
ID Product Brand
1
On click of Product the following formula: =VLOOKUP(A2,$E$4:$G$7,3,FALSE) will populate the Product as Printer. I want the corresponding Brand also to be populated on click of Product. The value to be populated should be HP.
I tried using the formula =VLOOKUP(A2,A3,$E$4:$G$7,3,2,FALSE) but it says Too many arguments.
Is it possible to populate two columns simultaneously?
If not possible using VLOOKUP, is there any other way of populating multiple cells by clicking on some other cell?
One way to populate multiple cells by a single click is to use a Form Control. In the example, G2 is populated with:
=IF($A3,VLOOKUP($A3,$A:$C,COLUMN()-5,0),"")
with this copied across to H2.
In 'A3' is a Check Box linked to A3:
A single click on the Check Box should then display:
You cannot populate a cell with a formula in another cell. You need one formula for Product and another formula for Brand.
For Product you have =VLOOKUP(A2,$E$4:$G$7,3,FALSE), which returns the value in the third column of the lookup table.
For Brand you want to return the second column of the lookup table. Therefore, you need this formula in the Brand column:
v-- This is the column you want to return
=VLOOKUP(A2,$E$4:$G$7,2,FALSE)
You could concatenate two VLOOKUPs and have both values in on cell like so:
=VLOOKUP(A2,$E$4:$G$7,2,FALSE)&" "&VLOOKUP(A2,$E$4:$G$7,3,FALSE)
I have a table with two columns, the first column has the neighbourhood name, and the second column contains a tree species. The table contains tens of thousands of rows (ie. there are multiple trees of each species in each neighbourhood) I need to know the number of different tree species in each neighbourhood. I got as far as using a pivot table to summarize and count the trees occurring in each neighbourhood, but the information that I am looking for is even more simple than this. How many unique tree species occur in each neighbourhood. I am using excel 2011 for mac. Can someone help me figure out the best way to do this?
With a PivotTable, one column for ROWS and the other for COLUMNS (either for Count of VALUES) you should only need to count the entries (either by row or by column, depending upon whether trees or neighbourhoods, and which you chose where).
If you don't want Pivot Tables, try the SubTotals feature as described by "rob" here: https://superuser.com/a/405569
You can also do this with the Subtotal feature.
Click the Data tab in Excel's ribbon toolbar
Click the Sort button and sort by your category column
Click the Subtotal button and fill in the dialog as appropriate, then click OK For example...
At each change in: Category
Use function: Sum
Add subtotal to: Cost of Goods Sold
i.e. have column titles in row 1, sort by neighbourhood, and subtotal "for each change in neighbourhood, use the count function and add the subtotal to trees"