+ Reply to Thread
Results 1 to 7 of 7

Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

  1. #1
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Thumbs up Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    Hi folks..
    I was working on a project.. where I wanted my function parameter to behave like array when passed to function..
    I searched everywhere some suggested to register the parameter as array .. and some other things..
    But I failed to achieve that..
    Then I thought, If I can't replicate the behavior of Sumproduct.. then why not use it as a base of array calculation..
    that forced me to think about what following link is all about..
    Have a look at following lik..
    if any one of you have any suggestion .. then do comment ..
    It will mean a lot to me..
    http://excel-buzz.blogspot.in/2014/0...-to-array.html

    You can have a practical of the same..
    in the attached file..
    http://www.excelforum.com/attachment...ca-teste_4.zip

    Regards,
    Vikas Gautam

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    Hi Vikas,

    Nice, and I've seen similar alternatives before, but the key question remains (and is perhaps the reason why such constructions have yet to catch on as a serious contender for the standard CSE version):

    Are the three extra function calls (SUMPRODUCT, INDEX and FREQUENCY) compensated for by the fact that it no longer needs to be committed as an array formula?

    I went through a phase a year or so ago where I was borderline obsessed with avoiding array formulas, so much so that I would insert sometimes up to two or even three extra INDEX functions into a large formula in order to avoid having to use CSE. Unfortunately the end result was that the new, non-array version had a much heavier impact on resource than the previous array version!

    I'm not saying that this isn't a viable solution. It is, and it has some very nice features from which people can learn a lot about Excel functions (the INDEX(FREQUENCY... combination is a nice construction that not many people know about).

    That said, I always have a slight worry (I believe Tony Valko shares this view!) that array formulas are commonly misunderstood as something which we should, in general, "make an effort to avoid", a conception that is not helped by the numerous sources around the internet that warn of the "dangers" of using array formulas (an OP once told me, when I asked them why they wished to avoid array formulas in any solution offered to them, that it was because they had heard that they can "damage your computer"!).

    Anyway, thanks for sharing the post and the nice ideas: my advice would be to continue these types of investigations into non-array alternatives, but also to perhaps bear in mind that such alternatives may not be any "better" than the equivalent array version!

    Regards
    Last edited by XOR LX; 08-07-2014 at 08:35 AM.
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    Yeah XOR..
    I agree with your view...
    But my effort was for "Not letting user to hit CTRL + SHIFT + Enter"

    and yeah your are absolutely correct in asking following question..

    "Are the three extra function calls (SUMPRODUCT, INDEX and FREQUENCY) compensated for by the fact that it no longer needs to be committed as an array formula?"

    But I think.. this combination (SUMPRODUCT, INDEX and FREQUENCY) have compensated enough.

    But I think the worry is the Repeated calculation in the formula..

    I sincerely thank you to appreciate my view.. and the suggestion.. which I will take about in future..

    Thanks,
    Thanks a lot...

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    You're welcome.

    I just hope I didn't put you off investigating into these alternative solutions. One of the things that you notice after a while is that there are many Excel users (advanced included) who seem to have long ago given up on searching for new ideas, and who continue to trot out the same old formulas...

    Of course, these "old" formulas are in "standard use" by virtue of their being, in general, the best and most rigorous constructions. But not all, I have to say. And even those that appear to be beyond improvement may not be, if only we look hard enough.

    So well done and keep on investigating and looking for new, creative solutions in Excel! I look forward to seeing more from you in the near future!

    Cheers

  5. #5
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    Of course , I will...

    Thanks
    Xor

    Thanks a lot...

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    I am really glad to see that a young man(sawing your avatar and thinking that this is your pic) looking for new Excel solutions.

    I say this because most of the young people refuse to (even)use Excel for their needs(At least in Greece).

    My friend XOR LX told about all the "techical" issues.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Sumproduct as an Alternative to Array formulas.. Substitute of CTRL+Shift+Enter

    Fotis,
    thanks..

    I just can't sleep at night..when I couldn't get it happen in excel in my way...
    Excel is what I can't stop thinking about.. besides my love..

    Vikas Gautam

+ 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. With VBA Enter Ctrl Shift Enter For Array Formula
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-17-2013, 09:02 AM
  2. Ctrl+Shift+Enter (CSE) array formulas in VBA using differing formulas
    By officeguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2012, 04:31 PM
  3. Replies: 4
    Last Post: 01-05-2009, 10:59 PM
  4. alternative to Ctrl+Shift+Enter on every cell of a large sheet
    By ffinstad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-05-2008, 12:30 PM
  5. [SOLVED] array and CTRL+SHIFT+ENTER
    By Nicolas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-18-2005, 08:05 AM

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