Sneaky Pete
New Member
- Joined
- Jun 3, 2016
- Messages
- 23
Hello all,
I've got a question about the if, and, and or function.
This function has to look in 2 cells for a value and then give a specific result.
I will explain this by a example.
Part 1
In cell A1 the user has to choose from a listbox for a value A, B, C or D.
In cell A2 the user can also choose from a listbox for a value 1, 2.
Ok, if the user select in cell A1 A and in cell B1 1, then it should return a list 100, 200, 300, 400 and 500. If the value in cell B2 is 2 then it should return a list of 600, 700, 800, 900.
Part 2
When the user select B in cell A1 and 1 in B2, the it should return a list of 110, 210, 310, 410 or 510. If the value in cell B1 is 2 then it should return a list of 610, 710, 810, 910.
I've been trying this with a if(and(or)) function.
Only for the first part it works, when I put part 2 to the formula (to create a nested function) it gives a error like you got to many variables for this function. ?
Eventually I want the formula to return these values as input for further calculations.
Hope you can give me a solution.
Thanx in advance.
Sneaky Pete
I've got a question about the if, and, and or function.
This function has to look in 2 cells for a value and then give a specific result.
I will explain this by a example.
Part 1
In cell A1 the user has to choose from a listbox for a value A, B, C or D.
In cell A2 the user can also choose from a listbox for a value 1, 2.
Ok, if the user select in cell A1 A and in cell B1 1, then it should return a list 100, 200, 300, 400 and 500. If the value in cell B2 is 2 then it should return a list of 600, 700, 800, 900.
Part 2
When the user select B in cell A1 and 1 in B2, the it should return a list of 110, 210, 310, 410 or 510. If the value in cell B1 is 2 then it should return a list of 610, 710, 810, 910.
I've been trying this with a if(and(or)) function.
Only for the first part it works, when I put part 2 to the formula (to create a nested function) it gives a error like you got to many variables for this function. ?
Eventually I want the formula to return these values as input for further calculations.
Hope you can give me a solution.
Thanx in advance.
Sneaky Pete