Calculate percentage change with negative numbers
=(C2-B2)/ABS(B2)Excel · result on the sample sheet: 5 rows (D2:D6)
Describe what you need and get a working ABS formula for Excel and Google Sheets, tested on real data before you copy it. ABS returns a number without its sign, so -250 becomes 250 and 250 stays 250.
Each formula below was calculated on its own sample sheet. Open one to see the sheet, why it works, and to try it yourself.
=(C2-B2)/ABS(B2)Excel · result on the sample sheet: 5 rows (D2:D6)
=ABS(B2-$F$1)/$F$1Excel · result on the sample sheet: 5 rows (C2:C6)
=-ABS(B2)Excel · result on the sample sheet: 5 rows (C2:C6)
=ABS(B2-C2)/AVERAGE(B2,C2)Excel · result on the sample sheet: 5 rows (D2:D6)
=ABS(B2)Excel · result on the sample sheet: 5 rows (C2:C6)
=TEXT(C2/B2-1,"▲0.0%;▼0.0%;0.0%")Excel · result on the sample sheet: 5 rows (D2:D6)
=SUMPRODUCT(ABS(B2:B8))Excel · result on the sample sheet: 100
=IF(ABS(B2-$F$1)<=$F$2,"Pass","Fail")Excel · result on the sample sheet: 6 rows (C2:C7)
You describe the task in plain English, and it writes the formula, using ABS where that's the right tool, for your table or a sample one. The formula is run in our engine in Excel and Google Sheets mode before you see it, so you get its result, not just a guess.
ABS returns a number without its sign, so -250 becomes 250 and 250 stays 250.
Yes. Each example below opens a page where you try the formula in a live grid and it's checked as you go, and the ABS function page has a practice exercise.