First do: File>Options>Customize Ribbon
Find the Developer box and check it. Close out of the options window.
Click on the developer tab
Click Visual Basic
On "This Workbook" right click
Insert>Module
in the window that pops up type:
Function GPUPerformance (p, t, c)
GPUPerformance =...