+ Reply to Thread
Results 1 to 7 of 7

Formula Stopped Working (Sum if using left, find, len)

  1. #1
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Formula Stopped Working (Sum if using left, find, len)

    hello All

    Driver Scores Tab

    where there is a zero - the formula isnt working,




    it needs to look up Daniel Ricciardo from Drivers Scores, but on the we data tab its D. RICCIARDO


    please see attahed

    Paul
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula Stopped Working (Sum if using left, find, len)

    Rather than using SUMIF you could get the results with an INDEX/MATCH lookup.
    Try this in D3 then copied down and across as required:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    BSB

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,990

    Re: Formula Stopped Working (Sum if using left, find, len)

    Try this instead:

    =INDEX('WEB Data'!C:C,MATCH(LEFT($A3)&". "&MID($A3,FIND(" ",$A3)+1,LEN($A3)),'WEB Data'!$B:$B,0))

    No need for CTRL+SHIFT+ENTER.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: Formula Stopped Working (Sum if using left, find, len)

    The problem is with the data on the web page, not your formula ... although it doesn't need to be an Array Formula.
    Attached Files Attached Files
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,469

    Re: Formula Stopped Working (Sum if using left, find, len)

    Sorry, I should have said: I used a small VBA routine to ensure that the data was numeric. I'm not sure why it wasn't being treated as such. One of the hazards of using web data, I guess. I also changed the formulae to normall formula (not Array Entered).

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula Stopped Working (Sum if using left, find, len)

    The formula is working fine, the web data has a formatting issue which is causing the error.

    You could fix it by copying an empty cell then applying pastespecial - add to web data C2:W24,or more simply use INDEX as BSB has already suggested.

    As you have structured tables,

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note that the formula is broken into 2 lines deliberately, I'm not sure why, but table references with spaces in the column name don't work without this.

  7. #7
    Forum Contributor
    Join Date
    04-06-2017
    Location
    Wolverhampton
    MS-Off Ver
    Office 365
    Posts
    471

    Re: Formula Stopped Working (Sum if using left, find, len)

    thanks All for your time and effort

+ 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. Formula stopped working?
    By natonstan in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-13-2016, 04:52 PM
  2. [SOLVED] Formula stopped working
    By adambot in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-20-2014, 12:23 PM
  3. [SOLVED] Edit-Find has stopped working in the VB Editor
    By Twojay54 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-23-2014, 02:24 AM
  4. VBA Find stopped working on Find Text (xlValue vs xlFormula)
    By ker9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2014, 10:31 AM
  5. find method stopped working after formating cells
    By kmeld in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2013, 03:49 AM
  6. formula stopped working
    By cprpacific in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-04-2013, 10:27 AM
  7. Macro Stopped working: Find not Finding
    By yunesm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-26-2011, 10:14 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