+ Reply to Thread
Results 1 to 3 of 3

Why do some formulas work

  1. #1
    Forum Contributor
    Join Date
    03-08-2007
    Location
    St. Augustine, Fl
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    392

    Why do some formulas work

    I have a spread to sumif. Same formula just different team names. Some work but some don't. I can't seem to figure it out. I would truly appreciate any advice.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,850

    Re: Why do some formulas work

    Remember that when Excel (and most other programming languages) compares text to see if it is equal, it is checking to see if it is equal in every character. Testing on the Cleveland entry in B12, I notice that LEN(B12) and LEN(G12) give different responses (suggesting a difference of some kind between the two cells). Checking CODE(MID(cell,number,1)) for each character shows a trailing space 32 character in B12.

    It would seem that you will need to go through and clean up your data to make sure there are no leading/trailing spaces and other non-printing characters. TRIM() and CLEAN() functions can be useful here (though be aware that they don't work on non-breaking space 160 characters).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,069

    Re: Why do some formulas work

    Best is to clean up your data as suggested by MrShorty, else just add &"*" to your criteria:
    =SUMIF($G$5:$G$69,$B5&"*",$K$5:$K$69)

+ 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. I can't get these two formulas to work together as one.
    By jphilipson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-25-2016, 11:32 AM
  2. [SOLVED] Need Formulas to work with a list
    By AndreExcel in forum Excel General
    Replies: 7
    Last Post: 07-24-2014, 09:39 AM
  3. Even the simplest of formulas does not work
    By excelbobu in forum Excel General
    Replies: 12
    Last Post: 01-31-2008, 11:00 AM
  4. Why can't I get any formulas to work??
    By Andyc7 in forum Excel General
    Replies: 18
    Last Post: 08-28-2007, 01:27 PM
  5. Formulas in a cell don't work as formulas.
    By Lyle McElhaney in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2007, 05:04 AM
  6. Formulas do not work any more ?
    By Shelly in forum Excel General
    Replies: 2
    Last Post: 05-08-2006, 06:10 PM
  7. How can I work around the non value (#N/A) when using formulas in.
    By Fleur in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2005, 10:06 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