Conditional Coding/Formula functions- High Urgency :/

srinath tantri

New Member
Joined
Dec 10, 2017
Messages
12
Hello all,

Hope you are doing well today,

I have a project which is incomplete without an excel tracker with the provided conditions below, will any one be able to help me with it?

Assume the cell values as below information provided:

· B9 = Receipt amount
· I9 = Level of Graduation
· M9 = Grade Achieved
· Q9 = Claim amount

Claim amount (Q9) = 100% of receipt amount (B9) if Grade achieved (M9) =”A” and if Level of Graduation (I9) = “Under Graduated” maximum up to 11500 and
= “Post graduated” maximum up to 18500.


Q9 = B9 (100%) if M9=”A” and if I9= “Under Graduated” then maximum amount = 11500 and
I9= “Post Graduated” then maximum amount=18500. ------------Condition 1


<tbody>
</tbody>


Claim amount (Q9) = 75% of receipt amount (B9) if Grade achieved (M9) = “B” and level of graduation (I9) = “Under Graduated” maximum up to 11500 and
= “Post graduated” maximum up to 18500.


(Q9) = B9 (75%) if M9= “B” and if I9= “Under Graduated” then maximum amount = 11500 and
I9= “Post Graduated” then maximum amount=18500. -----------Condition 2


<tbody>
</tbody>

Claim amount (Q9) = 0% of receipt amount (B9) if Grade achieved (M9) = “C”

(Q9) = B9 (0%) if M9=“C”

<tbody>
</tbody>

Appreciate all your efforts and help in providing resolution for this tool in advance.

Do let me know in case you have anything else for me.

Thank you so much!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Srinath, try this in Q9:

Code:
=MIN(B9*IF(M9="A",100%,IF(M9="B",75%,0%)),IF(UPPER(LEFT(I9,1))="P",18500,IF(UPPER(LEFT(I9,1))="U",11500)))
 
Upvote 0
Assume the below cell values information provided:

· B9 = Receipt amount
· I9 = Level of Graduation
· M9 = Grade Achieved
· Q9 = Claim amount

Claim amount (Q9) = 100% of receipt amount (B9) if Grade achieved (M9) =”A” and if Level of Graduation (I9) = “Under Graduated” maximum up to 11500 and
= “Post graduated” maximum up to 18500.

Q9 = B9 (100%) if M9=”A” and if I9= “Under Graduated” then maximum amount = 11500 and
I9= “Post Graduated” then maximum amount=18500. ------------Condition 1


Claim amount (Q9) = 75% of receipt amount (B9) if Grade achieved (M9) = “B” and level of graduation (I9) = “Under Graduated”
= “Post graduated”

If receipt amount (B9) exceeds 11500 for Under Graduate (I9) then 75% on 11500
If receipt amount (B9) exceeds 18500 for Post Graduate (I9) then 75% on 18500

(Q9) = B9 (75%) if M9= “B” and if I9= “Under Graduated”
I9= “Post Graduated” -----------Condition 2


If B9> 11500 for “Under Graduated” then 75% on 11500 for Under Graduate.
If B9>18500 for “Post graduated” then 75% on 18500 for Post graduate.

Claim amount (Q9) = 0% of receipt amount (B9) if Grade achieved (M9) = “C”


(Q9) = B9 (0%) if M9=“C” -------------Condition 3


Formula already available is =MIN(B9*IF(M9="A",100%,IF(M9="B",75%,0%)),IF(UPPER(LEFT(I9,1))="P",18500,IF(UPPER(LEFT(I9,1))="U",11500)))
This formula calculates 75% on what ever receipt amount is provided.
However we need to have formula corrected i.e. when receipt amount exceeds 11500 for under graduate and 18500 formula must calculate 75% on the MAX amount.


Thank you all and appreciate all your efforts in providing the resolution on this promptly in advance!
 
Upvote 0
Hi, Srinath. I see: the additional stipulation was not clear to me from the original post. Try this:

Code:
=IF(M9="A",100%,IF(M9="B",75%,0%))*MIN(B9,IF(UPPER(LEFT(I9,1))="P",18500,IF(UPPER(LEFT(I9,1))="U",11500)))
 
Upvote 0
Thank you so much for your assistance on this, i really appreciate your prompt response.

I will try to check this and will let you know in case i have any further issues or concerns,
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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