ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Choosing from 2 formulas for one cell (https://www.excelbanter.com/excel-programming/329838-choosing-2-formulas-one-cell.html)

rechan

Choosing from 2 formulas for one cell
 
I need to use one of two formulas for one cell. I need the cell to either
figure 10% or 5% of another cell depending on the data I enter. Is there a
way to save formulas and then choose which one I want to use for that cell?

Mangesh

Choosing from 2 formulas for one cell
 
use if condition

= if(data=1,formula_1,formula_2)

e.g.:

if(A1=1,0.05*A2,0.1*A2)

Mangesh



"rechan" wrote in message
...
I need to use one of two formulas for one cell. I need the cell to either
figure 10% or 5% of another cell depending on the data I enter. Is there

a
way to save formulas and then choose which one I want to use for that

cell?




All times are GMT +1. The time now is 02:58 AM.

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