Fórmula m para VISUAL BASIC de EXCEL
Function M(x)
Dim mes As String
mes = x
If mes = "ENERO" Then
x = 1
M = x
ElseIf mes = "FEBRERO" Then
x = 2
M = x
ElseIf mes = "MARZO" Then
x = 3
M = x
ElseIf mes = "ABRIL" Then
x = 4
M = x
ElseIf mes = "MAYO" Then
x = 5
M = x
ElseIf mes = "JUNIO" Then
x = 6
M = x
ElseIf mes = "JULIO" Then
x = 7
M = x
ElseIf mes = "AGOSTO" Then
x = 8
M = x
ElseIf mes = "SEPTIEMBRE" Then
x = 9
M = x
ElseIf mes = "OCTUBRE" Then
x = 10
M = x
ElseIf mes = "NOVIEMBRE" Then
x = 11
M = x
ElseIf mes = "DICIEMBRE" Then
x = ""
M = x
End If
End Function
NOTA: Con este capítulo hemos llegado al final del
curso.
1. Crear series personalizadas. Excel 2010 En este tutorial de Excel 2010 vamos a enseñar a crear series personalizadas ,... [09/11/12] |
16 |
![]() |
|||
2. Excel 2007. Fórmulas de auditoría Aprende de forma rápida cómo corregir los errores en tus fórmulas de auditoría... [17/08/10] |
7.939 |
![]() |
|||
3. Fórmulas y funciones. Excel ¡Hola! Sean bienvenidos a un curso más de ofimática en donde estaremos presentamos... [17/11/11] |
415 |
![]() |