condition formula

gop365

New Member
Joined
Jan 27, 2005
Messages
2
looking fo a statement to pull from 3 variables.

A B C D E F G
9ga. x 8 3/4 x 120 = weight.
10ga. x 8 3/4 x 120 = weight
1/4 x 10 x 120 = weight.

threre are 3 possible entries for the first column all ...9ga. 10ga. and any standard number. I would like to make a statement in G1 to say...
If A1=9ga. then G1=9ga.calcualtion
If A1=10ga. then G1=10ga.calculation
If A1=any standard number then G1=0.2836*A1*C1*E1

the 9 and 10 gauge calcs are lengthy but will actually be math statements not text.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Dimli

Board Regular
Joined
Oct 15, 2004
Messages
109
Try..
=if(A1="9ga",calculation1,if(A1="10ga",calculation2,calculation3))
Will that work?
 

gop365

New Member
Joined
Jan 27, 2005
Messages
2
thank you, but for some reason excel reads two of the three commands. this is the problem i have been running into
 

Forum statistics

Threads
1,148,525
Messages
5,747,188
Members
424,068
Latest member
Salim khamis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top