PatrickCars2
New Member
- Joined
- Jan 19, 2017
- Messages
- 17
Hi everyone.
So I'm trying to do the following.
I have a column with a Checkbox, where the options are true or false, simple.
If the option is set to TRUE, I want it to register the date that the checkbox was checked. If it has not been checked, to count the days that have passed since the estimated date.
This is my expected result being today the 27/07/2017
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Estimated Date(data)[/TD]
[TD]Checkbox[/TD]
[TD]checkbox result[/TD]
[TD]Done when?[/TD]
[TD]scenario number#[/TD]
[/TR]
[TR]
[TD]18/07/2017[/TD]
[TD]checked[/TD]
[TD]TRUE[/TD]
[TD]18/07/2017[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]20/07/2017[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD]7[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]23/07/2017[/TD]
[TD]checked[/TD]
[TD]TRUE[/TD]
[TD]24/07/2017[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]25/07/2017[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD]2[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
Scenario 1: Due date 18/07/2017 and was done that day.
Scenario 2 and 4: Nobody has done it yet, so its counting the amount of days that have passed since the estimated date.
Scneario 3: Due date 23/07/2017 and was done the following day.
I tried IF(A2=TRUE,TODAY(),A2-TODAY()) but it doesn't give me the result that I want. It either gives me the current date which seems to update every time I open the Excel or when it's FALSE, the result is always 01/01/1900.
PLUS ADDON: If there is a possibility to also save in a new column the windows user who did it, the better.
Thank you in advance.
Regards.
So I'm trying to do the following.
I have a column with a Checkbox, where the options are true or false, simple.
If the option is set to TRUE, I want it to register the date that the checkbox was checked. If it has not been checked, to count the days that have passed since the estimated date.
This is my expected result being today the 27/07/2017
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Estimated Date(data)[/TD]
[TD]Checkbox[/TD]
[TD]checkbox result[/TD]
[TD]Done when?[/TD]
[TD]scenario number#[/TD]
[/TR]
[TR]
[TD]18/07/2017[/TD]
[TD]checked[/TD]
[TD]TRUE[/TD]
[TD]18/07/2017[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]20/07/2017[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD]7[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]23/07/2017[/TD]
[TD]checked[/TD]
[TD]TRUE[/TD]
[TD]24/07/2017[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]25/07/2017[/TD]
[TD][/TD]
[TD]FALSE[/TD]
[TD]2[/TD]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
Scenario 1: Due date 18/07/2017 and was done that day.
Scenario 2 and 4: Nobody has done it yet, so its counting the amount of days that have passed since the estimated date.
Scneario 3: Due date 23/07/2017 and was done the following day.
I tried IF(A2=TRUE,TODAY(),A2-TODAY()) but it doesn't give me the result that I want. It either gives me the current date which seems to update every time I open the Excel or when it's FALSE, the result is always 01/01/1900.
PLUS ADDON: If there is a possibility to also save in a new column the windows user who did it, the better.
Thank you in advance.
Regards.