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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Try..
=if(A1="9ga",calculation1,if(A1="10ga",calculation2,calculation3))
Will that work?
 
Upvote 0
thank you, but for some reason excel reads two of the three commands. this is the problem i have been running into
 
Upvote 0

Forum statistics

Threads
1,222,414
Messages
6,165,891
Members
451,992
Latest member
kaurmanjodh

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
Back
Top