To Do List

joes1945

New Member
Joined
Oct 30, 2002
Messages
9
I have a very simple To Do sheet. Cells B1-B40 are for the date the task is entered and Cells C1-C40 are for tasks. I would like the date cell in Column B to be blank until a task is entered in the adjacent cell in Column C, at which time it changes to today's date. Then I would like the date to remain unchanged until the task is removed or changed. If the task is cleared, the date cell again becomes blank and the cells are reusable for another task. I know that this requires VB code, but I have no idea where to begin. Sounds like it should be simple, but I've driven myself crazy trying to figure it out.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Iridium

Well-known Member
Joined
Jul 15, 2002
Messages
2,831
Shouldn't need VBA - try something on the lines of

B2=IF(ISBLANK(C2),"",TEXT(TODAY(),"dd-mm-yy"))
This message was edited by Chris Chattin on 2002-11-05 06:48
 

joes1945

New Member
Joined
Oct 30, 2002
Messages
9
Chris,
Thanks for the reply. Maybe I am doing something wrong, but I can't get that code to work. I also don't want the entry date to change when the day of the month changes. It should remain the entry date until the task is deleted or edited.
 

Forum statistics

Threads
1,144,307
Messages
5,723,627
Members
422,505
Latest member
Noar33

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