Consulting

Results 1 to 4 of 4

Thread: Help with formula please

  1. #1

    Help with formula please

    Hi

    I need to compare a cell value to the adjacent cell to see if the differ by more than 3% (up or down)

    Tried a logical test but can't get it to work.

    Any help as always very much appreciated

    thanks
    Jon

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    =IF(ABS(B1/A1-1)>0.03,TRUE,FALSE)
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Expert
    Joined
    May 2016
    Posts
    604
    Location
    You don't need the if statement:

    =(ABS(B1/A1-1)>0.03)

    will work fine

  4. #4
    Hi Guys,

    Both work fine - thanks again for your help

    regards
    Jon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •