I figured out why its not returning any data, I just need to figure out a solution.
While my Paycodeid only exists in one of the three grandpaycodes when I started this report and grandpaycode of ALL was made, so I added the new GrandPaycode to the formula to see if it would return a rate and it did.
Can I make the If Then Statement LOOP until it finds one of GrandPaycodeID's that I need?
Maybe add the following line and if true to return to the top of the IF Then statement???
Else IF {PAYCAT1MM.GRANDPAYCODEID} = 11051