|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can anyone tell me how to insert a constraint that would give an input such as this.....
A B C D prod1 2.0 3.2 prod2 3.3 4.1 prod3 4.4 1.2 say if i have teh example above in an excel spreadsheet, and i need in column D constraints, such as: if column A is 'prod2' , D2=B2*C2*5 and if column A is 'prod3' , D3=B2*C2*10 any suggestions?
__________________
May buddha bless u |
|
#2
|
|||
|
|||
|
Put following if statement in D2
=if(A2="prod2,B2*C2*5,if(A2="prod3,B2*C2*10,0) S- |
|
#3
|
|||
|
|||
|
thanks i will try it in a bit
![]() |
|
#4
|
|||
|
|||
|
its noyt working.. im not sure if it has a problem recognizing particular text...!?!??!
|
|
#5
|
|||
|
|||
|
The attached workbook shows two methods of achieving what you want. The second is the better method as this is more flexible.
Good luck, Alan. |
|
#6
|
|||
|
|||
|
Thank you so much alan....
![]() |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > simple Excel function help.... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|