ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Help With An If Formula (https://www.excelbanter.com/excel-discussion-misc-queries/71185-help-if-formula.html)

jwfakouri

Help With An If Formula
 

Hey everyone,


First time with an IF formulas.

A1=5
IF B1=2pk
C3=5/4
Please help.


--
jwfakouri
------------------------------------------------------------------------
jwfakouri's Profile: http://www.excelforum.com/member.php...o&userid=31435
View this thread: http://www.excelforum.com/showthread...hreadid=511581


pinmaster

Help With An If Formula
 

Maybe something like:

in C3
=IF(B1="2pk",A1/4,0)

basic of formula
IF(condition, if true, if false)

condition - B1 = "2pk" ....will calculate to TRUE or FALSE
if true - A1/4 or any value you want returned
if false - 0 or "" to return a blank cell or any value you want
returned

Hope this helps!
Jean-Guy


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=511581



All times are GMT +1. The time now is 08:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com