Oracle Agile PLM - Change dropdown values in a list type - sdk

This query is related to Oracle Agile PLM.
Could you let me know if it's possible to change dropdown
Values on a simple list on the basis of the value under another simple list. For example - if list 1 has value Y, then the dropdown for list 2 should show as B, C and if suppose list 2 has value Z then the dropdown for list 2 should show as D and E and like that.
Please suggest some approaches.

Related

How to import data from multiple sheets into one sheet with BYROW and LAMBDA?

I have a sheet with various tabs. Each tab has the same column header in A1 and similar data (same format) in column A.
In "sheet2" I have a list of all the tab names in Column A.
I wish to combine all the data for all tab's row A into "sheet2" in column B.
I have managed to get the desired result using...
=ARRAYFORMULA({indirect(A1&"!A2:A"&COUNTA(indirect(A1&"!A:A")));indirect(A2&"!A2:A"&COUNTA(indirect(A2&"!A:A")))})
However, this only covers 2 tabs, and I have about 50 tabs to add, with more tabs added regularly.
So I wish to try and use a QUERY formula, which was recommended to me.
I have run a few versions, see below, but the resulting output is 5 rows of
#VALUE!
BYROW and LAMBDA are new to me and I am uncertain on what I am doing wrong.
=QUERY(BYROW(A1:A5,LAMBDA(x, INDIRECT(x&"!A2:A6")))))
=ARRAYFORMULA({QUERY(BYROW(A1:A5,LAMBDA(x, INDIRECT(x&"!A2:A6"))))})
Below is 2 samples of the tabs where the data is stored, each tab is names after the Product Type, so EE and EX in this sample, and those same tab names are used in the third table (below).
Product Code
EE220123
EE190223
EE260323
EE030423
EE090423
EE170423
EE230423
EE010523
EE070523
EE150523
EE210523
EE280523
Product Code
EX040423
EX250423
EX160523
EX060623
EX270623
EX180723
EX080823
EX290823
EX190923
EX101023
This is my "sheet2"
Product Type
EE
EX
EJ
GB
GBIR
This is the sample sheet I am working on, columns F, G and H contain my recent attempt, it is Column H which I wish to get working.
https://docs.google.com/spreadsheets/d/1gvOZ_GuZx6HOLHQ7WwyIlFHrAihoNXz2ysZkublh7Fs/edit#gid=1077440502
Expected Outcome table
Product Type
Product Code
EE
EE220123
EX
EE190223
EJ
EE260323
GB
EE030423
GBIR
EE090423
GBIR
EE170423
EE230423
EE010523
EE070523
EE150523
EE210523
EE280523
EE290523
EX040423
EX250423
EX160523
EX060623
EX270623
EX180723
EX080823
EX290823
EX190923
EX101023
EJ240323
EJ070423
EJ210423
EJ050523
EJ190523
EJ020623
EJ160623
EJ300623
EJ140723
EJ280723
EJ110823
EJ250823
EJ080923
EJ220923
EJ061023
EJ201023
EJ221223
GB050323
GB020423
GB160423
GB300423
GB070523
GB140523
GB210523
GB280523
GB040623
GB110623
GB180623
GB250623
GB020723
GB090723
GB160723
GB230723
GB300723
GB060823
GB130823
GB200823
GB030923
GB100923
GB170923
GB240923
GB011023
GB151023
GB291023
GBIR080423
GBIR060523
GBIR200523
GBIR030623
GBIR170623
GBIR010723
GBIR150723
GBIR290723
GBIR120823
GBIR260823
GBIR090923
GBIR230923
GBIR071023
GBIR211023
GBIR221223
Unlike BYROW, REDUCE supports nested arrays. You can use it to loop through A2:A6 of Sheet2 and add arrays from other sheets using array literals {;}
=REDUCE("Product Code", A2:A6, LAMBDA(a,c,{a;indirect(c&"!A2:A"&COUNTA(indirect(c&"!A:A")))}))

Return non-adjacent columns of data with different drop-down criteria

I have a drop down list that I would like to return information from the sheet "Plants". If I choose "fruits" on the dropdown list, I would like to show columns A, C, J, and K if Col E="fruits". If I choose "vegetables" I would like to show columns A, C, M, and N if Col O=TRUE. I tried a few filters that worked individually but wasn't able to figure out how to nest it with an IF function so it would change for all the different drop-down selections, and I'm sure there's a better way of doing it. What is the best way to return non-adjacent columns of data with different drop-down criteria?
Filter examples:
For fruits drop down, I want to return this: =FILTER({Plants!A2:A,Plants!C2:C,Plants!J2:J,Plants!K2:K},Plants!E2:E="Fruits")
For vegetables drop down, I want to use this:
=FILTER({Plants!A:A,Plants!C:C,Plants!M:M,Plants!N:N},Plants!O:O=TRUE)

How to mix and match different items to form different combination in google sheet?

Hi everyone,
I want to mix the food and drink together to form different combination. Since there are 4 type of food and 4 type of drink, which means there will be 16 types of different combination. I managed to automate the food in column F by repeating 4 times (since there are 4 type of drink) for each type of food, however, I have no idea how to automate the drink in column G to complete the 16 different combination.
When I added in new food and drink in Column B & C, ideally the new possible combination will appear in Column F & G as well.
Column I & J are the expected output that I desired. Hope to get some advice from expert. Any help will be greatly appreciated!
This is my sheet:
https://docs.google.com/spreadsheets/d/1YW5_dfCSQ4BTnA09iss3wa9dWHGDlGjqoDRJ9buMDO0/edit#gid=792268474
I have added a new sheet ("Erik Help") with the following formula in D1:
=ArrayFormula({"Food","Drink"; SPLIT(FLATTEN(FILTER(A2:A,A2:A<>"")&"|"&TRANSPOSE(FILTER(B2:B,B2:B<>""))),"|")})
This one formula creates the headers and all results in Columns D and E.
The header text can be changed within the formula as you like.
The rest just concatenates every non-null food value with a pipe symbol ("|") and a TRANSPOSEd list of every non-null drink value, forming a virtual 2D grid. That is FLATTENed into one column and then SPLIT at the pipe symbol back into two columns.
The formula will "keep up with" new food and/or drink items added (or any removed from either list). The lists need not have the same number of items either.
or:
=INDEX({FLATTEN(SPLIT(REPT(CONCATENATE(B6:B&"♦"), COUNTA(C6:C)), "♦")),
FLATTEN(SPLIT(CONCATENATE(REPT(C6:C&"♦", COUNTA(B6:B))), "♦"))})

Validate text from list using multiple sheets

I am using google sheets to do the following.
Sheet 1 : 1 column for each person who needs access to the file. Each column's cell has a dropdown menu so people can select what items they have.
Sheet 2 : A list of every item in column A, columns B through G are the names of the people.
What I am trying to do is to have on sheet 2, the words "YES" or "NO" appear under each person's name if they have selected the item whatever the order.
So if Person 1 picks in the dropdown of sheet 1 that they have Item 1, Item 3, Item 2 in this order, I want sheet 2 to show the "YES" or "NO" mention. I don't want the order of the items in the list to be an issue.
So far, I have tried these 2 methods :
=IF('Sheet1'!A2:A25=A2;"YES";"NO")
=IF(RegExMatch('Sheet1'!A2:A25;A2);"YES";"NO")
These do not work as the items must be selected in the same order as they appear in the second sheet. Is there another function that can validate a list in any order and apply the appropriate value?
Thanks ahead!
Jason
Edit : https://docs.google.com/spreadsheets/d/1cNn7G9x9o56d_9qM18s3AULkhpfOV5Y-b55vycCUyLY/edit?usp=sharing
Sheet2!B2:
=ARRAYFORMULA(IF(ISERROR(MATCH($A$2:$A$100;Sheet1!A2:A25;0));false;true))
MATCH Sheet1A column against Sheet2A column
IF MATCH returns error, FALSE, else TRUE.

How can I filter my search in a column on google sheet which collects data from a form?

I would like to perform a multi criteria search of data in a column- contains data of check boxes(more than one option chosen).
For a clearer picture of what I am trying to do, screenshot below is a question in a form
Data from the form are saved in sheets like below,
So my concern here is if I would like to search/filter for the rows that contain "Commercial", the rows with Commercial,Engineering doesn't show up. That's definitely not an effective search.
Any advise on how can I go about this issue is kindly appreciated. If
Let's say you have your form in the response sheet in columns A to P, with the multiple choice in col D. If you want to filter your data on the word 'Commercial' you can either do:
=filter(A2:P, regexmatch(A2:P, "Commercial"))
or use query():
=query(A2:P, "select * where B contains 'Commercial' ")
Note: depending on your locale you may have to change the commas to semi-colons in order for the formulas to work.
I hope that helps ?
Following JPV's answer, I developed a line to make the query useful if you want to cross two categories. Let's suppose that someone in your checkbox example had picked all the options (IT, HR, Commercial, Engineering); and that you have created the cell with the dropdown option box in cell B1 with all your options, as JPV said.
Then, you want to filter and see all the people who had chosen IT and Commercial. You would, for that, create a second cell with the dropdown option box in, lets say C1; and then your query would be:
=query(A2:P, "select * where B contains '"&B1&"' and B contains '"&C1&"' ")
=FILTER(MOBILE!A2:E2000, ISNUMBER(SEARCH(A1,MOBILE!A2:A2000)))
SEARCH function will return a number of the position of the searched word (A1) in the searched strings in range (MOBILE!A2:A2000).
If the result of search is a number (ISNUMBER), then filter will return the TRUE rows result from the range MOBILE!A2:E2000.

Resources