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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

RJPotts

Board Regular
Joined
Apr 11, 2007
Messages
139
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,748
Messages
5,855,442
Members
431,733
Latest member
bestassignmentexpert789

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