+ Reply to Thread
Results 1 to 6 of 6

Formula Syntax Assistance Required

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Question Formula Syntax Assistance Required

    Hi,

    Can anyone please advise me of the syntax required to amend the following formula:-

    Please Login or Register  to view this content.
    =IF(I7>G7,"Fail","Met")
    Please Login or Register  to view this content.


    The formula works to a degree, but when I copy the formula down the column it still displays ‘Met’ even when there is not data in the corresponding cells in columns ‘A’ and ‘C’

    N.B. I’ve also added so conditional formatting to highlight green for a ‘Met’ and red for a ‘Fail’

    Ideally, if there is no data for in columns ‘A’ and/or ‘C’ the cell in column ‘D’ should just be left blank i.e. no text and no colour

    Any assistance received would be greatly appreciated

    Many thanks in advance


    Regards

    Rob
    Rob

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,837

    Re: Formula Syntax Assistance Required

    Your formula refers to cells in columns I and G, yet your description refers to columns C and A, so I'm a bit confused. See if this is what you are asking for:

    =IF(OR(A7="",C7=""),"",IF(I7>G7,"Fail","Met"))

    Hope this helps.

    Pete

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula Syntax Assistance Required

    Your formula uses cells in columns G and I but you are talking about cells in columns A and C. Is this an error?

    Ideally, if there is no data for in columns ‘A’ and/or ‘C’ the cell in column ‘D’ should just be left blank i.e. no text and no colour
    I'll base my answer off of this assuming that the formula that you are using was =IF(C7>A7,"Fail","Met").

    Try this:

    =IF(OR(A7="",C7=""),"",IF(C7>A7,"Fail","Met"))

  4. #4
    Forum Contributor
    Join Date
    02-09-2004
    Location
    Cardiff - Wales - UK
    MS-Off Ver
    2013
    Posts
    475

    Re: Formula Syntax Assistance Required

    Pete_UK & 63falcondude,

    sorry I confused myself with regards to my cell references but I glad to say you code work as required

    Many thanks


    Regards



    Rob

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,837

    Re: Formula Syntax Assistance Required

    Glad to help, Rob - thanks for the rep.

    Pete

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula Syntax Assistance Required

    Thanks for the rep!

+ 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. Assistance Required With Conditional Formatting Formula
    By robertguy in forum Excel General
    Replies: 3
    Last Post: 02-14-2018, 04:29 PM
  2. [SOLVED] Correct Formula Syntax Required...
    By Aristillus in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-17-2017, 07:55 PM
  3. [SOLVED] Conditional Formatting Formula Syntax Assistance
    By robertguy in forum Excel General
    Replies: 3
    Last Post: 06-22-2016, 06:34 AM
  4. [SOLVED] Assistance Required With Potential IF formula
    By Rosco88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-20-2015, 09:20 AM
  5. Index/Match Excel Formula assistance required
    By coyy in forum Excel General
    Replies: 3
    Last Post: 12-10-2012, 09:21 AM
  6. [SOLVED] Formula Assistance Required
    By bruce2444 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2005, 01:05 AM
  7. [SOLVED] Formula assistance required!!!
    By Don in forum Excel General
    Replies: 4
    Last Post: 02-22-2005, 05: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