>>99
Function marume(ByVal s As Double) As Double
  Dim Q As Double
  Dim H As Double

  Q = TimeValue("0:15")
  H = TimeValue("0:30")
  
  If s < Q Then
    marume = H
  Else
    marume = Fix((s + Q) / H) * H
  End If
End Function