Auto Update data weekly help

gillmit

New Member
Joined
May 17, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi

I am stuck and need some help please. I have attached a picture of the issue i am having. Basically i have 7.5% in the red box (Cell B2) that i have to update manually. I would like it to auto update each Tuesday of the month with the same % as the week before (orange box's) but if say on the 31/05/2024 i have to change the red box (Cell B2) to say 8% the previous weeks remain the same(7.5)% and the following weeks after carry on auto updating on the new 8%.

Any help would be much appreciated
 

Attachments

  • excel 1.PNG
    excel 1.PNG
    12.6 KB · Views: 13

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi

I am stuck and need some help please. I have attached a picture of the issue i am having. Basically i have 7.5% in the red box (Cell B2) that i have to update manually. I would like it to auto update each Tuesday of the month with the same % as the week before (orange box's) but if say on the 31/05/2024 i have to change the red box (Cell B2) to say 8% the previous weeks remain the same(7.5)% and the following weeks after carry on auto updating on the new 8%.

Any help would be much appreciated
Insert this code to worksheet module that include your data:
VBA Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    Dim i As Long
    Dim cll As Range
    i = Range("B" & Rows.Count).End(xlUp).Row
    If i < 7 Then Exit Sub
    For Each cll In Range("B7:B" & i)
        If IsEmpty(cll.Offset(, 1)) Then
            With WorksheetFunction
                If .Weekday(Date) = 7 And .WeekNum(Date) = .WeekNum(cll.Value) Then
                    cll.Offset(, 1).Value = Range("B2").Value
                End If
            End With
        End If
    Next cll
End Sub
 
Upvote 0
Thank you so much for the info. I am still struggling though. I need to make it happen for multiple cells

I have attached a screenshot of what i am looking to do.

cell C3 for example needs to update C95 then C96 and so one. 1 updates 1.. 2 updates 2. Can you help please
 

Attachments

  • excel3.PNG
    excel3.PNG
    46.9 KB · Views: 3
Upvote 0
Thank you so much for the info. I am still struggling though. I need to make it happen for multiple cells

I have attached a screenshot of what i am looking to do.

cell C3 for example needs to update C95 then C96 and so one. 1 updates 1.. 2 updates 2. Can you help please
i saw that new value need to update in range E4:E12, but i don't think we need that column, why just use column C for update value?
 
Upvote 0

Forum statistics

Threads
1,216,747
Messages
6,132,485
Members
449,729
Latest member
davelevnt

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