S
SteveG
Hi All,
I have a workbook that has a RollUp sheet that pulls in data for each
workday of the month. The sheets that RollUp pulls from are named
Day1, Day 2, Day3 up to the last business day. The headers in the
RollUp are assigned the names Day, 1, Day 2 etc.. as well. I then have
a sheet that pulls certain data from the Rollup sheet data to be
presented as a daily report. So for Day 1, it would pull from A1:H100
in the RollUp sheet, Day 2 pull from range I1100 and so on through to
the last business day. The row references are always constant but the
columns shift for each new day. Currently, the report have basic
formulas like =RollUp!A1 for each piece of data to be retrived from
RollUp that have to be changed each day to accomodate the shift. What
I am looking to do is to write a formula or code that would make the
formulas shift over the correct number of columns automatically when
the day changes. I thought of creating a table that would return what
the workdays were in date format and then using a conditional IF, COUNT
with maybe INDIRECT to have the column reference shift but can't seem to
get throuugh it. If an example sheet would help, I could provide one.
Any ideas are much appreciated!
Thanks,
Steve
I have a workbook that has a RollUp sheet that pulls in data for each
workday of the month. The sheets that RollUp pulls from are named
Day1, Day 2, Day3 up to the last business day. The headers in the
RollUp are assigned the names Day, 1, Day 2 etc.. as well. I then have
a sheet that pulls certain data from the Rollup sheet data to be
presented as a daily report. So for Day 1, it would pull from A1:H100
in the RollUp sheet, Day 2 pull from range I1100 and so on through to
the last business day. The row references are always constant but the
columns shift for each new day. Currently, the report have basic
formulas like =RollUp!A1 for each piece of data to be retrived from
RollUp that have to be changed each day to accomodate the shift. What
I am looking to do is to write a formula or code that would make the
formulas shift over the correct number of columns automatically when
the day changes. I thought of creating a table that would return what
the workdays were in date format and then using a conditional IF, COUNT
with maybe INDIRECT to have the column reference shift but can't seem to
get throuugh it. If an example sheet would help, I could provide one.
Any ideas are much appreciated!
Thanks,
Steve