Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

minus multiplication sign before

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Minus or Multiplication sign before True or False

Minus or Multiplication sign before True or False

ResolvedVersion 2003

Angela has attended:
Excel VBA Intro Intermediate course

Minus or Multiplication sign before True or False

Hi
I just came across a formula in a spreadsheet that I have to update

=OR(A48-TRUE,A49=TRUE,A50=TRUE)

I don't understand what the minus sign before 'TRUE' means.
I have also come across formulas with * before TRUE.

Grateful for your help on this.

Many thanks

RE: Minus or Multiplication sign before True or False

Hi Angela

Thank you for the question.

If you use TRUE in a calculation it is treated as a 1, so multiplying by TRUE I can see no reason for. As for your calculation with the OR it reduces A48 by one. If A48 contained False or True then A48-True would reverse the value, or its the same as A48=FALSE.

I hope that helps

Laura GB

Excel tip:

Add Text to Displayed Numbers in Excel 2010

To add text to a number in a cell, you need to go to the Home tab on the Ribbon, and click on the Cells group. Select Format Cells from the drop down menu then Custom from the Category list. In the Type box select General. After the word General, enter a space, then opening quotation marks, then the word you want to type and then closing quotation marks. Click on OK and you have your text!

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.