+ Reply to Thread
Results 1 to 2 of 2

Specific Formula for IF OR argument incorporating Absolute Value

  1. #1
    Registered User
    Join Date
    02-18-2019
    Location
    Qatar
    MS-Off Ver
    Professional Plus 2013
    Posts
    1

    Post Specific Formula for IF OR argument incorporating Absolute Value

    Dear Users,

    Some help with an excel formula please.

    I have recurring 3 columns across a spreadsheet;

    In comparing columns A and B the third column is a variance. I want to use the variance absolute value to reassign a value in column A that reflects column B and generate a new table on a separate worksheet;

    Data File

    Column A Column B Variance
    47.0% 86% -39%
    100% 90% 10%
    0% 100% -100%
    100% 0% 100%


    The request is as follows;

    - IF the absolute value of the variance is > 0% or < 100% THEN assign the % of column B into column A

    AND /OR

    - IF the absolute variance = 100% then highlight the cell in red



    The required output;

    Column A Column B Variance
    86% 86% 0%
    90% 90% 0%
    0% [RED] 100% -100%
    100%[RED] 0% 100%

    Is there someone out there who can assist me in writing a formula that will support this request?



    Regards DomByrne01
    Attached Images Attached Images

  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,929

    Re: Specific Formula for IF OR argument incorporating Absolute Value

    Hi, welcome to the forum

    If I understand you correctly, you want to replace a value in column A with what is shown in column B, given certain criteria?

    If that is what you want, you cannot do that with formulas - they only work on the cell they reside in, and cannot affect any other cells.
    You will need VBA (code) for this.
    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

+ 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. Deleting entire rows that contain a specific argument
    By juansalix in forum Excel General
    Replies: 3
    Last Post: 02-02-2019, 01:41 PM
  2. Need to compare columns and satisfy a specific argument
    By marshak in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-27-2018, 08:47 PM
  3. Using an IF argument & COUNTIF argument in the same cell formula
    By TommyK25 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-14-2013, 08:52 AM
  4. How to build a specific type of argument for the IF function
    By brunocinelli in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2013, 10:10 AM
  5. Replies: 0
    Last Post: 04-08-2013, 05:08 AM
  6. [SOLVED] Incorporating IF MAX formula into a macro
    By batjl9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2012, 12:02 PM
  7. [SOLVED] Function (array argument, range argument, string argument) vba
    By Witek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2005, 11:07 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