23.08.2023 Views

CFI-Excel-eBook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Corporate Finance Institute Excel

1. SUMIF and ABS

We all are aware that SUMIF would sum up values if certain criteria within the

range given are met. Let’s assume we’ve been given few numbers in Column A

and Column B as below:

Now, I wish to subtract all negative numbers in Column B from all positive

numbers of Column A. I want the result to be an absolute number. So I can use

the ABS function along with SUMIF in the following manner:

The result is 79. Excel added 15 and 6 from Column A and subtracted 100 from

Column B to give us 79, as we used ABS function instead of -79.

corporatefinanceinstitute.com

159

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

Saved successfully!

Ooh no, something went wrong!