+ Reply to Thread
Results 1 to 3 of 3

Trouble with Simple Array Formula

  1. #1
    Registered User
    Join Date
    08-25-2008
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    80

    Trouble with Simple Array Formula

    Edit: Used a vlookup instead of an array, and it seems to be working fine. Sorry for any trouble.


    Hi. Well, this seemed like a simple formula to me, but for some reason I just can't get it to work.

    If you look at the attached file, I am trying to get the formula in cell A8 on the first workbook to work. All I want to do is find the listed state in cell A1 on the first workbook, entitled "Calc", on the second workbook entitled "rates" in column A, and return the percentage in column B.

    One thing I noticed was that the LA in cell A1 is actually 'LA, so I tried changing the LA on the "Rates" workbook in cell A27 to the same thing, but that didn't work. I also tried changing the 'LA on the "Calc" workbook to LA so that it matched cell A27 on the "Rates" workbook, but that didn't work either.

    Thanks for looking.
    Attached Files Attached Files
    Last edited by pugsly8422; 06-09-2014 at 02:22 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Trouble with Simple Array Formula

    A few points:
    1) An "array formula", in Excel, is a special kind of formula that is completed by holding down CTRL and SHIFT when you press ENTER (instead of just pressing ENTER).
    2) In SUMIF and SUMIFS, the arguments are reversed.
    SUMIF(Criteria_range,Criteria,Value_range)
    SUMIFS(Value_range,Criteria_range,Criteria,Criteria_range,Criteria,etc)

    3) Using SUMIF on a large list when you only need one value can be an inefficient use of Excel's processing resources.
    4) Referencing an entire column when you don't need to can also be an inefficient use of Excel's processing resources.
    5) Try this regular formula in your posted workbook
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    08-25-2008
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    80

    Re: Trouble with Simple Array Formula

    Quote Originally Posted by Ron Coderre View Post
    A few points:
    1) An "array formula", in Excel, is a special kind of formula that is completed by holding down CTRL and SHIFT when you press ENTER (instead of just pressing ENTER).
    2) In SUMIF and SUMIFS, the arguments are reversed.
    SUMIF(Criteria_range,Criteria,Value_range)
    SUMIFS(Value_range,Criteria_range,Criteria,Criteria_range,Criteria,etc)

    3) Using SUMIF on a large list when you only need one value can be an inefficient use of Excel's processing resources.
    4) Referencing an entire column when you don't need to can also be an inefficient use of Excel's processing resources.
    5) Try this regular formula in your posted workbook
    Please Login or Register  to view this content.
    Does that help?
    Thanks for the explanations, and the formula, it worked great.

    Oh, and.....

    "You must spread some Reputation around before giving it to Ron Coderre again."

+ 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. Table issues, reverse lookup help with my workbook
    By chambersj in forum Excel General
    Replies: 3
    Last Post: 05-22-2012, 07:23 AM
  2. Array Formula Trouble
    By braydon16 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-30-2010, 05:01 PM
  3. Excel 2007 : Trouble with a simple 'Sum' formula
    By EDtheROCKSTAR in forum Excel General
    Replies: 4
    Last Post: 08-12-2010, 12:30 PM
  4. [SOLVED] Simple Formula Trouble
    By FP Novice in forum Excel General
    Replies: 3
    Last Post: 08-04-2006, 10:20 AM
  5. help with simple formula-trouble putting
    By Shooter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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