Boolean (blue flag) troubles

Hello, I'm having trouble understanding and removing the "the formula uses Boolean in place of a number". Any help would be greatly appreciated.


Here's a couple images to show what I'm working with.

The first image is the overview... the rates "120" "180" "58" and so on are auto populated depending on the first column "API" or "Admin". There are more options beyond API and Admin, but this is 2 of the options.


The second image shows the formula I used for each of these cells.

iPhone SE, iOS 17

Posted on Mar 6, 2024 6:12 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 6, 2024 7:50 AM

IF is structured like this:


=IF(if-expression,if-true,if-false)


You've got only two of the required three. Add the third (i.e. you need both an if-true and if-false) and all will be well.


However, I don't think you should need a long formula like that. I think you can consider using SUMIF or SUMIFS.


SUMIF – Apple Support (UK)

SUMIFS – Apple Support (UK)


SG



4 replies
Question marked as Top-ranking reply

Mar 6, 2024 7:50 AM in response to Jhadrava

IF is structured like this:


=IF(if-expression,if-true,if-false)


You've got only two of the required three. Add the third (i.e. you need both an if-true and if-false) and all will be well.


However, I don't think you should need a long formula like that. I think you can consider using SUMIF or SUMIFS.


SUMIF – Apple Support (UK)

SUMIFS – Apple Support (UK)


SG



Mar 6, 2024 7:46 AM in response to Jhadrava

Not enough information to be sure but I think it is because you did not include any "else" (if false) results in your IF statements.


=IF(condition, if_true, if_false)


If one of your conditions is not met, the IF statement returns FALSE. FALSE is a boolean, not a number. Numbers will convert it into a zero if you are using it in a math formula but will warn you about it. This may be what you want:


=IF(B11=Abbreviation Level II Tech, ST Level II Tech, 0)


There may be an easier way to do what you are trying to do. Often when a formula includes a lot of similar sub-formulas (like all your IFs added together) there is a simpler way to do it.


Please go into Numbers Preferences and turn off "use header names as labels". It makes it so much easier for us to help when formulas use the normal B11 type references instead of those long names.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Boolean (blue flag) troubles

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.