Having trouble with 2 formulas...
Each column has 3 cells (plus header) There are 2 to 3 values that can be returned (In this case, biweekly paychecks where a couple months a year there are 3 pay periods)
The value = a specific date (pay date) in mm/dd/yyyy format
The value is found on another sheet based on the current year using (INDIRECT(YEAR(TODAY())
This can possibly be done 2 ways?
Option 1 (not sure if it's possible to create the second)
The first cell in the column should lookup the first value in a list that equals the current month.
The second cell in the column should lookup the second value in a list that equals the current month.
The third cell in the column should lookup the third / last value in a list that equals the current month.
Option 2 (more likely)
The first cell in the column should lookup the first value in a list that equals the current month.
Second cell = First cell + 14 days
Third Cell = If second cell + 14 days = next month, then return "", otherwise third cell = Second cell + 14 days
To get the first date value from the list, The formula that I was thinking would work is...
MATCH(TRUE,INDIRECT(YEAR(TODAY())&"!$B$7:$B$32")>MONTH(TODAY()),0)
or
MATCH(TRUE,INDIRECT(YEAR(TODAY())&"!$B$7:$B$32")=MONTH(TODAY()),0)
but nogo. Should i use an Index or lookup function instead?
To get cell the second and third cells to work. I thought this formula would work, but it does not.
IF(A3+14<>MONTH(TODAY()),"",A3+14)
Sample workbook attached.
Bookmarks