SPANISH
Hola a todos! a ver si alguien me puede guiar un poco ya que ando un poco perdido.
Tengo una columna con el formato FECHA [DATE] que seria asi: 19/12/2021 pero a mi me gustaria que me pondria el nombre del dia y si es posible la semana que es algo asi: DOMINGO. 19/12/2021 , S50
¿Cual seria la formula para añadir esos datos a mi columna?
-___________________________________
ENGLISH
Hi all! Let’s see if someone can guide me a bit since I’m a bit lost.
I have a column with the format DATE [DATE] that would be like this: 12/19/2021 but I would like you to give me the name of the day and if possible the week that is something like this: SUNDAY. 12/19/2021, S50
What would be the formula to add that data to my column?
Solved! Go to Solution.
CONCATENATE(
INDEX(
LIST(
"DOMINGO",
"LUNES",
"MARTES",
"MIÉRCOLES",
"JUEVES",
"VIERNES",
"SÁBADO"
),
WEEKDAY([DATE])
),
". ",
DAY([DATE]),
"/",
MONTH([DATE]),
"/",
YEAR([DATE]),
" , S",
ISOWEEKNUM([DATE])
)
Function TEXT() helps you to format DATE value to necessary representation
But
I’m not sure about week number. Possible you can calculate it
TEXT()
doesn’t work outside english speakers
Hola puedes hacer algo asi:
CONCATENATE(
INDEX(LIST(
"Domingo"
"Lunes",
"Martes",
"Miercoles",
"Jueves",
"Viernes",
"Sabado"),
WEEKDAY([FECHA]))
,". ",
[FECHA],
" , S",
WEEKNUM([FECHA])
)
Este no me funciona ya que si tengo varias fechas diferentes no me conicide el dia.
por ejemplo
24/12/2021
23/12/2021
15/12/2021
he conseguid ponerle el dia con formato TEXT y poniendo cuatro dddd pero me sale en ingles y en una columna virtual.
Hola,
puedes utilizar CONCATENATE(SWITCH(TEXT([NOMBRE DE TU COLUMNA],“DDDD”),“Monday”,“lunes”,“Tuesday”,“martes”,“Wednesday”,“miércoles”,“Thursday”,“jueves”,“Friday”,“viernes”,“Saturday”,“sábado”,“Sunday”,“domingo”,TEXT([NOMBRE DE TU COLUMNA],“DDDD”))," “,TEXT([NOMBRE DE TU COLUMNA],“DD”),” de “,SWITCH(TEXT([NOMBRE DE TU COLUMNA],“MMMM”),“January”,“enero”,“February”,“febrero”,“March”,“marzo”,“April”,“abril”,“May”,“mayo”,“June”,“junio”,“July”,“julio”,“August”,“agosto”,“September”,“septiembre”,“October”,“octubre”,“November”,“noviembre”,“December”,“diciembre”,TEXT([NOMBRE DE TU COLUMNA],“MMMM”)),” del ",TEXT([NOMBRE DE TU COLUMNA],“YYY”))
Esto te daría Domingo 25 de diciembre del 2021
Gracias este me funciona!
Pero quiero poner el numero delante del dia y cuando cambio el cosdigo se me vuelve al INGLES… ¿Que hago mal?
Perdona mi torpeza… estoy aprendiendo…
Esta formula que mencionas, en que apartado debo ingresarla? o que pasos debo seguir para que me arroje la fecha con dia?
CONCATENATE(
INDEX(
LIST(
"DOMINGO",
"LUNES",
"MARTES",
"MIÉRCOLES",
"JUEVES",
"VIERNES",
"SÁBADO"
),
WEEKDAY([DATE])
),
". ",
DAY([DATE]),
"/",
MONTH([DATE]),
"/",
YEAR([DATE]),
" , S",
ISOWEEKNUM([DATE])
)
Hi, this WORK nice!
19/12/2021 / DOMINGO , S50
how this?
CONCATENATE(
DAY([FECHA]),
"/",
MONTH([FECHA]),
"/",
YEAR([FECHA]),
" ",
INDEX(
LIST(
"DOMINGO",
"LUNES",
"MARTES",
"MIÉRCOLES",
"JUEVES",
"VIERNES",
"SÁBADO"
),
WEEKDAY([FECHA])
),
" , S",
ISOWEEKNUM([FECHA])
)
This work: 27/12/2021 DOMINGO, S51
User | Count |
---|---|
39 | |
32 | |
30 | |
16 | |
14 |