Adapted LOOKUP?

ChrisStandards

New Member
Joined
Oct 25, 2018
Messages
3
Good morning Gurus,

I have a table. Across the top (X-axis) it has the 365 days of the year and on the left (y-axis) it has a series of names. Each cell has a letter that is updated each day.

01 Jan | 02 Jan | 03 Jan
A
B
C

What I want to do is have a separate table with 7 columns that extrapolates the last seven days data from the year. It needs to display the entre column based on the date at the top.

I cant find a function that will do this.

Please can you help?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
A HLOOKUP should work.
On your existing sheet, create a named range (including date headings) called data_table. On the new sheet, cell A1 should be =INT(NOW()) with cells B1 onwards deducting one so you get seven days.
The formula in A2 would be:
=HLOOKUP(A$1,data_table,ROW(),FALSE)
Copy this across all seven columns and down as many rows as exist on the original sheet.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top