• Compare 2 Values (2003)

    Author
    Topic
    #448841

    I feel like what I’m trying to do is quite straight forward, but I’m not able to come up with a formula (that works).

    Concept: If ‘TC Scenario’!B$15 = ‘Data Feed At’!B$5 the value should be “OK” If they are not equal, the value should be “Error”

    Viewing 0 reply threads
    Author
    Replies
    • #1098697

      =IF(‘TC Scenario’!B$15=‘Data Feed At’!B$5,”OK”,”Error”)
      should work.

      • #1098700

        Edited by HansV to replace Word attachment with the picture it contained, to save the reader a few clicks

        That is exactly what I tried. I got an error message. It gets caught up on the ‘TC

        Too, I even tried using the defined range name (TC_Scenario). That didn’t work either.

        • #1098707

          It works fine for me in a test workbook. Can we see a stripped down copy of your workbook?

        • #1098708

          I did correct one error, but it still didn’t help. I was ON the Data Feed page. So, I removed the “data feed At” reference and just kept the cell reference.

          I attached a sample. To down scale the sample, I removed most things, so my cell references have shifted.

          Here is what I am trying to achieve:
          In C19, I want to compare Sheet TC Scenario, Cell B15 to the value in this data sheet, C2. If they are =, then “OK”. Otherwise, “error”

          In Cell C20, If the value in B16 =Serious AND the value in C3 = YES, then “OK”. Otherwise, “error”

          In Cell C21, If the value in B17 = Unlisted AND the value in C7 CONTAINS a YES, then “OK”. Otherwise, “error”

          • #1098710

            You’ve got “smart quotes” around the sheet name, they should be straight quotes.
            The easiest way to get it right is to edit the formula, delete the entire reference to TC Scenario cell B2, then activate TC Scenario and point to cell B2.

    Viewing 0 reply threads
    Reply To: Compare 2 Values (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: