+ Reply to Thread
Results 1 to 5 of 5

greater than formula does not work?

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    greater than formula does not work?

    Can someone explain to me why this formula does not work and perhaps how to correct it?

    =IF(M4>N4,M4,N4)

    It will not show the number in M4 if there is no number in N4 (it just shows a 0), once a number greater than 0 is produced in N4 then the formula works.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: greater than formula does not work?

    What happens with:

    =MAX(M4,N4)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: greater than formula does not work?

    works fine for me. You might want to check the format for the 2 cells to make sure they are not formatted as Text

  4. #4
    Registered User
    Join Date
    08-06-2013
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: greater than formula does not work?

    Thanks, that worked. just a few more questions to go now. LOL

  5. #5
    Registered User
    Join Date
    08-06-2013
    Location
    Cheltenham, England
    MS-Off Ver
    Excel 2013
    Posts
    19

    Re: greater than formula does not work?

    You could also try the following to catch the gaps from column N:
    =IF(N7=0,M7,IF(M7>N7,M7,N7))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 11-12-2012, 04:49 AM
  2. How do I get Format Wrap Text to work with greater than 255 characters
    By MartinP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2009, 04:29 AM
  3. Trying to work formula for work TIME SHEET using IF formula
    By help_monique in forum Excel General
    Replies: 8
    Last Post: 10-12-2009, 11:46 PM
  4. Can't get IF statement to work. IF(greater than 0 but less than 8...)
    By lorne17 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-13-2008, 12:41 PM
  5. Reversing POWER Formula:with greater algebra skills help me with below formula?
    By soroosj@swbell.net in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-01-2005, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1