+ Reply to Thread
Results 1 to 5 of 5

How to interpret this formula?

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    How to interpret this formula?

    Hi Excel Forum,

    In the attached Excel sheet, I have two formulae (pl see cells F5 and G5).

    I can understand and interpret the Formula 1 in cell F5 like below.

    If A5 is > A18 then we give the command to return 1, otherwise to return "OK"

    Q:
    Could anyone help me to understand and interpret in words what does formula 2 say?

    Thanks

    Mirisage
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to interpret this formula?

    =IF(A5>B5,1,IF(B5>C5,1,"OK"))...
    it is 1st testing to see if A5> than B5.

    If it is, the answer is 1
    If it isnt, then IFB5>C5, the answer is also 1, but if not, the answer is OK

    edit: I like Rons explanation better
    Last edited by FDibbins; 01-15-2014 at 02:58 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: How to interpret this formula?

    If A5 is greater than B5..................return 1
    Otherwise, if B5 is greater than C5.......return 1
    If neither case is true...................return 'OK"
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2010
    Posts
    104

    Re: How to interpret this formula?

    Hi FDibbins and Ron,
    Many thanks to both of you for this great help.

    Regards

    Mirisage

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: How to interpret this formula?

    Happy to help and thanks for the feedback

+ 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. how would interpret this macro
    By masterinex in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-29-2009, 03:35 PM
  2. Interpret String as Formula
    By Phil_V in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-18-2009, 04:04 AM
  3. [SOLVED] Interpret code
    By FIRSTROUNDKO via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2006, 02:25 PM
  4. Why does Excel interpret 2/29 as Feb 1st?
    By Jo in forum Excel General
    Replies: 6
    Last Post: 02-26-2005, 03:06 PM
  5. How should I interpret this set of laptop specifications?
    By Francis Chee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-21-2005, 09:06 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