Hi there,
I have a dataset that is entered daily into the date column (Column B) of a worksheet. Each daily entry has the corresponding week number placed next to it through the WeekNum function (Column A), which has weeks of the year marked as numbers (27, 28, 29, 30 etc.). I am using the week number column to summarise that week's values on another worksheet.
I would like to create a formula on the summary worksheet that returns the week ending date by looking up the friday or saturday value (column B) next to the week number (column A). For example, week number 27 on the summary worksheet, will look for 27 in the WeekNum column on the dataset worksheet, find the text Friday or Saturday, then return the full date value (Friday, 4th July 2014) to the week ending column on the summary worksheet.
Any ideas as to how this could be constructed?
I was thinking the logic would be:
For Week number (27), search for 27 on the dataset sheet in column A; where 27 is found, search for text string 'Friday' in column B, then return the full value for that cell ("Friday, 4th July, 2014")
I have a dataset that is entered daily into the date column (Column B) of a worksheet. Each daily entry has the corresponding week number placed next to it through the WeekNum function (Column A), which has weeks of the year marked as numbers (27, 28, 29, 30 etc.). I am using the week number column to summarise that week's values on another worksheet.
I would like to create a formula on the summary worksheet that returns the week ending date by looking up the friday or saturday value (column B) next to the week number (column A). For example, week number 27 on the summary worksheet, will look for 27 in the WeekNum column on the dataset worksheet, find the text Friday or Saturday, then return the full date value (Friday, 4th July 2014) to the week ending column on the summary worksheet.
Any ideas as to how this could be constructed?
I was thinking the logic would be:
For Week number (27), search for 27 on the dataset sheet in column A; where 27 is found, search for text string 'Friday' in column B, then return the full value for that cell ("Friday, 4th July, 2014")