Help with IF, Nested IF and Vlookup! I dont know where to start

mookiebar

New Member
Joined
Feb 2, 2017
Messages
3
i have a certain reimbursement rate for certain zip codes. There are 2 levels, rural and super rural. Each has its own rate of reimbursement. For instance, Rural is 284.75, while super rural is 349.10-for one particular service (A0426)


Part of the problem is that there are different services. (A0426, A0427, A0428, A0429, A0433 and A0434). Each pays a different rate.
There is also mileage which is paid per mile (A0425).


We want to type in a zip code, service and mileage and have a formula that figures out how much to bill. Where do i start??? thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Welcome,
In my opinion you should first of all create a table with the following headers:
Zip Code;Rural/Super Rural;Service;Rate

After that it will be very easy to come to the results you need.

i have a certain reimbursement rate for certain zip codes. There are 2 levels, rural and super rural. Each has its own rate of reimbursement. For instance, Rural is 284.75, while super rural is 349.10-for one particular service (A0426)


Part of the problem is that there are different services. (A0426, A0427, A0428, A0429, A0433 and A0434). Each pays a different rate.
There is also mileage which is paid per mile (A0425).


We want to type in a zip code, service and mileage and have a formula that figures out how much to bill. Where do i start??? thanks
 
Last edited:
Upvote 0
I wish it were that simple.
Can you explain why i would need columns for service and rate?
In my mind i though i could just type in a zip code, service and # of miles and I would get a total billed amount. Its much more complex than i anticipated. Thanks!
 
Upvote 0
If i understood correctly what you need, i don't know if something similar to this example bellow would help.
You have the table from A1:E17 and then the criterias and result from G1:H5


Book1
ABCDEFGH
1Zip CodeRural/Super RuralServiceRateCostZip Code45678
212345RuralA0426284,75100Rural/Super RuralSuper Rural
312345Super RuralA0426349,1200ServiceA0427
445678RuralA0427222300Rate111
545678Super RuralA0427111100Cost11100
656446RuralA0428333200
756446Super RuralA0428115300
865465RuralA0429222150
965465Super RuralA0429111100
1054564RuralA0433333200
1154564Super RuralA0433115300
1211111RuralA0434222100
1311111Super RuralA0434111200
1433333RuralA0426333300
1533333Super RuralA0426115150
1655555RuralA0427222300
1755555Super RuralA0427111150
Sheet3
Cell Formulas
RangeFormula
H3{=INDEX($C$2:$C$17,MATCH(H$1&H$2,$A$2:$A$17&$B$2:$B$17,0))}
H4{=INDEX($D$2:$D$17,MATCH(H$1&H$2,$A$2:$A$17&$B$2:$B$17,0))}
H5{=INDEX($D$2:$D$17,MATCH(H$1&H$2,$A$2:$A$17&$B$2:$B$17,0))*INDEX($E$2:$E$17,MATCH(H$1&H$2,$A$2:$A$17&$B$2:$B$17,0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,216,014
Messages
6,128,287
Members
449,436
Latest member
blaineSpartan

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