Professional Documents
Culture Documents
Formula
Formula
'************************
'ðñïóäéïñéóìü óå ó÷Ýóç ìå
'************************
ALine = True
Else
ALine = False
End If
End Function
If LL < 50 Then
return_value = "CL"
return_value = "CL-ML"
Else
return_value = "ML"
End If
Else
return_value = "CH"
Else
return_value = "MH"
End If
End If
FinesClassify = return_value
End Function
Private Sub Classify(ByVal LL As Single, ByVal LLapoj As Single, ByVal PI As Single, ByVal Cu As Single,
ByVal Cc As Single, ByVal PercentGravel As Single, ByVal PercentSand As Single, ByVal No200 As
Single, ByVal Organics As Boolean, ByRef GroupSymbol As String, ByRef EnglishName As String, ByRef
GreekName As String)
LLapoj = 0.5 * LL
BigCategory = "Fine-Grained"
Else
BigCategory = "Coarse-Grained"
End If
BigCategory = "Organics"
End If
'Fine-Grained
'Oganics
If BigCategory = "Organics" And (LLapoj = 0 Or LLapoj / LL >= 0.75) Then BigCategory = "Fine-
Grained"
If BigCategory = "Organics" And LLapoj <> 0 And LLapoj / LL < 0.75 Then
'OL
If LL < 50 Then
GroupSymbol = "OL"
Else
Else
End If
End If
Else
Else
End If
Else
Else
End If
End If
Else
Else
Else
End If
End If
Else
Else
End If
Else
Else
EnglishName = "Gravelly Organic Silt with Sand"
End If
End If
End If
End If
'OH
Else
GroupSymbol = "OH"
Else
Else
End If
End If
Else
Else
End If
Else
Else
End If
End If
End If
Else
Else
Else
End If
End If
Else
End If
Else
Else
End If
End If
End If
End If
End If
Else
GroupSymbol = FinesCategory
EnglishName = "Silt"
GreekName = "Éëýò"
End If
EnglishName = EnglishName
GreekName = GreekName
Else
Else
End If
End If
Else
Else
End If
Else
Else
End If
End If
End If
End If
'Coarse-Grained
Else
'Gravel
GroupSymbol = "G"
EnglishName = "Gravel"
GreekName = "×Üëéêåò"
'Sand
Else
GroupSymbol = "S"
EnglishName = "Sand"
GreekName = "¢ììïò"
End If
CuRef = 6#
Else
CuRef = 4#
End If
'Ëßãï Ëåðôüêïêêï
Else
End If
Else
Else
End If
End If
Else
End If
End If
'Ðïëý Ëåðôüêïêêï
Else
Else
End If
End If
End If
Else
End If
End If
End If
End Sub
Range("G155").Value = GroupSymbol
Range("G156").Value = EnglishName
Range("G157").Value = GreekName
End Sub