+ Reply to Thread
Results 1 to 11 of 11

Canned Replies: Array Formula statement is inaccurate

  1. #1
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Canned Replies: Array Formula statement is inaccurate

    The highlighted statement is incorrect:

    ...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    You can get the correct result if the formula is not array entered. It depends on what the formula is doing and where the formula is entered relative to the data being referenced.

    Try this...

    A1:B5 =

    X.....22
    Z.....37
    X.....30
    Y.....79
    Z.....84

    Normally enter this formula in D1:

    =MIN(IF(A1:A5="x",B1:B5))

    The formula returns the correct result even though it was not array entered.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Canned Replies: Array Formula statement is inaccurate

    Here's my personal canned reply for array formulas:

    Array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Array formulas are entered differently than a regular formula.
    After you type in a regular formula you hit the ENTER key.
    With an array formula you *must* use a combination of keys.
    Those keys are the CTRL key, the SHIFT key and the ENTER key.
    That is, hold down both the CTRL key and the SHIFT key then
    hit the ENTER key.

    When done properly Excel will enclose the formula in squiggly
    brackets { }. You can't just type these brackets in, you
    *must* use the key combo to produce them. Also, anytime
    you edit an array formula it *must* be re-entered as an
    array using the key combo.
    Normally, I just use the 1st paragragh but in its entirety, I think it's a pretty good explanation.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Canned Replies: Array Formula statement is inaccurate

    I understand the point you're making, most array formulas are not so nice. I think I'll leave it. Feel free to create your own version.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Canned Replies: Array Formula statement is inaccurate

    Yeah, I've been using my own canned reply for many years.

    When I'm in the Excel forums I have a Notepad file full of canned replies that I use.


  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Canned Replies: Array Formula statement is inaccurate

    (blush)

    I started with a single notepad, that one has grown to 1000 lines, organized into 20 sections or so.
    Now I have a second with a full collection of "best of" macros I've written over the years, stuff not yet published in an organized way on my code site... I'll get there.

    And yep, still use both notepads every day. Crazy.

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Canned Replies: Array Formula statement is inaccurate

    Hi,

    I just noticed I have a small drop down list that says Canned Replies while replying to a post, which was not previously available.

    Does that mean I can/am supposed to guide a user if he is violating any rules to the right path?

    Or is that something only Forum admins are allowed to do?
    Cheers!
    Deep Dave

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Canned Replies: Array Formula statement is inaccurate

    I would recommend you refrain from moderating other users, though your access to the Canned Replies means you can certainly do so if you wish. Our preference is that you use the REPORT button to draw moderation attention to threads with rule breaks.

    Now that you have access to the Canned Replies, the #1 use will be for you to create your own canned replies to save you having to type out things you find yourself saying frequently.

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Canned Replies: Array Formula statement is inaccurate

    Alright great...

    Thank you for the reply..

  9. #9
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Canned Replies: Array Formula statement is inaccurate

    Quote Originally Posted by JBeaucaire View Post
    Now that you have access to the Canned Replies, the #1 use will be for you to create your own canned replies to save you having to type out things you find yourself saying frequently.
    How do I do that, I am unable to find it..

  10. #10
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Canned Replies: Array Formula statement is inaccurate

    Got It! Sorry for the inconvenience..

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Canned Replies: Array Formula statement is inaccurate

    No problem.

    Last tip, resist the urge to make permanent edits to the Canned Replies that have been shared for your use. Cheers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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