+ Reply to Thread
Results 1 to 12 of 12

I would like to establish some rules in the result column of my spreadsheet. The rules a

  1. #1
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    I would like to establish some rules in the result column of my spreadsheet. The rules a

    I have a question about a formula for my data analysis spreadsheet. I would like to establish some rules in the result column of my spreadsheet. The rules are if the final DO (column C) is <1 a > symbol is placed in front of the result(column G). If the depletion (column D) is <2 a < symbol is placed in front of the result. And if the numbers pass both rules then a number without any signs is produced. What formula would I need to do this? Thanks
    Attached Files Attached Files
    Last edited by buck08; 07-20-2017 at 11:21 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Help with a Calculation

    Also please check your thread description as it does mot match your file.

  3. #3
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    The file attach is just an example of what I'm working on. The rules in the file I've sent are ones that pass, but on occasion I have samples that don't pass the rules, so I need to create a complex formula in the result column to account for those times.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    is < 1 a > symbol is placed in front of the result(column G). If the depletion (column D) is < 2 a < symbol
    Just checking re symbols in statement above

    If C >1 AND D>2 then no symbol? If C > 1 OR D > 2 add sysmbol?

    Something like this ...

    =IF(AND(C2 >1,D2>2),ROUND((F2*300)/(A2),0),IF(OR(C2 >1,D2 >2)," > "&ROUND((F2*300)/(A2),0)))

  5. #5
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    Yes, in my result column I need a < sign on my result if the depletion is <2, a > sign if my Final DO is <1 and no symbol if the results follow the rules in red on my sheet

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    TRY

    =IF(AND(C2>1,D2>2),ROUND((F2*300)/(A2),0),IF(D2<2,"< "&ROUND((F2*300)/(A2),0),IF(C2<1,"> "&ROUND((F2*300)/(A2),0))))

    You may need to change the AND(......)

  7. #7
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    It says I've entered too many arguments for this function

  8. #8
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    Nevermind, I didn't type the formula in right.

  9. #9
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    Thanks for the help!! I've been trying to get some actual help with this for about a week now.
    How do I account for those <> symbols in the average cell? I want the symbols to show up in the average cell if one or both of the results has a symbol attached. Right now it has the #value! in the cell.

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,532

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    If I understand then the following modification of John's formula will display "<>" if final D.O. is less than 1 and depletion is less than 2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If I have misunderstood, please upload a sample of the file where the #value error is being displayed along with what you want the cell to display in this situation.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  11. #11
    Registered User
    Join Date
    07-18-2017
    Location
    philadelphia, pa
    MS-Off Ver
    2016
    Posts
    37

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    John helped out a lot and that is all currently working. I've now moved on to the average cell of my spreadsheet and wanted help there. I have attached a new file to the thread. Thanks!

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,425

    Re: I would like to establish some rules in the result column of my spreadsheet. The rule

    So this is a new query about averages - yes? If so, please mark this thread as solved and start a new one about the new query with the relevant file attached. Thanks!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 0
    Last Post: 05-17-2014, 10:18 PM
  2. manual calculation for one worksheet by F9 and auto calculation for other sheet
    By rayshimadri in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-22-2013, 06:16 AM
  3. Replies: 1
    Last Post: 09-24-2013, 03:03 AM
  4. Replies: 1
    Last Post: 09-24-2013, 02:06 AM
  5. Replies: 4
    Last Post: 07-23-2013, 07:51 AM
  6. Replies: 1
    Last Post: 01-15-2013, 08:51 AM
  7. [SOLVED] Conditional statement calculation based on result of previous calculation.(Need some help)
    By takeprofit in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-01-2012, 01:45 AM

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