Data Validation Formulas.. Can if statements be used?

450nick

Well-known Member
Joined
May 11, 2009
Messages
507
Hi all,

I'm trying to put a limit on the value of a number entered into a cell, based on another cell. If the driving cell is set to one value (list box) then the maximum number to be entered is 1.7, otherwise it is to be less than 3. Can this be written into the formula section? I've had a go using this:

=IF(H63="Trenching Vessel (Plough)", "<=1.7","<=3")

It currently flags up any value as being wrong though - how do I check its operation?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Don't worry, figured it out!

Here's what I used: =IF(H63="Trenching Vessel (Plough)", H65<=1.7,H65<=3)
 
Upvote 0

Forum statistics

Threads
1,203,030
Messages
6,053,130
Members
444,640
Latest member
Dramonzo

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