Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Trying to work out the difference in 2 cells.

Hi,

Hope somebody can help.

I am trying to work out the difference between 2 cells EG: 1 cell J51 has a
total amount of £900.00 and cell J52 has total amout of £1500.00. I want to
try and work out and show in cell J53 the total if J51 is greater than J52 or
if J51 is Less then J52 I have tried various ways but don't seem to get the
answer I want.

I hope I have made myself clear.
--
scary says thanks you very much
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Trying to work out the difference in 2 cells.

Hi,


Isn't it as simple as

=J51-J52

Mike

"scary" wrote:

Hi,

Hope somebody can help.

I am trying to work out the difference between 2 cells EG: 1 cell J51 has a
total amount of £900.00 and cell J52 has total amout of £1500.00. I want to
try and work out and show in cell J53 the total if J51 is greater than J52 or
if J51 is Less then J52 I have tried various ways but don't seem to get the
answer I want.

I hope I have made myself clear.
--
scary says thanks you very much

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Trying to work out the difference in 2 cells.

Or maybe =IF(J51=J52,"Peter and Paul are equal",IF(J51J2, "Peter has
more","Paul has more"))
OR =J1J2 will return either TRUE or FALSE
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"scary" wrote in message
...
Hi,

Hope somebody can help.

I am trying to work out the difference between 2 cells EG: 1 cell J51 has
a
total amount of £900.00 and cell J52 has total amout of £1500.00. I want
to
try and work out and show in cell J53 the total if J51 is greater than J52
or
if J51 is Less then J52 I have tried various ways but don't seem to get
the
answer I want.

I hope I have made myself clear.
--
scary says thanks you very much



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Trying to work out the difference in 2 cells.

Perhaps you want:

=ABS(J52-J51)

which will give you the (positive) difference between the two, but
will not tell you which is the larger of the two.

Hope this helps.

Pete

On Jul 6, 11:59*am, scary wrote:
Hi,

Hope somebody can help.

I am trying to work out the difference between 2 cells EG: 1 cell J51 has a
total amount of £900.00 and cell J52 has total amout of £1500.00. I want to
try and work out and show in cell J53 the total if J51 is greater than J52 or
if J51 is Less then J52 I have tried various ways but don't seem to get the
answer I want.

I hope I have made myself clear.
--
scary says thanks you very much


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Trying to work out the difference in 2 cells.

Hi,

This helped me thank you.
I tweeked it abit but kept the main structure
--
scary says thanks you very much


"Bernard Liengme" wrote:

Or maybe =IF(J51=J52,"Peter and Paul are equal",IF(J51J2, "Peter has
more","Paul has more"))
OR =J1J2 will return either TRUE or FALSE
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"scary" wrote in message
...
Hi,

Hope somebody can help.

I am trying to work out the difference between 2 cells EG: 1 cell J51 has
a
total amount of £900.00 and cell J52 has total amout of £1500.00. I want
to
try and work out and show in cell J53 the total if J51 is greater than J52
or
if J51 is Less then J52 I have tried various ways but don't seem to get
the
answer I want.

I hope I have made myself clear.
--
scary says thanks you very much




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
WORK HOURS DIFFERENCE BETWEEN TWO DATES CHRISTI Excel Worksheet Functions 14 March 18th 20 08:16 AM
How do I calculate a difference in work days? Work Days Excel Worksheet Functions 17 January 9th 09 06:07 PM
Work days difference between 2 dates. Jeremy Excel Worksheet Functions 7 February 5th 08 05:36 PM
Difference between 2 dates, incl weekends, with variable work days babryanton Excel Discussion (Misc queries) 4 July 11th 06 06:56 PM
Difference between 2 dates, incl weekends, with variable work days babryanton Excel Worksheet Functions 0 July 7th 06 11:24 PM


All times are GMT +1. The time now is 02:14 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"