English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there a way to have 3 diffrent choices of formulas? like for example ( 1year, 2year, and 3year) I need to calculate something diffrent for each one and I will have them in a drop down box. When someone chooses one, then it will have to calculate the correct formula for it to work. I tried the "IF" but it doesn't seem to work.

2007-12-28 06:08:51 · 1 answers · asked by Anonymous in Computers & Internet Software

1 answers

Yes, you can do exactly what you want and you are doing the right thing using IF.

Here is a quick spreadsheet example:

In Cell A1 type any number

In cell C1 create your drop down list button (1year, 2year, 3year).

In Cell E1 type the following formula (all on one line no spaces)
=IF(C1="1year",A1*10%,
IF(C1="2year",A1*20%,
A1*30%))

Done.

Change the calculations A1*10% etc to the calculations you want.

2007-12-28 19:41:13 · answer #1 · answered by vbmica 7 · 0 0

fedest.com, questions and answers