ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formula (https://www.excelbanter.com/excel-discussion-misc-queries/99689-conditional-formula.html)

tqdinh22

Conditional Formula
 

Is there a conditional formula to do something like this...

If cell A3 equals "HOUR" or "DAY" then display "=cellA1 *
cellA2"....but if cell A3 equals "FIXED" then displace "=CELLA2"

Sorry if this is a bad description, I am a beginner with excel....


--
tqdinh22
------------------------------------------------------------------------
tqdinh22's Profile: http://www.excelforum.com/member.php...o&userid=36453
View this thread: http://www.excelforum.com/showthread...hreadid=562170


Trevor Shuttleworth

Conditional Formula
 
=IF(OR(A3="HOUR",A3="DAY"),A1*A2,IF(A3="FIXED",A2, ""))

Regards

Trevor


"tqdinh22" wrote in
message ...

Is there a conditional formula to do something like this...

If cell A3 equals "HOUR" or "DAY" then display "=cellA1 *
cellA2"....but if cell A3 equals "FIXED" then displace "=CELLA2"

Sorry if this is a bad description, I am a beginner with excel....


--
tqdinh22
------------------------------------------------------------------------
tqdinh22's Profile:
http://www.excelforum.com/member.php...o&userid=36453
View this thread: http://www.excelforum.com/showthread...hreadid=562170




Bob Phillips

Conditional Formula
 
=IF(OR(A3="HOUR",A3="DAY"),A1*A2,IF(A3="FIXED",A2, ""))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"tqdinh22" wrote in
message ...

Is there a conditional formula to do something like this...

If cell A3 equals "HOUR" or "DAY" then display "=cellA1 *
cellA2"....but if cell A3 equals "FIXED" then displace "=CELLA2"

Sorry if this is a bad description, I am a beginner with excel....


--
tqdinh22
------------------------------------------------------------------------
tqdinh22's Profile:

http://www.excelforum.com/member.php...o&userid=36453
View this thread: http://www.excelforum.com/showthread...hreadid=562170





All times are GMT +1. The time now is 08:52 PM.

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