Need help setting up a conditional rule

vas1

New Member
Joined
Mar 15, 2011
Messages
1
Hi all.

I have an excel sheet with Col A and Col B. What I want to do is that I want to prevent the users from typing anything in Col B until they have typed anything in Col A.

eg: If col A is NUMBER and col B is USER,
then USER value should come only if there is a corresponding value in col A in the same row.

Any help is appreciated. Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,455
Hi and welcome.

You could use the Data Validation feature...

  • Select column B
  • Select from the menu Data\ Validation
    • Allow: Custom
    • Formula: =NOT(ISBLANK(A1))
    • Ignore Blank: unchecked
    • Click on the Error Alert tab and define your alert message.
    • OK
 
Upvote 0

Forum statistics

Threads
1,190,774
Messages
5,982,842
Members
439,799
Latest member
matts12

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
Top