Contingut

# NUMSETMANA_EXCEL2003

El resultat indica el número de la setmana del calendari per a una data.

The WEEKNUM_EXCEL2003 function is designed to calculate week numbers exactly as Microsoft Excel 2003 did. Use the WEEKNUM function for ODF OpenFormula and Excel 2010 compatibility, or ISOWEEKNUM function when you just need ISO 8601 week numbers. In releases prior to LibreOffice 5.1 WEEKNUM_EXCEL2003 was named WEEKNUM_ADD.

### Sintaxi

NUMSETMANA_EXCEL2003(Data; TipusRetorn)

Data és la data dins de la setmana del calendari.

TipusRetorn és 1 per a una setmana que comenci diumenge i 2 per a una setmana que comenci dilluns.

### Exemples

A quina setmana hi ha el dia 24.12.2001?

=WEEKNUM_EXCEL2003(DATE(2001;12;24);1) returns 52.

Temes relacionats

WEEKNUM_EXCEL2003 wiki page.

Funcions de data i hora

DATA

DIFDATES

VALORDATA

DIA

DIES

DIES360

DAYSINMONTH

DAYSINYEAR

DIUMENGEPASQUA

DATAE

FDMES

HORA

ISLEAPYEAR

NUMSETMANA.ISO

MINUT

MES

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

ARA

SEGON

HORADEC

VALORHORA

AVUI

DIASETMANA

NUMSETMANA

NUMSETMANA_EXCEL2003

NUMSETMANA_OOO

WEEKS

WEEKSINYEAR

DIAFEINER

WORKDAY.INTL

ANY

FRACANY

YEARS