If Formula for excel

NAVAJO EPA

New Member
Joined
Mar 25, 2011
Messages
14
Excel Formula
I need a formula for my report records.

If in column D the amount is less then $100. divide the number by 2.
Put 1/2 of the number in column m and the other 1/2 of the number in column n.
 
tHANKS

I do want the zero to be in the columns that dont get used.

If greater then 100 then break 20% / 80% but columns m & n = $0.00

If less then 100 then break 50% / 50% but columns g & h = $0.00

hope that is english excel terms of understanding....

i laugh.
 
Upvote 0

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
but only break down if in column e states that it is a tariff check.
then break down according to
greater then $100.00 = 20%;80% with $0.00 in columns (m&n)not used.
less then $100.00 =50%; 50% with $0.00 in columns (g&h)not used.
 
Upvote 0
Aha!

Not quite the original question!


In Column M put = If(D2<100,D2/2,0)
In Column N put = If(D2<100,D2/2,0)
In Column G put =IF(AND(E2="Tariff Check",D2>=100),D2*0.2,0)
In Column H put =IF(AND(E2="Tariff Check",D2>=100),D2*0.8,0)

This will now put half of D2 in M&N if D2 less than 100, if more than/= 100 it will put 0.

In G2 it will check if E2 has Tarriff Check and if D2 more/= 100 will return 20% if not 0.

In H2 it will check if E2 has Tarriff Check and if D2 more/= 100 will return 80% if not 0.

Does that do the job?


Regards

Roger
 
Upvote 0
but only break down if in column e states that it is a tariff check.
*** use for all columns m&n- g&h ***

then break down according to
greater then $100.00 = 20%;80% with $0.00 in columns (m&n)not used.
less then $100.00 =50%; 50% with $0.00 in columns (g&h)not used.
 
Upvote 0
The formulas given works. I dont have to make it perfect. thank you so much for all your help. The record/ report looks better then ever now.
 
Upvote 0
In Column G put =IF(AND(E2="Tariff Check",D2>=100),D2*0.2,0)
In Column H put =IF(AND(E2="Tariff Check",D2>=100),D2*0.8,0)

In Column M put =IF(AND(E2="Tariff Check",D2<100),D2/2,0)
In Column N put =IF(AND(E2="Tariff Check",D2<100),D2/2,0)
 
Upvote 0
Once more I need help. I lost my files with all the codes- I need help once ore to figure out information - THANKYOU!
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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