simple reference changing weekly?

WadeWatts

New Member
Joined
Oct 12, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am trying to pull a week data through from one worksheet to another based on current work week.
1697492075854.png


example of what im trying to do.
range C5:Q8 is manual input,
range C15:G18 is auto pulled through based on this week number.

this week is week 42, so today() falls within the week, so range C15:G18 shows the data from the input range,
next week when i opened the sheet, today() will be in week 43, i want the weeks data to be pulled through

initially i wrote =if(and(b5=b15,$c$13=weeknum(today())),c5)
seemed to work to pull through but i cant figure out the date to move


any ideas?

thanks
 
Wow, that worked, thank you for that.
as i was replicating it i was able to follow along and see what it was doing,

amazing, i really did try to work it out myself but it was beyond me.

thanks again
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Glad we could help & thanks for the feedback.
 
Upvote 1
Try
In C15 copy to full range
Excel Formula:
=IF(INDEX($C$5:$Q$8,MATCH($B15,$B$5:$B$8,0),MATCH($C$13,$C$3:$Q$3,0)+COLUMNS($C15:C15)-1)="","",INDEX($C$5:$Q$8,MATCH($B15,$B$5:$B$8,0),MATCH($C$13,$C$3:$Q$3,0)+COLUMNS($C15:C15)-1))
 
Upvote 0

Forum statistics

Threads
1,215,079
Messages
6,122,998
Members
449,092
Latest member
masterms

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