• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. juanito

    Capital Investment Appraisal Model

    Thanks Monty for your share. I will follow up the platforms you mention.
  2. juanito

    Capital Investment Appraisal Model

    I'm trying to find a solution for this: my company's current model is using a dangerously old Excel version (developed 1997!!). I'm finding it surprisingly hard to find one, especially ones for sale where the provider guarantees upgrades and bug fixes for a defined period. (There are plenty of...
  3. juanito

    Weighted average in flat file

    @John Jairo V I believe I managed to replicate your LET function using Named Formulas. Thanks so much for your help. See attached. One more thing: I seem to have resolved this without recourse to either your variable f or the complex SWITCH / CHOOSE ... your thoughts? juanito
  4. juanito

    Weighted average in flat file

    Thanks @Peter Bartholomew (and apologies for not responding earlier). Unfortunately, the order requirement doesn't suit my model and I was looking for a more general solution - which I have now found thanks to the support on this thread
  5. juanito

    Weighted average in flat file

    Interesting, I will follow up
  6. juanito

    Weighted average in flat file

    That is awesome, sir! My (corporate) version of 365 doesn't support LET yet - however I believe I may be able to replicate the functionality using named formulas... it may take me a day or two to confirm.
  7. juanito

    Weighted average in flat file

    Impressive stuff p45cal - some non-interface M coding in there, it would appear? Many thanks...
  8. juanito

    Weighted average in flat file

    Thanks vletm! And your solution does indeed evaluate correctly, independent of row order. Well done! Ideally I would have found a formula solution but your code does the job. Best, juanito
  9. juanito

    Weighted average in flat file

    Hi vletm! By a general solution I mean for a data table with any number of entries and sorted in any order. The Values should be weighted by each "OU", depending on total Hours. I believe that the initial attachment that I included should be sufficiently indicative, but I am very happy to expand...
  10. juanito

    Weighted average in flat file

    Thanks! In this case we are still without a "general" solution. It may be that there isn't a satisfactory answer and I must find an alternative method (PQ perhaps).
  11. juanito

    Weighted average in flat file

    Hi again vletm and I sincerely appreciate you staying close to this. It is true that your example was similar in structure but the data was a little different, so I was wrong to expect the same result. I took your model and pasted in the exact same data. Your Solve evaluated to 71% when the...
  12. juanito

    Weighted average in flat file

    Thanks, bosco_yip! The problem with this approach is that the rows must be ordered in pairs, correct? I am looking for a more general solution which works independently of order and references column C...
  13. juanito

    Weighted average in flat file

    Thanks again vietm... only problem here is that the evaluation doesn't give the correct answer!!
  14. juanito

    Weighted average in flat file

    Thanks John - fascinating use of MMULT, a function which I keep telling myself I need to understand better. But it doesn't give me the general solution I am seeking, which would function over a potentially larger dataset, with rows in any order etc...
  15. juanito

    Weighted average in flat file

    Thanks vletm! Going to sleep now but more tomorrow I promise!
  16. juanito

    Weighted average in flat file

    Thank you John for your reply! I’ll respond tomorrow in euro time.
  17. juanito

    Weighted average in flat file

    Hi all - I want to find a formula which can extract a weighted average where there is only one Values column. I can do this by pivoting into two columns easily enough (see solution to the right), but prefer to find a formula which can act directly on the data table as presented... and I haven't...
  18. juanito

    Named formula mystery

    Thank you Narayan - The issue was with the scope, and I have now fixed it. - juanito
  19. juanito

    Named formula mystery

    I have a named formula for dynamic range "_dq" defined as follows: =OFFSET(qualdata!$A$2;;;COUNTA(qualdata!$A:$A)-1;COUNTA(qualdata!$1:$1)) I am getting #NAME? errors referencing this formula from other worksheets. If on the 'qualdata' source worksheet, I can type F5 go to, "_dq" and the...
  20. juanito

    Split Sentence into two parts

    It's probably wiser to search for the entire " to " string in the source string - otherwise if your first city is New York for example then the formula above won't work because it is searching for a space and the city name contains a space. Try =LEFT(A1;SEARCH(" to ";A1)-1) for the first city...
  21. juanito

    Unique & distinct result based on multiple criteria

    Dave, I can't see a file
  22. juanito

    Keyboard shortcut to select column with merged cells

    You may need to select the individual column again after demerging? (After demerging two columns are selected?)
  23. juanito

    Keyboard shortcut to select column with merged cells

    Yes, that's probably your best option then - juanito
  24. juanito

    Keyboard shortcut to select column with merged cells

    You'd have to use VBA I believe (I'm no VBA expert). But I continue to support bobhc's advise to avoid merging in (nearly) all cases. Another way to achieve similar effects to a merged cell is to use the camera tool. - juanito
  25. juanito

    Is there a better solution to what I did with INDEX

    Hello David - I think the oddness in your formulas arises because you count all the way to the end, and then backwards again. Wouldn't it be better just to count forwards? I attach an alternative that does just that. Note that I created some named formulas, including one for the total number...
Back
Top