简体   繁体   中英

How to insert an ELSE IF in as google sheets, as I can't seem to use 2 IF Statements in the same cell?

I am trying to make a formula that changes depending on the cell containing the sex value however I can't seem to correct it. I am new to spreadsheets so I may be missing a big and obvious step.

=IF(C3="Female" (655.1+(9.563 C6)+(1.850 C7)-(4.676 C4)) ELSE IF (C3="Male" (66.5+(13.75 C6)+(5.003 C7)-(6.75 C4))))

因此,在没有示例的情况下,这就是我编辑/更正现有公式的方式:

=IF(C3="Female",(655.1+(9.563 * C6)+(1.850 * C7)-(4.676 * C4)),IF(C3="Male",(66.5+(13.75 * C6)+(5.003 * C7)-(6.75 * C4),"error")))

try:

=IF(C3="Female"; 
 (655.1+(9.563*C6)+(1.850*C7)-(4.676*C4)); 
 (66.5+(13.75*C6)+(5.003*C7)-(6.75*C4))))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM