+ Reply to Thread
Results 1 to 4 of 4

Using And/If/Or Formulas Functions

  1. #1
    Registered User
    Join Date
    07-05-2014
    Location
    Orlando, FL
    MS-Off Ver
    2010
    Posts
    31

    Using And/If/Or Formulas Functions

    Hello All,

    I am trying to figure out how to go about making a formula function that can come up with the following to the attached file and grab the sales volume only of the below criterias:

    1) If Days to Good (Column 'R') is "<=30" OR Type Code (Column 'P') is "P" AND Total DP Perc (Column 'AK') is ">=0.1" OR Days to Good (Column 'R') "<30" AND Total DP Perc (Column 'AK') ">=.10" AND Status (Column 'U') is not (X,T) - Then calculate sales volume (Column 'H') if not then 0

    and

    2) If Days to good (Column 'R') is between 31 and 60 AND Total DP Perc (Column 'AK') is "<.10" AND Status (Column 'U') is not (X,T) then calculate Sales Volume (Column 'H'), if not then 0

    Thanks so much for your help!

    Hendrix P.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Using And/If/Or Formulas Functions

    2) If Days to good (Column 'R') is between 31 and 60 AND Total DP Perc (Column 'AK') is "<.10" AND Status (Column 'U') is not (X,T) then calculate Sales Volume (Column 'H'), if not then 0

    =IF( AND( R2>=31, R2<=60, AK2 <0.1, OR(U2<>"X", U2<>"T")), H2, 0)

    1) If Days to Good (Column 'R') is "<=30" OR Type Code (Column 'P') is "P" AND Total DP Perc (Column 'AK') is ">=0.1" OR Days to Good (Column 'R') "<30" AND Total DP Perc (Column 'AK') ">=.10" AND Status (Column 'U') is not (X,T) - Then calculate sales volume (Column 'H') if not then 0

    =IF( AND ( AK >= 0.1, OR(R2 <=30 , P2="P") , OR(U2<>"X", U2<>"T") ) , H2, 0)

    combining the two
    =IF( OR(AND( R2>=31, R2<=60, AK2 <0.1, OR(U2<>"X", U2<>"T")), AND ( AK >= 0.1, OR(R2 <=30 , P2="P") , OR(U2<>"X", U2<>"T") ) ) , H2, 0)
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-05-2014
    Location
    Orlando, FL
    MS-Off Ver
    2010
    Posts
    31

    Re: Using And/If/Or Formulas Functions

    Thank you so much for your help! This helped a lot!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Using And/If/Or Formulas Functions

    your welcome
    thanks for the rep

+ 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. what functions/formulas to use
    By le3 in forum Excel General
    Replies: 1
    Last Post: 04-05-2007, 03:42 PM
  2. [SOLVED] functions/formulas
    By Lara Leigh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2006, 11:20 PM
  3. [SOLVED] Using formulas/functions
    By Lucylambkin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-11-2005, 12:50 PM
  4. functions/formulas
    By AccountantPB in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2005, 11:06 PM
  5. Functions and formulas
    By abfabrob in forum Excel General
    Replies: 4
    Last Post: 04-13-2005, 04:06 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