Excel: Pokaż dzisiejszą datę
Faktury i inne dokumenty tworzone za pomocą programu Excel często wymagają dzisiejszej daty. Dzięki prostej funkcji program Excel tworzy dzisiejszą datę i aktualizuje ją później automatycznie.
Funkcja dla dzisiejszej daty w Excelu
Dzięki funkcji „= DZISIAJ ()” program Excel tworzy bieżącą datę. Jeśli potrzebujesz starszej lub przyszłej daty, dodaj „+ x” lub „-x” do dnia. Zilustrowano to poniżej na przykładzie z 13 marca 2013 r .:
- Wpisz dzień „= TODAY ()”: Pojawi się data 13.03.2013. Jeśli zapiszesz dokument i otworzysz go później, bieżąca data znajduje się w komórce.
- Aby uzyskać datę poprzedniego dnia, rozwiń funkcję o „-1”. Formuła zmienia się na „= DZIŚ () - 1”. Teraz program Excel generuje 12 marca 2013 r. Podobnie jak w przypadku podstawowej funkcji, Excel automatycznie aktualizuje datę: Jeśli otworzysz dokument w innym dniu, Excel obliczy datę poprzedniego dnia. Przy wyższych liczbach otrzymasz datę jak najdalej.
Instrukcje odnoszą się do Microsoft Excel 2010 pod Windows 7. W Windows Vista i Windows 8, a także MS Office w wersjach 2007 i 2013, wstaw dzisiejszą datę w ten sam sposób.