Function RevenueBucket(month)
RevenueBucket = Application.WorksheetFunction.VLookup(month, Sheets("tables").Range("F:G"), 2, 0)
End Function
Function WhatCorpTable(month)
Call RevenueBucket(month)
WhatCorpTable = Application.WorksheetFunction.Match(RevenueBucket, Sheets("Corp-TableGraph").Rannge("A:A"), 0)
End Function
|