Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
WORK HOURS DIFFERENCE BETWEEN TWO DATES | Excel Worksheet Functions | |||
How do I calculate a difference in work days? | Excel Worksheet Functions | |||
Work days difference between 2 dates. | Excel Worksheet Functions | |||
Difference between 2 dates, incl weekends, with variable work days | Excel Discussion (Misc queries) | |||
Difference between 2 dates, incl weekends, with variable work days | Excel Worksheet Functions |