Projects and milestones / sequential numbers and different formulas in your rows

WhiteMagnus

New Member
Joined
Mar 19, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. Windows
Hi,
excel workproject.png

I have been trying to automized this board, the idea being to be able to add a row Project 2 underneath with possibility to add milestones as well.
Every data written in RED should be added manually, the rest in GREEN should be automized.
The main row for Project is pretty much and averagea of the milestones information.
Also, the task NUMBERS should also be added automatically if possible,

I know the formulas for my basic Projects average, but I do not know how to make that board automatic,
Kinda new with excel but Im sure I will understand

Thanks in advance
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi,
For Column A, your Task Number, you can test
VBA Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column <> 1 Then Exit Sub
Dim ar As Variant
    If InStr(1, Target.Offset(-1, 0), ".") Then
        ar = Split(Target.Offset(-1, 0), ".")
        Target = ar(0) & "." & ar(1) + 1
    Else
        Target = Target.Offset(-1, 0) & "." & "1"
    End If
Cancel = True
End Sub
 
Upvote 0
Hi,
For Column A, your Task Number, you can test
VBA Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column <> 1 Then Exit Sub
Dim ar As Variant
    If InStr(1, Target.Offset(-1, 0), ".") Then
        ar = Split(Target.Offset(-1, 0), ".")
        Target = ar(0) & "." & ar(1) + 1
    Else
        Target = Target.Offset(-1, 0) & "." & "1"
    End If
Cancel = True
End Sub
Thanks, I try right away
 
Upvote 0

Forum statistics

Threads
1,215,504
Messages
6,125,185
Members
449,213
Latest member
Kirbito

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