+ Reply to Thread
Results 1 to 5 of 5

What to do when formula which should work in theory fail ? Change Formula or Find out why?

  1. #1
    Registered User
    Join Date
    12-16-2022
    Location
    Hong Kong
    MS-Off Ver
    365
    Posts
    9

    What to do when formula which should work in theory fail ? Change Formula or Find out why?

    I ran into a problem with a formula that should work according to Microsoft but it failed .

    When such simple formula can fail for a 32KB Workbook, I am questioning myself is it wise to adopt new Microsoft function?

    Is it better practise to rewrite a formula which should work in theory rather than find out why it can fail ?

    How to know if rewriting formulas is the answer ? or is there other issue when my original formula is now working in same Workbook.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: What to do when formula which should work in theory fail ? Change Formula or Find out

    You are not telling (or showing) us exactly what you are trying to do. Show us the formula - along with some data - and explain what you expected and what you got.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: What to do when formula which should work in theory fail ? Change Formula or Find out

    It's always better to try and find out what is causing the formula to fail.

    A simple formula is:

    =SUM(A1:A10)

    but you might find that this produces a result of zero. There is nothing wrong with the formula, so it indicates that something is wrong with the data in the range A1:A10 - perhaps you have data in that range which looks like numbers but may in fact be text values, and summing them will result in 0.

    In this case the data is incorrect, rather than the formula.

    Hope this helps.

    Pete

  4. #4
    Valued Forum Contributor
    Join Date
    11-29-2022
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    430

    Re: What to do when formula which should work in theory fail ? Change Formula or Find out

    I personally do not like to admit defeat and I will play with a formula until it does what it is supposed to. Gotta love OCD.

  5. #5
    Registered User
    Join Date
    12-16-2022
    Location
    Hong Kong
    MS-Off Ver
    365
    Posts
    9

    Re: What to do when formula which should work in theory fail ? Change Formula or Find out

    For Excel Web, SUM(--ISFORMULA(A1:A38)) did not return Value nor Error ; result is =SUM(--ISFORMULA(A1:A38))
    This problem disappeared after performing below actions
    1. turning off AutoSave
    2. turn off Background in Advance Setting of Apps
    3. Close other Edge Tabs
    4. Close Desktop Apps
    5. Clear Edge Cache
    6. Reset OneDrive
    7. Turn off Office Sync pertaining OneDrive

    How to find out if SUM function is more susceptable to Windows Environment?
    Last edited by panes-rubrics; 12-20-2022 at 12:44 AM.

+ 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. [SOLVED] Can't get the formula to work, pass/fail based on tolerance
    By Galkattedame in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-18-2019, 09:17 AM
  2. [SOLVED] Need formula for Group Exemption from Theory, Internal & Practical
    By vijubhau in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 01-25-2018, 07:54 PM
  3. [SOLVED] Theory Post: Array Formula Troubleshooting
    By The_Snook in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-02-2017, 01:49 PM
  4. Theory Post: Check for formula changes between two workbooks
    By The_Snook in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-13-2016, 03:21 AM
  5. [SOLVED] Need a formula for pass/fail based on no. of Y answers but automatically fail if 3a is N
    By Researcher1111 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-15-2013, 10:20 PM
  6. [SOLVED] MATRICES ISSUE: Trouble translating some geographical matrix theory into a formula
    By spanishguy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2012, 01:50 PM
  7. Just Cannot Get This Formula To Work! (Find)
    By NewExcelUser in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2007, 02:18 PM

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