Need Formula

Discuss the spreadsheet application
Post Reply
Wellsy
Posts: 1
Joined: Sat Sep 22, 2018 3:16 pm

Need Formula

Post by Wellsy »

Hi, I'm new to OpenOffice so please accept my apologies in advance. I need a formula to calculate a payment

In English - IF A3 says "Yes" the A2 is A1 Divided by 2, IF A3 says "NO" then A2 is 0 (zero)

Any guidance would be appreciated
OpenOffice 4.1.3 on Windows 10
Bald Eagle
Posts: 68
Joined: Wed Apr 19, 2017 9:22 pm

Re: Need Formula

Post by Bald Eagle »

If a1 is a number, and A3 is Yes/No,

Just put

Code: Select all

=IF(A3="Yes",A1/2,0)
into A2
OpenOffice 4.1.1 on Windows 7
User avatar
keme
Volunteer
Posts: 3704
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Need Formula

Post by keme »

Bald Eagle wrote:

Code: Select all

=IF(A3="Yes",A1/2,0)
Commas won't work in OpenOffice Calc. Use semicolon.

Code: Select all

=IF(A3="Yes";A1/2;0)
Post Reply