+ Reply to Thread
Results 1 to 16 of 16

Array formula Explained For Everyone (this is a reference sheet)

  1. #1
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Array formula Explained For Everyone (this is a reference sheet)

    People in accounting and scientific research won't learn how to use Array formulae (the curly brackets), because it is not an auditable process; firstly, because under various conditions you can lose the curly brackets somewhere and there's no alert to warn you of this, and secondly because you are working in a virtual space that cannot be visually evaluated.

    For those who want to rearrange data repeatedly in the future, or are working across workbooks/sheets, replace the array formula with actual values once the operation is complete. For those looking to develop scalable data analysis or reporting tools, welcome to the labour force!

    Arrays: takes data, sorts it virtually, calculates virtually; eliminates need to build multiple sheets of data and let's you skip steps.

    Example:
    Potatoes, along with other items, are sold at different prices on each day: A=Price, B=Item Name, C=Number of sales Per Day:

    "=sum(if($b$1:$b$20="potatoes",$c$1:$c$20)*if($b$1:$b$20="potatoes",$a$1:$a$20) --> Returns error without curly brackets because you are not giving it permission to work virtually; so using curly brackets...
    "{=sum(if($b$1:$b$20=,$c$1:$c$20)*if($b$1:$b$20="potatoes",$a$1:$a$20))} --> Great Success! Remove after results and computation: copy and paste values!"[/B]

    Array Formula are resource intensive!

    Alternatively, you would have to build a whole lot of stuff to get this done; maybe one or two tables. And it's fine if you do that - at least your solution methodology can be ported effortlessly to other work.
    End of Example

    Fzolf. May this be found by everyone and every time, until the end of time!

    So take, these broken wings...texas potato.xlsx
    Last edited by frankzolf; 05-17-2014 at 09:50 PM. Reason: array, array formula, what not to rely on

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Array formula Explained For Everyone (this is a reference sheet)

    "=sumif($b$1:$b$20="potatoes",$c$1:$c$20)*$a$1:$a$20) --> Returns error without parenthesis because you are not giving it permission to work virtually"
    "{=sum(if($b$1:b$20="potatoes",$c$1:$c$20)*$a$1:$a$20)} --> Great Success! Remove after results and computation: copy and paste values!"
    First, both of your formulas have errors.

    Second, why would you destroy the design after getting one set of results? If the price of potatoes changes every day, you've locked in the result for some unknown particular day, which defeats every conceivable purpose of writing formulas in the first place.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    i dont think so. i have degrees, but i don't know what you mean by the second part....? try the attachement.

    maybe this underlines my point ~ try using ctrl-alt and enter in column H

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Array formula Explained For Everyone (this is a reference sheet)

    @frankzolf

    There were errors in your formulas (before you edit them)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: Array formula Explained For Everyone (this is a reference sheet)

    I don't understand the purpose of this thread; also, in the wrong subforum.
    Ben Van Johnson

  6. #6
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    Yes, this was a good idea of mine to create this. You will also note, that, in fact, there is another error, but it is intentional and is a learning mechanism.
    Maybe you are familiar with this concept?
    599210_375962689177825_611614578_n.jpg

    There is a translation error in your quote: "Nothing is so firmly certain as 'what we don't know'"

  7. #7
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    thank you, Leah -how do I fix this?

    Array formula are a tricky thing to understand. Maybe this makes it easier to understand?

  8. #8
    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,945

    Re: Array formula Explained For Everyone (this is a reference sheet)

    Frankzolf, can I ask what the purpose of your thread here is?

    It appears that your formulas contain errors, and, as has already been pointed out to you, your logic for replacing valid (and, despite your eroneous claim - very auditable) formulas with their values, is most certainly misplaced.

    Just because a user could unknowingly just enter an array (instead of CSE), does not make them any more unworthy than a manual-shift car to a driver that has always driven an automatic.

    So, I ask again, what is the purpose of this thread?
    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

  9. #9
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    Dear FDibbins,

    If you had to apply array formula to a large dataset and an individual with access to it clicks in the cell, the curly brackets do in fact disappear. there are no warnings that this error has occurred; the results undermine the integrity of the field and it is crucial that people are made well aware of these risks.

    We battle everyday with integrity issues, this post merely attempts to be a clear, educational outline of the array formula - something that is difficult to find anywhere online. please accept that this has it's utility. If you do not agree and since I can find no reason why it's purpose and functionality do not align with the values of this forum, I have to ask: do you want me to take it down?

    And by the way, the mass rollout of automatic transmissions in automobiles is not simply a joke, it actually reduces aggregate fuel consumption and unwanted 'wear and tear' of expensive, resource intensive vehicles. Would you trust a policeman to drive a 28-gear truck? he's not trained to, but yet baboons are allowed to do data capture. I know this forum has a higher purpose and I aim to meet this challenge and contribute where I see a deficit.

    Regards
    Fzolf
    actuary
    Last edited by frankzolf; 05-17-2014 at 10:16 PM.

  10. #10
    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,945

    Re: Array formula Explained For Everyone (this is a reference sheet)

    I have pretty much already covered this point you make (repeatedly)...
    If you had to apply array formula to a large dataset and an individual with access to it clicks in the cell, the curly brackets do in fact disappear
    Just because a user could unknowingly just enter an array (instead of CSE), does not make them any more unworthy than a manual-shift car to a driver that has always driven an automatic.
    And to your claim that...."We battle everyday with integrity issues, this post merely attempts to be a clear, educational outline of the array formula" I hardly see how having a number/value in a cell - which you would have NO way of defending in any way, shape or form other than to say"well I copied it there from some formula", is anywhere close to having a formula that you cen explain and step through?

    Your comment regarding why automatic transmissions are prevelent, is totally meaningless to my comparison of arrays to manual transmissions
    "blaming array errors on operator inputs is akin to blaming the inability of a driver to drive a manual-shift car to a driver that has always driven an automatic"

  11. #11
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    you are right. what now?

  12. #12
    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,945

    Re: Array formula Explained For Everyone (this is a reference sheet)

    now - nothing. I suggest you mark the thread solved and leav it at that

  13. #13
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    funny that. it was always solved.

    i hope people that google "array formula explained" find this.

    sorry for my english.

  14. #14
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Array formula Explained For Everyone (this is a reference sheet)

    It's amazing what can be done with formulas and the array formulas are even more amazing, but a formula in a cell can always be erased or altered - that's why Excel has so many security protocols.

    Yet many organizations and bosses will not allow macros even though they are "neater".

    The actuarial exams are, self admittedly, graded subjectively - but that could just be sour grapes
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  15. #15
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Array formula Explained For Everyone (this is a reference sheet)

    if subjectivity is an integrity control, then it justifies firing people because of "culture fit"; and no one agrees with the latter in knowledge work.

    macros are a security threat, yes.

    macros certainly make the product developers of excel's jobs easier. they would do well to include a function that changes array formula into actual reference tables and 'normal' formula. this would please CPAs for sure (but I am sure they don't even know what excel is for, beyond high maintenance SAP et al).

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Array formula Explained For Everyone (this is a reference sheet)

    I've always thought that SAP was well named

+ 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. [SOLVED] Locked formula changes reference when rows added to reference sheet in same workbook
    By macrorookie in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2014, 04:08 PM
  2. Please help how to get the Formula for below explained...!
    By mzaheer_abbas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2014, 02:17 AM
  3. Use cell value to reference sheet for array
    By Tasoli in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2013, 11:04 AM
  4. SUMIF formula explained
    By 92811 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-28-2011, 05:07 PM
  5. need help with a v lookup formula, just need it to be explained
    By damagedbodies in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-12-2010, 01:08 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