I need an excel formula

I need an excel formula to correctly select the position pay amount when that position number is selected from the drop down on the Projects Tab. The pay amount information is on Sheet1.

I am currently using the following formual to calculate how much based on certain criteria:


Where the 500 is listed is where i need it to be dynamic and based upon what is selected on the drop down.

Ideas and suggestions are welcomed. Please see the attached.
Who is Participating?
barry houdiniConnect With a Mentor Commented:
I assume both 500s are dynamic as per teylyn's version

a little simpler to SUM the COUNTIFS and multiply by the VLOOKUP then it doesn't need to repeat....also SUM at the end is redundant.....


regards, barry
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Connect With a Mentor Microsoft MVP ExcelCommented:

in your file the value for Position 5 is 104, so the result will be different from the formula with the 500 hard-wired.


cheers, teylyn
Try this:


The VLOOKUP is using the drop down value to seek a result on Sheet1 in E:F, and selecting the 2nd parameter (the amount) with 0-exact match.

Just extend E1:F15 down if more positions are required in future...

wrt1meaAuthor Commented:
Works great! Thanks for the support!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.