LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 1
Default difference between two cells

Looking to find the correct formula to find the difference between two cells. For further clarification, this is the closing price (of a stock) on one day versus the opening price the next day, so I am looking to see what the difference is and if it is negative or positive.

For example - I have used:

= IF(B34C33, (B34-C33), (C33-B34) )

which seems to work just fine except that the result, when a negative value, is not shown as such.(no minus sign) I would like to display any negative values in red with a minus sign.
 
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
Trying to work out the difference in 2 cells. scary Excel Worksheet Functions 4 July 6th 08 01:55 PM
calculate the difference between two cells jrivel Excel Discussion (Misc queries) 2 October 31st 06 02:08 PM
Getting Difference between two cells Jimmydageek Excel Worksheet Functions 3 February 19th 06 01:23 AM
Difference between Cells Jim Excel Worksheet Functions 2 October 27th 05 01:24 PM
Finding difference between two cells somu Arunachalam Excel Programming 2 May 6th 04 03:39 PM


All times are GMT +1. The time now is 05:32 PM.

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"