bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
I've got a pseudo form that I made using cells in a worksheet that must check for valid user input before passing data along to a query.
I've built a table of potential errors with the logic in the next column (checking for the error).
I'd like to look for "Error" within the range of errors, and return the text describing the first error encountered.
If I use lookup or vlookup, i get the N/A error. I'm certain theres a fancy way to do this that I'm not aware of.
Example data:
Error #, description,....... logic
1........no name entered... OK
2........invalid zip code......OK
3........no address given....ERROR
4........enter phone #.......OK
5........enter something.....ERROR
I would expect the formula to return the no address error as it is first. Using count-if i can count the # of errors
I've built a table of potential errors with the logic in the next column (checking for the error).
I'd like to look for "Error" within the range of errors, and return the text describing the first error encountered.
If I use lookup or vlookup, i get the N/A error. I'm certain theres a fancy way to do this that I'm not aware of.
Example data:
Error #, description,....... logic
1........no name entered... OK
2........invalid zip code......OK
3........no address given....ERROR
4........enter phone #.......OK
5........enter something.....ERROR
I would expect the formula to return the no address error as it is first. Using count-if i can count the # of errors