Excel: Zaokrąglanie czasu w górę i w dół
Excela można używać do zaokrąglania liczb za pomocą prostej formuły tak dokładnie, jak to pożądane. Czasami robi się to trochę bardziej skomplikowane. Pomoże Ci w tym podstęp.
Cały czas w Excelu - więc będzie działać
Załóżmy, że chcesz zaokrąglić godzinę o godzinie 05:20. Ponieważ czasy nie są wyrażone w systemie dziesiątek, musisz w tym celu zastosować małą sztuczkę. Pomnóż czas przez liczbę godzin, które składają się na dzień, tj. 24. Następnie możesz zaokrąglić wynik i podzielić go ponownie przez 24.
- Wzór jest następujący: „= OKRĄŻENIE W GÓRĘ (05: 20 * 24; 0) / 24”. Najpierw wprowadź czas w nawiasach i pomnóż go przez 24. Następnie wprowadź żądaną liczbę miejsc dziesiętnych. Następnie ponownie podziel zaokrąglony wynik przez 24.
- Oczywiście można również normalnie używać odwołań do komórek, na przykład: „= ROUND UP (A3 * 24; 0) / 24”
- Możesz zaokrąglać dokładnie tak, jak chcesz. Pomnóż i podziel przez pół godziny przez 48, przez kwadrans przez 96, przez dziesięć minut przez 144, przez pięć minut przez 288.
- Jeśli chcesz zaokrąglić w dół, napisz „ROUND DOWN” (...) ”; aby zaokrąglić w górę lub w dół, napisz„ ROUND (...) ”.
W następnej praktycznej wskazówce przeczytasz, jak przenieść formuły do Excela.