+ Reply to Thread
Results 1 to 3 of 3

IF OR assistance required

Hybrid View

  1. #1
    Registered User
    Join Date
    01-06-2017
    Location
    NZ
    MS-Off Ver
    2007
    Posts
    30

    IF OR assistance required

    I have the following
    =IF(OR(D2=0,C2=0),1,(D2-C2)/C2)
    however I am trying to calculate the percentage between C2 and D2. If D2 is higher than C2 then return a positive % but if C2 is higher than D2 to show a negative %.

    I just can't seem to get my head around this one. Could someone kindly assist me further.

    Regards,
    Marc

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,229

    Re: IF OR assistance required

    Hi Marc,

    Can you give some number examples for your..
    calculate the percentage between C2 and D2


    What would be the percentage between 2 and 3? I'm not sure either.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,077

    Re: IF OR assistance required

    When I use your formula it works exactly as you intend it to. Try formatting the cell with the formula in it as a percentage.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

+ 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] VBA Programming assistance required
    By Bigmiddle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-03-2015, 09:38 AM
  2. [SOLVED] IF statement assistance required
    By Hero_honda in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2014, 01:49 PM
  3. Code assistance Required
    By seenfresh in forum Excel General
    Replies: 2
    Last Post: 05-12-2007, 04:39 PM
  4. [SOLVED] Assistance required
    By Anthony in forum Excel General
    Replies: 1
    Last Post: 06-02-2006, 06:20 PM
  5. Assistance required
    By Anthony in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2006, 11:10 AM
  6. [SOLVED] Formula Assistance Required
    By bruce2444 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2005, 01:05 AM
  7. [SOLVED] Formula assistance required!!!
    By Don in forum Excel General
    Replies: 4
    Last Post: 02-22-2005, 05:06 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