Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jana
 
Posts: n/a
Default Show % Difference between two numbers

Thank you soooo much.

One more question though, the formula works unless 1 of the numbers is 0,
then I get a "#DIV/0!" in the cell.

"Gary''s Student" wrote:

If the first value is in A1 and the second is in B1 then =(B1-A1)/A1
(formatted as a %) is the percent difference.

A positive value will mean a percent increase and a negative value will be a
percent decrease
--
Gary''s Student


"Jana" wrote:

I am trying to show the percentage difference between two numbers and also
show the overage in red....Help!

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Show % Difference between two numbers

=IF(A1<0,(B1-A1)/A1,NA())


--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Jana" wrote in message
...
Thank you soooo much.

One more question though, the formula works unless 1 of the numbers is 0,
then I get a "#DIV/0!" in the cell.

"Gary''s Student" wrote:

If the first value is in A1 and the second is in B1 then =(B1-A1)/A1
(formatted as a %) is the percent difference.

A positive value will mean a percent increase and a negative value will
be a
percent decrease
--
Gary''s Student


"Jana" wrote:

I am trying to show the percentage difference between two numbers and
also
show the overage in red....Help!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you make negative numbers show up as 0 in Excel? djjny Excel Worksheet Functions 5 March 7th 06 05:42 PM
Do not show negative numbers roy.okinawa Excel Discussion (Misc queries) 2 December 8th 05 12:55 AM
How do I delete numbers in a cell Therese Excel Discussion (Misc queries) 2 December 1st 05 10:22 AM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM
calculating the difference between 2 numbers Darran Excel Worksheet Functions 3 July 25th 05 01:08 PM


All times are GMT +1. The time now is 10:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"