Data Validation for multiple fields in User Form

Ridianok

New Member
Joined
Jun 4, 2015
Messages
1
Hello!

Apologies in advance if I'm posting it in incorrect forum or braking any rules (which I doubt :) )

I'm using Office 2010 Standard and have the following question.

Is it possible to have a data validation from multiple fields in user form?

At the moment my form looks like this

Name
Job Code
Mistakes
Dates x to y

With Name being a name, code being a mixed letters/numbers code, mistakes being a number and date being a date in a format of month,year (eg. May 2015).

I need to do the following:

If the Mistakes number is bigger than 0, then the result from this field would be wrong. If it is exactly 0 then its ok.

I also need to do a lookup on the specified name, part code and dates from a separate spread sheet. The tabs on the spread sheet are named after months (hence the Dates X to Y format of May 2015)

If a person with specified name did the specified job code in specified time period than the result is ok, if not than the result would be wrong.

With this I have 4 possible combinations to show me:

Ok(mistakes)Ok(Job done in specified time by a person)
Ok(mistakes)Wrong(Job not done in specified time)
Wrong(mistakes) Ok( Job done)
Wrong(mistakes) Wrong( Job not done)

I just started experimenting with VBA and currently this is a bit beyond me. I'd like to know whether something like that is even possible

Thank you in advance for any help and have a nice day!
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,985
Messages
6,122,607
Members
449,090
Latest member
vivek chauhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top