Apr 19 2022 01:21 AM
Hello,
I am writing a formula for table from column A to Column U. (In the dutch version so I translated the formula from dutch to english).
The Formula is located in A4 Column A is called "Status" and at certain points within the table when you enter data the status needs to change. I got six status effects.
Now in column K/Q/S I made checkboxes and in Column L/R/T I assigned the True and False statements so I could use the checkboxes in the Formula.
This is the formula I came up with but it ain't working
But it appears to not have been working, can somebody help me fixing the formula.
Apr 19 2022 01:55 AM
@Jliersenvlst You include a part ALS(J4=NU........
When the IF statements evaluate this part it breaks as NU is not recognized. So enter "NU" if you want to test for the word NU or, in case you intend to use the NU function, use NU() (NOW() in English).
But perhaps VANDAAG() (TODAY() in English) will have a better result.
Apr 19 2022 02:18 AM - edited Apr 19 2022 02:33 AM
@Riny_van_Eekelen I tried both the NOW() and the TODAY() both doesn't seem to work. The formula works fine after putting a date in, after that it doesn't work anymore. When i check the boxes nothing is happening. :(
Apr 19 2022 02:41 AM
Solution=IF(T4=TRUE,"canceled",IF(R4=TRUE,"complete",IF(L4=TRUE,"process finished",IF(AND(J4<>"",J4<=TODAY()),"in process",IF(AND(J4<>"",J4>TODAY()),"assigned",IF(J4="","not assigned",""))))))
You can try this formula which seems to work in my sheet if i correctly understand what you want to do.
Apr 19 2022 03:01 AM
Apr 19 2022 03:44 AM
I don't understand why you have changed the suggested formula.
The formula returns "Assigned" if the date is in the future. In the attached file the date in cell J5 is "19.05.2022" and the formula returns "Assigned" as intended. On the 19th of may 2022 the formula returns "in process" in cell A5. In cell J9 the date is "11.03.2022" and the formula returns "in process" in cell A9 as intended.
If you want these results you can simply implement the suggested formula.
Apr 19 2022 03:47 AM