+ Reply to Thread
Results 1 to 15 of 15

Excel Features you wish Existed

  1. #1
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Excel Features you wish Existed

    Just wondered what your wish list was!

    Mine is

    1) Speed up VBA and add better security to projects/Files
    2) A way of defining parts of a calculation for cases like

    = if(iserror(Formula), "",Formula)

    itwould be nice to do
    =Define (MyFormula,A1+A2+A3) if(iserror(Myformula,MyFormula))

    besides speeding it up as it would only have to calculate Myformula once and use the result! Especially if myformula is long and repeated 4 or 5 times in the main formula!
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel Features you wish Existed

    Quote Originally Posted by squiggler47 View Post
    Just wondered what your wish list was!

    Mine is

    1) Speed up VBA and add better security to projects/Files
    2) A way of defining parts of a calculation for cases like

    = if(iserror(Formula), "",Formula)

    itwould be nice to do
    =Define (MyFormula,A1+A2+A3) if(iserror(Myformula,MyFormula))

    besides speeding it up as it would only have to calculate Myformula once and use the result! Especially if myformula is long and repeated 4 or 5 times in the main formula!
    You can define formulas.. Insert|Name|Define (it's not only for naming ranges).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Excel Features you wish Existed

    Chip's site shows an example of using defined formula

    http://www.cpearson.com/excel/nested.htm
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Excel Features you wish Existed

    I know you can create a named formula, but it would be nice to do it within the formula itself!

    That way the named formula only exists during the calculation, and if I delete the formula I'm not left with defined names that are not referenced anywhere!

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel Features you wish Existed

    1. Certainly a more robust protection would be nice. Not sure about the speed issue. I guess a lot of that is down to coding and task being performed.

    2. in xl2007 you would use IFERROR, no?

    =IFERROR(myformula,"")
    Cheers
    Andy
    www.andypope.info

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Excel Features you wish Existed

    I dont know if you ever timed a UDF

    Function Test()

    END Function


    the overhead of the call takes longer than the actual function call, this is the part that needs speeding up a little!

    and the IF() was just a simple example, i just did a formula for a pricelist that was 1800 characters long, 2 parts of the formula where repeated about 4 times each, i was tempted to use a UDF but I wanted to avoid VBA and the speed hit would have been about 400%!
    Last edited by squiggler47; 05-15-2009 at 08:18 AM.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Excel Features you wish Existed

    It did say depends what you are doing...

    Have you been to Charles Williams' site
    http://www.decisionmodels.com/calcsecretsj.htm

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Excel Features you wish Existed

    built in ability to add text /numbers before or after existing data would be handy
    a simplified regex function where you could just put in a string and you could select bits and it would do it for you.
    all of the morefunc addin functions as standard!
    ability to include cell formating for use in functions
    return multiple result from vlookup instead of using helper columns/arrays
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Excel Features you wish Existed

    How about a single function for index-Match!

    I wonder how many Array/Sumproducts are used on a regular enough basis and could benefit from a dedicated function to do a similar thing!

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel Features you wish Existed

    I agree re: INDEX/MATCH ie

    =RETRIEVE(criteria,criteria range,result range)

    where the ordering of the ranges is irrelevant and binary search is not employed ... the only 1 function alternative to INDEX/MATCH that I can think of is probably using LOOKUP in the form of

    =LOOKUP(2,1/(criteria range = criteria),result range)

    but this is a slow approach and is really no shorter character wise than typing the 2 function INDEX/MATCH call:

    =INDEX(result range,MATCH(criteria,criteria range,0))

    and obviously LOOKUP returns the last valid reference whereas INDEX/MATCH will return the former as per default VLOOKUP / INDEX&MATCH approaches.


    Re: Sumproducts etc... the introduction of SUMIFS / COUNTIFS in XL2007 will / should reduce the amount of Sumproducts needing to be used but obviously unlike SUMPRODUCT you can't manipulate the datasets being used... it would be nice to be able to manipulate the data within a standard COUNTIF(S)/SUMIF(S) etc...


    IMO IFERROR is the best introduction in XL2007 and long overdue.

  11. #11
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Excel Features you wish Existed

    Re: Sumproducts etc... the introduction of SUMIFS / COUNTIFS in XL2007 will / should reduce the amount of Sumproducts needing to be used but obviously unlike SUMPRODUCT you can't manipulate the datasets being used... it would be nice to be able to manipulate the data within a standard COUNTIF(S)/SUMIF(S) etc...


    IMO IFERROR is the best introduction in XL2007 and long overdue.

    yes IFERROR is great apart from the fact I can only use it in my own sheets, as everyone else i do sheets for now uses XP/2002!


    perhaps a function like :

    Array(Data,Selection Criteria1,[more criteria])


    or even A((Data,Selection Criteria1,[more criteria])

    that returned a subset of an array or data to use in a function! which also allows you to use data*5 like sumproduct!

    so you could

    sum(A(A1:A1000,"<" & Today()))

    min(A(A1:A1000,"<" & date(2009,1,5),">" & date(2009,5,5)))

    average(A(A1:A1000,NOT(ISBLANK(A1:A1000)))



    Perhaps a variation of IFERROR

    IFBLANK(test,"")

    and default for them to

    IFerror(TEST) - to default as IFERROR(TEST,"")

  12. #12
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Features you wish Existed

    I'd say the most requested topic on the boards, maybe aside from timesheets, is a formula to transfer data by criteria to a new sheet without blank rows.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Features you wish Existed

    Just playing with MiniTab 15 and they have WORD function with the format =WORD(text,# word, delimiter (default = Space))
    That would be a nice Excel function, maybe extending it with the additional argument of how many words to extract. So if A1 contains, "This is a nice example" In B1
    Please Login or Register  to view this content.
    Beats all those LEFTS, RIGHTS, SUBSTITUTES, etc

  14. #14
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Excel Features you wish Existed

    Chemist, ask and ye shall receive...
    Please Login or Register  to view this content.
    Example Usage:

    =WORD(A1,5,2," ")

    A1 = str = original phrase/sentence
    5 = startNum = starting word # based on delimeter
    2 = wordCount = number of words to return based on delimiter
    " " = delim = character of delimiter

    Updated (7/15/09): Added Dim for variable i; Changed Dim for "updtStr" to "updStr" as it's used in the code; Made last two arguments optional and set defaults if they were not included in the function. (I really need to start using Option Explicit!!!)
    Last edited by Paul; 07-15-2009 at 11:58 AM. Reason: Adjusted updStr during loop to use delimiter; adjusted final output to leave off trailing delim

  15. #15
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Features you wish Existed

    Thanks Paul ! ! ! !
    You're better than Microsoft.

+ 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