REFERENCE A COLUMN THAT SHIFTS LEFT EACH WEEK

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
Edit: Sorry the title is wrong. I meant shifts to the right.

Good day all!

I'm working on a sports spreadsheet that tracks stats for players each week. The report I get online has stats for each week listed and then average week at the end.

My current problem is that I am only interested in the average per week column which shifts to right after each week by 1. In the table below, the target column is I, TAR/G. Next week, that column will be shifted right 1 column to J, and so on.

How do I look up the player name and corresponding TAR/G data, even when the column shifts to the left? I'd like a formula ideally but a macro would be ok as a second choice.

Thanks for looking!

WR-targets.csv
ABCDEFGHI
1Week-By-Week TargetsAverages
2NameTeam123456TAR/G
3Puka NacuaLAR152071011-12.6
4Ja'Marr ChaseCIN9815919-12
5Davante AdamsLV9820134-10.8
6Justin JeffersonMIN12131396-10.6
7A.J. BrownPHI10614138-10.2
8Stefon DiggsBUF13712711-10
WR-targets
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I figured it out from another thread on this site.

=IFERROR(VLOOKUP(Z2,$A$3:$J$500,MATCH("TAR/G",$A$3:$J$3,0),0),"")
 
Upvote 0
Solution
I figured it out from another thread on this site.

=IFERROR(VLOOKUP(Z2,$A$3:$J$500,MATCH("TAR/G",$A$3:$J$3,0),0),"")
Thanks for letting us know. (y)

For the future though, please note #14 of the Forum Rules in relation to the use of all upper case in your thread titles.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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