Feb 28 2024 08:26 AM
Help request
I am trying to create a formula to power a tool to identify the particular tasks, artefacts, processes etc. needed to develop a new project in my team. There are 4 'criteria' categories that should generate a set response (scale, mechanism, type, and route to market), and there are 3 to 5 options under each of these which I have within drop down lists - i.e. 225 possible combinations across the 4 categories.
Depending on the combination chosen from the 'criteria' categories drop down lists, I would like the tool to generate/identify/autofill a specific combination of info based on the options in cells under 16 other 'solution' categories. (these include: project brief type, budget required, commercial evaluation approach, etc.). Each of these has 2 to 5 options within them.
So when the user selects a combination from the 4 main categories, this will generate/reference a specific combination of responses from across the 16 'solution' categories to instruct the project manager on what is needed at each stage of the project cycle. There is likely to be a fair bit of duplication - i.e. there won't be 225 unique combinations needed from within the 16 'solution' categories.
I've attached screen grab of the criteria and solution categories. What I'd like the UI side to look like is a single row showing the combination of options that are needed from the 'solution' categories.
Could anyone advise on how I might achieve this? Contingent drop downs was my first thought but I don't think this will work with the way the data is set up.
Thanks!
Feb 29 2024 01:12 AM
To achieve the functionality you described, you maybe can use a combination of Excel formulas such as INDEX and MATCH, along with IF statements. Here's a general outline of how you can set it up:
Here's a simplified example of what your formulas might look like:
=IFERROR(INDEX(ResponseRange, MATCH(1, (Criteria1 = Criteria1Range) * (Criteria2 = Criteria2Range) * (Criteria3 = Criteria3Range) * (Criteria4 = Criteria4Range), 0)), "")
In this formula:
You will need to replace these placeholders with the actual cell references and ranges in your Excel sheet.
By setting up your Excel sheet in this way, you can dynamically generate specific combinations of responses based on the selected criteria. Remember to adjust the ranges and formulas as needed based on your specific setup and requirements. The text was created with the help of AI.
My answers are voluntary and without guarantee!
Hope this will help you.
Was the answer useful? Mark as best response and like it!
This will help all forum participants.
Feb 29 2024 01:15 AM
Feb 29 2024 02:16 AM
@Deleted
It looks like you've entered a string that could potentially be used for a Cross-Site Scripting (XSS) attack. Cross-Site Scripting is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.
To prevent XSS attacks, it's important to properly sanitize user input, encode special characters, and validate input data. Additionally, web application security measures such as Content Security Policy (CSP) can help mitigate the risk of XSS vulnerabilities.
If you're developing a web application or handling user input, make sure to implement proper security practices to prevent XSS attacks. Never trust user input and always sanitize and validate it before displaying it on your web pages.