# For formula

#### Kalpesh123

##### New Member
I have 3 type formula need to apply different row
A select witch formulae need to apply
ROW2 ROW3 ROW4 ALL IS DIFFERENT FORMULAE
Some time i need apply same like row2 /row 3/row 4
then how to manage that all formulae in one sheet to
please give me some guide about it

 A B C D E F G H I J 1 Type price qty tax exp 1 exp 2 total Net 2 INT 10 15 =(b1*c1)*10% =(b1*c1)*.25% =(b1*c1)*.45% =(b1*c1)-d1-e1-f1 =g2 3 DL (-13) 10 =(b1*c1)*18% =(b1*c1)*.40% =(b1*c1)*.20% =(b1*c1)+d1+e1+f1 =h3+g2 4 SL 15 10 =(b1*c1)*18% =(b1*c1)*.75% =(b1*c1)*5% =(b1*c1)-d1-e1-f1 =h4+g3 5 INT 6 INT 7 DL 8 SL 9 DL 10 SL

### Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

#### Joe4

##### MrExcel MVP, Junior Admin
It looks like the formula is dependent on the "type" in column A. So one way is to just use IF formulas to indentify which formula to use.

The structure will look something like this:
=IF(type=x,formula a, formula b)

If three options, you will need to nest IF statements, i.e.
=IF(type=x,formula a,if(type=y,formula b,formula c))

So, your formula for cell D2 would be:
Rich (BB code):
``=IF(A2="INT",b1*c1*10%,b1*c1*18%)``
and your formula for cell E2 would be:
Rich (BB code):
``=IF(A2="INT",b1*c1*25%,IF(A2="DL",b1*c1*40%,b1*c1*75%))``

So, you should see the pattern, and can do the others the same way.
(note that since your values are all being multiplied in those formulas, the parentheses are not necessary - if everything is being multipled, order has no bearing on the result).

Replies
6
Views
110
Replies
10
Views
160
Replies
2
Views
251
Replies
0
Views
40
Replies
15
Views
184

1,127,531
Messages
5,625,369
Members
416,098
Latest member
jpmiralrio

### 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?

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