Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Formula help needed

Formula help needed

Formula help needed

I have created a form that looks just like an Excel spreadsheet. The form has 5 rows and 6 columns. Our customer will complete 1 to 5 rows & and the first & sixth cell of each row, depending on their request. If the first cell (in each row) is complete, then the sixth cell (of that same row) must be complete. If two rows have been completed and that is all the customer wants, how do I indicate in a formula that the validation doesn't need to occur. Is there some way to 'reset' at the end of each row (sixth cell). Customer could possibly 'tab' to next row and not enter anything in that first cell, and that would still be ok - and not create the pop-up validation error.

In my sample code below (which is the formula I currently have in the sixth cell), Prefix is the required first cell and Category is the sixth cell, from which customer selects from a drop down list. Note: this formula does not work correctly, because of other blank rows not completed.

@If(Prefix_!= "" & Category_1 = ""; @Failure("Please select a category."); @Success)

Thanks for the help,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close