+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Creating a formula with display limits

  1. #1
    Registered User
    Join Date
    10-15-2009
    Location
    Huntington Beach
    MS-Off Ver
    Excel 2007
    Posts
    22

    Creating a formula with display limits

    Hello again.

    I am writing a formula that involves multiple columns of data. While the bulk of the formula I am writing has to do with simple math, I am in need of a display function, where the answer will only be displayed if it meets some outside criterion. Such as:

    =When D3,D4 are greater>150(ROUNDUP(AVERAGE(C3,D3),0)-B3)-I3)

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Creating a formula with display limits

    =if(min(d3, d4) > 150, roundup(average(c3, d3), 0) - b3 - i3, "")
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-15-2009
    Location
    Huntington Beach
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Creating a formula with display limits

    Awesome thanks!!

    I have one more question.

    I have one set of data that also regulates whether or not I can order those items, and it is a word. I can't figure out what function to use to justify the formula.

    If the word is there I cannot order, and if it is not I can.
    Last edited by grghhn; 10-20-2009 at 03:04 PM.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Creating a formula with display limits

    Is the word the same one all of the time or is it various words?
    Is the word in a cell by it self or is it among other words all in a single cell?

    It might be best if you uploaded a sample workbook showing the structure, some sample data and a manual example of your desired results.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    10-15-2009
    Location
    Huntington Beach
    MS-Off Ver
    Excel 2007
    Posts
    22

    Re: Creating a formula with display limits

    InvenMin Max Flag Comp NY Sold On Ordr
    0 5 8 Unorderable 192 1341 0 0
    8 14 21 3031 2000 16 5


    That is the basic layout of my data. I can only make the order if the flag column is blank, like in data row two.
    The column will either have and Unorderable or nothing at all.

    This is what I currently working with.

    =IF(J2>100,TRUE,FALSE)*(IF(K2>100,TRUE,FALSE)*(ROUNDUP(AVERAGE(G2,H2),0)-F2)-M2)
    Last edited by grghhn; 10-20-2009 at 11:37 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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