Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
This NG provided me with the formula below to find a number on Col B based on the date(s) on Column A. Please edit the formula to find the number on Col B based on the "month" on Col A. Thank you. Sub FindNumber() Dim rngData As Range Dim strPWord As String Set rngData = Worksheets("FindNumber").Range("A:B") strPWord = CStr(Application.VLookup(CLng(Date), rngData, 2, 0)) MsgBox strPWord End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup function which recognises many dates in one month | Excel Discussion (Misc queries) | |||
VLOOKUP specific data for month required via dropdown list | Excel Worksheet Functions | |||
=VLOOKUP(1,Nationality!B5:B29,IF(MONTH(date)6,MONTH(date)-6, MON | Excel Worksheet Functions | |||
When using MONTH function on Blank Cell!! Returns Month=Jan! | Excel Discussion (Misc queries) | |||
transfer cell $ amount to other sheet month-to-month without overc | Excel Discussion (Misc queries) |