ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Conditional test (https://www.excelbanter.com/new-users-excel/238724-conditional-test.html)

Abraham Zacharia

Conditional test
 
I am trying to use the if condition to try and achieve the following outcome
from a list as a drop down box.

1. If the value in cell A2 = x (this is a text input an if true)
then
value in cell J2 = Sum(B2:H2)*40%
else
value in cell J2 = Sum(B2:H2)*42.5%

Max

Conditional test
 
Try in J2:
=IF(A2="","",IF(A2="x",SUM(B2:H2)*40%,SUM(B2:H2)*4 2.5%))

Success? Click the YES below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Abraham Zacharia" wrote:
I am trying to use the if condition to try and achieve the following outcome
from a list as a drop down box.

1. If the value in cell A2 = x (this is a text input an if true)
then
value in cell J2 = Sum(B2:H2)*40%
else
value in cell J2 = Sum(B2:H2)*42.5%



All times are GMT +1. The time now is 09:37 AM.

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