+ Reply to Thread
Results 1 to 6 of 6

Calculation not working on formulated cell

  1. #1
    Forum Contributor
    Join Date
    03-19-2019
    Location
    Essex, England
    MS-Off Ver
    Office 365
    Posts
    110

    Calculation not working on formulated cell

    Hi All

    I need help, on many levels but I'll stick with Excel problem I have.

    In a nutshell I have a vlookup formula in cell G51, that result will be either lower or higher than 1.75. In cell H51 I have a formula which SHOULD stay blank if less than 1.75 or say "out of spec" if higher than 1.75 but it doesn't work, or at least is not consistent.

    The formula I am using in H51 is: =IF(G51>=1.76,"Out Of Spec","")

    but as you will see in the attached example its not working and says out of spec when it is not, I have the same formula in cell H58 which is looking at cell G59 which is giving a different result, i.e. is blank. Both the results of the vlookup in G51 and G59 are formatted as numbers.

    I have the same problem in all of the red boxes on the example but If I can solve this I should be able to adapt to work there also.

    Any help you can offer would be greatly appreciated, it seems like it should be easy but Im struggling.

    Thanks for looking.
    Last edited by Funkymonkey0073; 01-23-2020 at 06:50 AM.

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

    Re: Calculation not working on formulated cell

    Change the formula in G51 to this:

    =IFERROR(IF($G11="","",IF(VLOOKUP($G11,Lookup!$A:$AU,45,FALSE)="","",--VLOOKUP($G11,Lookup!$A:$AU,45,FALSE))),"")

    The two minus signs in the middle (shown in red) will convert the returned value to a number, rather than the text value that you were returning.

    Hope this helps.

    Pete

  3. #3
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Calculation not working on formulated cell

    Value AS25 (0.75) which VLOOKUP gives you in G51 is not a number.
    As I see table to lookup is taken from other source and you can''t guarantee that numbers in col. AS will be in proper format so I suggest add 0 (yes, zero) and the end of formula in G51 to be sure that in value in G51 will be 'converted' into number.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  4. #4
    Forum Contributor
    Join Date
    03-19-2019
    Location
    Essex, England
    MS-Off Ver
    Office 365
    Posts
    110

    Re: Calculation not working on formulated cell

    Thank you Pete_UK, not just for the solving it but the speed in which you replied, not the first time you have helped me and as always I am very grateful.

    Have a great one.

    Stuart

  5. #5
    Forum Contributor
    Join Date
    03-19-2019
    Location
    Essex, England
    MS-Off Ver
    Office 365
    Posts
    110

    Re: Calculation not working on formulated cell

    Thanks Kokosek, appreciated, I assumed as the cell was formatted as a number the result was.

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

    Re: Calculation not working on formulated cell

    Glad to help, Stuart, and thanks for the feedback. I was just about to go out and realised that I just had time to respond to your thread.

    Pete

+ 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] how to get nearby value using leftside cell which contains formulated value
    By kishorsavaniuml in forum Excel General
    Replies: 3
    Last Post: 01-27-2020, 09:08 AM
  2. [SOLVED] Referenced cell not working with SUM calculation.
    By Kat2016 in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 05-21-2016, 01:52 AM
  3. Cell is not showing the formulated result.
    By chris_asdf in forum Excel General
    Replies: 7
    Last Post: 01-07-2016, 04:58 PM
  4. Is it possible to use a formulated cell reference number?
    By kelvinvu12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-11-2015, 01:48 PM
  5. Dividing one formulated cell by another
    By nikwak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-29-2014, 03:33 PM
  6. [SOLVED] The formulated cell appear blank
    By imran91 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2012, 11:36 PM
  7. Offset formulae for formulated cell
    By mohinder82 in forum Excel General
    Replies: 0
    Last Post: 12-12-2011, 09:00 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