Multiple comparison test, help sought THIS TOPIC IS NOW CLOS

Jak

Well-known Member
Joined
Apr 5, 2002
Messages
833
I need help to test three probable scenarios on a row-by-row basis if the area has been used.

The user may enter a Time in the following format i.e. 08:30, in three different combinations in a row as follows:

Example No(1)…C18,D18,E18 OR
Example No(2)…C18,D18,F18 OR
Example No(3)…F18

Once the user has finished entering their times, cell “I18” calculates the hours based on the combination of times entered.

If “I18” is =<-0.08027778 which is –2:01 hours and one of the three combinations has been used then a MsgBox needs to pop up to inform of the deficit. In short if one of the three combinations entered causes a deficit of –2:01 or greater in a cell in column "I" then an MsgBox pops up. This 3 in 1 test needs to loop through each used row. If none of the three combinations is true then no comparison is performed.

The first row in the range is 18. The last row is 43, columns C:F tested against I.

Any assistance on testing this multiple comparison would be welcomed.
This message was edited by Jak on 2002-07-15 23:49
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi Jak,

This seems reasonable, but please provide more detail in these three cells which create your result. What are the formulas and what do they mean (if we cannot decipher them from the post)? Also, is there only one time criteria to test?

Regards,
Jay
 
Upvote 0

Forum statistics

Threads
1,214,611
Messages
6,120,509
Members
448,967
Latest member
screechyboy79

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