23.08.2023 Views

CFI-Excel-eBook

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Corporate Finance Institute Excel

Example 3

Continuing with the same example, suppose we want the sum total of the

earnings for Week 3. We use the formula =SUM(OFFSET(G6,1,-2,5)).

We get the results below:

In the example above:

1. The array of values returned by the OFFSET function is directly entered into

the SUM function, which returns a single value. Hence, we do not need it to

enter as an array formula.

2. The height of the offset range is greater than the height of the reference

range and so the [height] argument is entered as the value 5.

3. The width of the offset range is the same as the width of the reference

range and so the [width] argument was omitted from the function.

corporatefinanceinstitute.com

148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!