For formula

Kalpesh123

New Member
Joined
Dec 30, 2018
Messages
22
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 BCDEFGHIJ
1Type priceqtytaxexp 1exp 2totalNet
2INT1015=(b1*c1)*10%=(b1*c1)*.25%=(b1*c1)*.45%=(b1*c1)-d1-e1-f1=g2
3DL(-13)10=(b1*c1)*18%=(b1*c1)*.40%=(b1*c1)*.20%=(b1*c1)+d1+e1+f1=h3+g2
4SL1510=(b1*c1)*18%=(b1*c1)*.75%=(b1*c1)*5%=(b1*c1)-d1-e1-f1=h4+g3
5INT
6INT
7DL
8SL
9DL
10SL
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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).
 
Upvote 0

Forum statistics

Threads
1,213,517
Messages
6,114,085
Members
448,548
Latest member
harryls

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