Using this Libre Calc statement: =if(B4=50,100)

  • Thread starter Thread starter barryj
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around a Libre Calc formula, specifically the use of the IF statement to control cell output based on a condition. The original poster seeks to modify the output of the formula to avoid displaying FALSE when a condition is not met.

Discussion Character

  • Exploratory, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the syntax of the IF statement in Libre Calc and compare it to Excel. Questions arise about how to modify the output to display an empty cell instead of FALSE.

Discussion Status

Some participants have offered suggestions for modifying the formula, and one participant confirmed a successful adjustment to the formula that meets the original poster's needs. There is an acknowledgment of the importance of syntax in achieving the desired output.

Contextual Notes

Participants reference a guide for Libre Calc, indicating that there may be specific syntax or functions that differ from Excel. The original poster expresses uncertainty about whether this forum is the appropriate place for their question.

barryj
Messages
856
Reaction score
51
Homework Statement
I am need to use libre calc if function to perform calculations .
Relevant Equations
NA
Consider this Libre Calc if statement:
=if(B4=50,100) if B4 is 50 then 100 is displayed but if B4 is not 50 then FALSE is displayed.
I do not want FALSE displayed. I want the cell to be empty.

How can I do this?

Sorry if this is the wrong place to ask this.
 
Physics news on Phys.org
HI,

Can't find a reference manual. Like Excel (?:) ), doesn't calc have something like IF(B4=50,100," ") ?

[edit] Ah, there's a guide, which says (p 255):

=IF(C31>140, “HIGH”, “OK”)

Logical functions can also be performed as​
represented by the IF statement which results in a​
conditional response based upon the data in the​
identified cell. In this example, if the contents of C31​
is greater than 140, then HIGH is displayed,​
otherwise OK is displayed.​
##\ ##
 
  • Like
Likes   Reactions: berkeman
If it's like excel, you probably don't want the space between the quotation marks
 
  • Informative
  • Like
Likes   Reactions: berkeman and BvU
Thanks =if(B4=50,100,"") works.
I think I tried that before but it works now. The "" is the trick.
Thanks all.
 
  • Like
Likes   Reactions: BvU and berkeman

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
6K
  • · Replies 11 ·
Replies
11
Views
1K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K