+ Reply to Thread
Results 1 to 4 of 4

If function not returning value until i reinsert the formula

  1. #1
    Registered User
    Join Date
    09-06-2021
    Location
    London,england
    MS-Off Ver
    MS365
    Posts
    1

    If function not returning value until i reinsert the formula

    Hi all,

    i have a weird occurance with one of my sheets. I have the below formula that should return a difference part number according to the first 7 didgits of the serial number.

    =IF(ISNUMBER(SEARCH("3W44C30*",$A142)),"CP4121",IF(ISNUMBER(SEARCH("3W44C34*",$A142)),"CP4123",IF(ISNUMBER(SEARCH("3W44C140*",$A142)),"CP4321",IF(ISNUMBER(SEARCH("21BZ1*",$A142)),"HYC-150",IF(ISNUMBER(SEARCH("3W44C10*",$A142)),"CP4320",IF(ISNUMBER(SEARCH("3W44T10*",$A142)),"CP4320",IF(ISNUMBER(SEARCH("3W44T20*",$A142)),"CP4120",XLOOKUP($A142,'Warehouse stock'!C:C,'Warehouse stock'!H:H))))))))

    For half of my sheet this is working and returning the correct value for the other half it is returning blank. The function in the column is the same the entire way and therefore i know it should work. I have had some success getting around this by retyping the exact same forumla but occasionally this only breifly returns the correct value before it goes blank.

    The cells formated general. calculations are automatic.

    Can anyone help?

    excel MS365
    Attached Images Attached Images
    Last edited by rw23gibson; 09-20-2021 at 09:52 AM.

  2. #2
    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,090

    Re: If function not returning value until i reinsert the formula

    Please see the yellow banner at the top of the page.
    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


  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
    79,369

    Re: If function not returning value until i reinsert the formula

    There is no Excel 2018 - do you have MS365? Please update your forum profile accordingly.
    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 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
    79,369

    Re: If function not returning value until i reinsert the formula

    You have updated your post with MS365, but not your profile - please update the latter.

    There are instructions at the top of the page explaining how to attach your sample workbook.

+ 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 not returning correct result using MODE() function
    By jackmcguigan1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2016, 01:15 PM
  2. Function returning worksheet formula problem.
    By frikost in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-30-2014, 09:55 AM
  3. [SOLVED] ISNUMBER function in formula not returning expected value
    By lukela85 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-09-2013, 05:12 PM
  4. [SOLVED] Reinsert horizintal axis in chart.
    By JO505 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-25-2013, 08:02 PM
  5. VBA Embedding a PDF - No Do Over's After Delete & ReInsert? :-S
    By sdrmason in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2013, 02:26 AM
  6. function formula returning error when inserted in sheet
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2009, 02:37 AM
  7. Macro to clear then reinsert pivot table datafield
    By Fullam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2006, 07:40 AM

Tags for this Thread

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