# Pls Help, newbie need assistance in excel formulas

#### clkpd7

##### New Member
dear all,

as all u people can see. I am a newbie. I needed some help for some calculations using excel.

I have two columns, A and B. which means C will be the ans

criteria is

If A is below than 2, C will be 45
if A is above 2, it will be 45+18 and if it is 4 it will be 45+18+18, it will carry on adding 18 till if A is 6, it will show 140. if it is 11 and above it will be 140+45 and if A is 13 it will be 140+45+18 and carry on adding 18 till it hits 16. and this cycle will continue.

B will be simplier. If B is 20 it will show in C as 35 if more than 20 it will add 2.5 to it for example if B is 25 it will be (25-20=5 * 2.5)+ 35

I koe it may b abit confusing. But i really it..

pls pls assist.
best rgds

I hope both criteria will reflect in C

### Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I hope understood, let me give to you the formula:

- if you want to add both results you should use at C3 cell (if your data start at 3rd row):

=IF(A3<2,IF(B3<20,35,(35+((B3-20)*2.5)))+45,IF(B3<20,35,(35+((B3-20)*2.5)))+(45+((A3-2)*18)))

here are separate formulas to solve each one of the cases:

for A3 Cell value situation:
=IF(A3<=2,45,45+((A3-2)*18))

For B3 Cell value situation:
=IF(B3<20,35,(35+((B3-20)*2.5)))

AWalle

Replies
6
Views
185
Replies
7
Views
137
Replies
4
Views
165
Replies
1
Views
432
Replies
4
Views
137

1,218,593
Messages
6,143,379
Members
450,483
Latest member
santvik234

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

### Which adblocker are you using?

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

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