Good Morning Everyone,
I am having an issue with two Excel functions and was hoping the professionals might be able to point me in the correct direction to solve this issue.
I am creating a dimensional layout template for my work. We test component dimensions and I want to create a formal document to standardize the layout and provide some minimal statistics. I have ran into an issue with comparing a range of data values to an upper and lower spec limit.
I want to create a formula that will search my sample data and compare to the given upper and lower spec limit for the dimension being measured. I am using the IF and AND formulas to accomplish this task, however, my formula returns a #VALUE! Error. I would like the formula to return “Pass” if the data is within the upper and lower spec limit. I would like the formula to return “Fail” if any value in my sample data is outside the upper and lower spec limit.
I have double checked to ensure my cells are formatted as numerical and there are no periods, commas, or spaces in the cells I’m applying the formula to. If someone could take a look I would appreciate it.
Here is the formula I’m attempting to use:
I have also included an example Excel sheet for your reference.
Side note: I would like to use conditional formatting to highlight (background in red) any sample data outside the upper and lower limits. Any idea how I might do this? Conditional formatting only has a “Between” function. I would need the opposite. The use of VBA is always an option.
Thank you so much for any support you may be able to give.
Bookmarks