Hi, I`m trying to get a formula correct.
What i`m trying to do is, if (O3=false then Y3= -1.5 * N3), If O3=True, Then Y3 =.60
Am I far off with =IF(O3="False");Y3=(1.5*N3),;If(O3="True");Y3,.60))
Thank you in advance.
[Solved] If this then that issue
[Solved] If this then that issue
Last edited by Hagar Delest on Wed Feb 21, 2018 11:34 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
Open Office 4.1.5
Re: If this then that issue
You should only need one IF statement; the syntax is IF(Test;Then _value;Otherwise_value)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: If this then that issue
in Calc Help look up ### error message (hint: missing bracket)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: If this then that issue
Am I far off with the following
=IF(O3="False");Y3=(-1.5*N3),;(O3="True");Y3,.60)))
=IF(O3="False");Y3=(-1.5*N3),;(O3="True");Y3,.60)))
Open Office 4.1.5
Re: If this then that issue
Count your start and your closing brackets. You want to do this - you have to learn to write the expression.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: If this then that issue
Did you ever read anything about using Calc (or any spreadsheet software)?
You cannot assign results to arbitrary cells by formulae. If you want to assign the result to cell Y3, you need to put the formula into cell Y3. Boolean values are simply used as test results. You don't need to compare them with anything. If O3 is Boolean (logical) and gives a test result, using it in the place of the condition in the IF() function, automatically applies the else-case if the condition came out FALSE. placed in Y3 should be appropriate.
You cannot assign results to arbitrary cells by formulae. If you want to assign the result to cell Y3, you need to put the formula into cell Y3. Boolean values are simply used as test results. You don't need to compare them with anything. If O3 is Boolean (logical) and gives a test result, using it in the place of the condition in the IF() function, automatically applies the else-case if the condition came out FALSE.
Code: Select all
=IF(O3;0.60;1.5*N3)
Last edited by Lupp on Sun Feb 18, 2018 11:02 pm, edited 1 time in total.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
---
Lupp from München
Re: If this then that issue
I`m new to all of this, That worked, Thank you for the help
Open Office 4.1.5
Re: If this then that issue
If you are new to spreadsheets you may find the following links helpful:
[Tutorial] Ten concepts that every Calc user should know
OpenOffice Spreadsheet Tutorial for Beginners with Examples
[Tutorial] Absolute, relative and mixed references
[Tutorial] Ten concepts that every Calc user should know
OpenOffice Spreadsheet Tutorial for Beginners with Examples
[Tutorial] Absolute, relative and mixed references
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
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers