When I added the "(AND" and ")"
=IF (AND(H6>R6;R6>S6;S6>U6);"Uptrend-Bluesky"; IF(AND(H6<R6;R6>S6;S6>U6);"Uptrend-Retrace"; IF(AND(R6<S6;S6>U6;"Reset"); IF(AND(R6>S6;S6<U6;"Reversal");"default"))))
--> result: #Value!
In this case you must put the nested IF into the position of the FALSE answer.
=IF(the first condition;result when TRUE;result when FALSE)
=IF(the first condition;result when TRUE;IF(the second condition;result when TRUE;result when FALSE))
...and so on.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
You missed the logical AND function from the multiple conditions.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Doesn't give an error and shows default when all of H6, R6, S6 and U6 are empty. You can copy that as is - Calc will convert the formula to one line; just make sure there are no leading spaces when you paste if you use the SELECT ALL option on the code box.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
Pro tip; break it down into small steps and do one step at a time, each step ensuring the syntax is correct. I find it easier sometimes to construct the formula, step by step, as multi-line text in a simple text editor then copy into Calc.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers