Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49946

Program a VLOOKUP formula

$
0
0
I would like to program this formula as VBA. Is this possible? If so what would be the best way to do this? The destination cell would be Q2.

Thank you in advance!



Code:

=(VLOOKUP($B2,Bulls!$A:H,8,FALSE)*0.5)+(VLOOKUP($E2,Bulls!$A:H,8,FALSE)*0.25)

Viewing all articles
Browse latest Browse all 49946

Trending Articles