Hello,
As this is my first post I apologize if this has been answered previously, I am new here and was unable to find any similar posts.
Let me catch you up on what is happening in the background as to why I need this function.
I am running Windows 11 operating through Office365, however my excel document is non-networked and does not need to be connected to any other sheets in order to work. I manually insert the documents I need each week and build a new week version based off the document sheets inserted. My struggle stems from an EXTREMELY tight administrator security system that continuously locks my documents and disables macros due to 365 requiring internet access and the possibility of malware being applied. I have no ability to override in properties as the option has been removed.
I was previously running the VBA script:
Cell F66: =SumNoStrikethrough(O7:O71)
Function SumNoStrikethrough(rng As Range)
Dim cel As Range
Dim s As Double
For Each cel In rng
If Not cel.Font.Strikethrough Then
s = s + Val(cel.Value)
End If
Next cel
SumNoStrikethrough = s
End Function
After running this VBA I would have to manually type ctrl+alt+f9 to get the cell to refresh the new SUM.
I need the SUM of numbers in column "O" to appear in cell F66, and when a number gets strikethrough I need it to automatically update cell F66 with the new SUM. Is there a Formula that can do this without needing access to VBA macros?
Thank you!
As this is my first post I apologize if this has been answered previously, I am new here and was unable to find any similar posts.
Let me catch you up on what is happening in the background as to why I need this function.
I am running Windows 11 operating through Office365, however my excel document is non-networked and does not need to be connected to any other sheets in order to work. I manually insert the documents I need each week and build a new week version based off the document sheets inserted. My struggle stems from an EXTREMELY tight administrator security system that continuously locks my documents and disables macros due to 365 requiring internet access and the possibility of malware being applied. I have no ability to override in properties as the option has been removed.
I was previously running the VBA script:
Cell F66: =SumNoStrikethrough(O7:O71)
Function SumNoStrikethrough(rng As Range)
Dim cel As Range
Dim s As Double
For Each cel In rng
If Not cel.Font.Strikethrough Then
s = s + Val(cel.Value)
End If
Next cel
SumNoStrikethrough = s
End Function
After running this VBA I would have to manually type ctrl+alt+f9 to get the cell to refresh the new SUM.
I need the SUM of numbers in column "O" to appear in cell F66, and when a number gets strikethrough I need it to automatically update cell F66 with the new SUM. Is there a Formula that can do this without needing access to VBA macros?
Thank you!