Manditory field

robrobedin

New Member
Joined
Mar 29, 2013
Messages
1
Hi

are you able to advise how I can code my worksheet for the following requirement


I have a worksheet that I update on a daily basis, there are 5 columns and the worksheet has a lot of other information on the rows above.

I want to be able to make column E manditory before closure when columns A - D are complete.

also baring in mind that this sheet will be updated daily so its a continuous workbook.


is this possible?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I think the approach I would take is;

Add an additional column and in there enter the formula (as it would be on row 2, adjust to suit first row of your data) =IF(AND(COUNTA(A2:D2)>0,E2=""),1,"")

Then add a cell showing the sum of that column. Add a macro with a before close event to check for the presence of anything exceeding 0 in that cell.

Best regards
Richard
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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