From the log's first sample to its last. Near the top of a log, often behind casing, only some curves may be recorded, and porosity and saturation there are not meaningful: a named interval gets a more focused and more reliable answer.
The interval runs from the formation's top to its stated base, else to the next deeper top, else to the end of the log.
Measured depths; both are included. Leave the top empty to start at the top of the log, or the base to run to its end.
A table of your own zones (zone, top, bottom): they frame the answer in place of the lithology zones, which stay available.