Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Finding the difference...

This is my problem.

I have 2 years.. 2006 and 2007 we will say column A is 2006 and C is
2007. Over in Column D I want to know the actual difference and if it
was greater or less than the previous year. If it was less I want it
to be a negative number. I was thinking it would be a =IF formula but
nothing I do seems to work.

Thank you loads for any help in advance anyone can provide.
Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default Finding the difference...

Hi

Just use
=C1-A1

If 2006 is less than 2007, it will be positive. If 2007 is less than 2006 it
will be negative.

--

Regards
Roger Govier

wrote in message
...
This is my problem.

I have 2 years.. 2006 and 2007 we will say column A is 2006 and C is
2007. Over in Column D I want to know the actual difference and if it
was greater or less than the previous year. If it was less I want it
to be a negative number. I was thinking it would be a =IF formula but
nothing I do seems to work.

Thank you loads for any help in advance anyone can provide.
Mike


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Finding the difference...

Wow, I seem to always forget the KISS theroy...Keep It Simple Stupid!
Thank you... using the custom cell format of "[Color10]$#,##0.00;[Red]
$#,##0.00;$#,##0.00" will change it to red for negitive and green for
positive.

THANKS!

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
Finding the difference Renegade Excel Discussion (Misc queries) 1 April 6th 09 09:13 PM
finding date difference Totti Excel Discussion (Misc queries) 4 October 15th 08 09:35 PM
Finding the difference Heather Excel Discussion (Misc queries) 4 August 1st 08 02:50 PM
Finding the difference between two numbers Christian J. Sweatt Excel Worksheet Functions 3 September 15th 07 04:10 AM
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 06:54 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"