Calcultion with variable


  • You are Welcome ...!!!


    Thanks for your Thanks :guitar: and for the Like :thumbcoo:


    :facepull:

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

  • Hi Carim,


    In my haste to get a result, I omitted a vital criteria from this calculation.


    "y" must be present over the whole range Act 1, Act 2, Act 3 as a minimum but can include Act 4 and Act 5 if they are active.


    In the example I have inclued a sum column to show my thought process, but I cannot include this on the actual worksheet (no columns between the data sets)
    But if it is required, I could change a few things around.


    See attached which hopefully exaplains


    Thanks

  • Hi Carim


    Thanks for the assistance "Again"


    Almost there, but I do not want a sum of the row, just a 1 in the left column if all the criteria is acheived.


    Thanks

  • My only objective was to ... properly replicate your Column J ... which ... to me ... was your Expected Result ... !!! :drunk:


    What about the surprise of ... Version 6 ... :drink:

  • for further clarity, and if its simpler, the calculations in column D do not need to be for each row.
    This can be a single calculation in D18 to show achievement of all the criteria.


    Thanks

  • Hi Carim


    Your time and efforts are very much appreciated
    It is indeed the last version as everything works great.


    I just need to incorporate the extra 2 columns into the worksheet now.
    Should be just a case of moving stuff around, but array formulas can be awkward.


    Thank you

  • Nice relief ... to hear this problem is finally over ...:lol::lol::lol:


    Thanks again for your Thanks ...AND for the Like ...

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

  • Hello JL,


    For the sake of consistency ... have quickly revisited your Test file with a Version 9 (identical to the number of Questions :wink:)


    Both Counting Rows and Columns is performed with the same formula structure ...


    to generate Checks for your blocks of 9 Questions ...


    Hope this will make things easier to maintain ... :lol:

  • Hi Carim


    Thats great, thank you for the follow up.
    I modified the solution slightly as the same columns in the sample sheet are replicated accross the columns many times but with 1 column spacing between.
    so, the rows and columns calculations have moved, but nevertheless an awesome solution


    btw, that is some Array formula, and I have no idea what is means :duh:


    Amazing support once again.


    Thank you

  • Hi Carim


    btw, that is some Array formula, and I have no idea what is means :duh:



    Neither do I ... :lol: :lol: :lol:

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!