+ Reply to Thread
Results 1 to 6 of 6

Formula SUMIF assistance

Hybrid View

TQB Formula SUMIF assistance 01-21-2005, 09:28 PM
duane how about =max(0,i6-20) ... 01-21-2005, 09:36 PM
TQB Thanks duane, I will have to... 01-21-2005, 09:40 PM
Guest Hi One way: ... 01-22-2005, 12:57 AM
TQB I appreciate your help,... 01-24-2005, 06:55 PM
Guest Hi This is very strange... 01-24-2005, 07:55 PM
  1. #1
    Registered User
    Join Date
    01-07-2005
    Posts
    5

    Formula SUMIF assistance

    Hello,

    I am looking for advice on how to write this formula, unfortunately I only have access to excel at work so it makes it difficult to pound these sort of things out on my off time. Anyway.

    What I need to accomplish is to take the sum of let's say I6 which happens to be the total number of hours per week, and if it is over a certain number minus that number and have the answer in C6. And I do know that the formula will have to be placed in C6.

    I have done some "homework" on this but I dont know if this formula would work or if there is a better way to do it. I am not even sure if you can take just the value and include that as a working part of the formula such as : =SUMIF(I6>"20"), C6=I6-"20)

    I would input example here but the spacing is all off so it makes it that much more confusing. Sorry.


    So (I) is 2.75 hours over the max so what I would like to do is have that input automagically appear in (C) of the same row.


    Thanks in advance for any assistance on this query,


    TQB
    Last edited by TQB; 01-21-2005 at 09:33 PM. Reason: spacing is off

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    how about

    =max(0,i6-20)

    in c6

    so c6 is 0 unless i6>20
    not a professional, just trying to assist.....

  3. #3
    Registered User
    Join Date
    01-07-2005
    Posts
    5
    Thanks duane, I will have to try that one out on monday I appreciate your quick response.


    TQB

  4. #4
    pinmaster
    Guest
    Hi
    One way:

    =IF(I6>20,I6-20,"")
    this will leave the cell blank if I6 is under 20, you could also put text inside the double quotes if you wish... i.e. =IF(I6>20,I6-20,"Ok")

    or
    =IF(I6>20,I6-20,0)
    to display a zero if I6 is under 20

    Hope that helps!
    JG

  5. #5
    Registered User
    Join Date
    01-07-2005
    Posts
    5
    I appreciate your help, unfortunately none of these formulas are working for me.
    Is there another way to do this? I have entered every combination of the formulas you both have given and one or two of my own but to no avail. It makes every bit of sense that it should work but it just returns one of two things depending on the order that it is entered. 1. #NAME? 2. circular reference. I am frustrated this should be an easy thing.


    grr

    TQB

  6. #6
    pinmaster
    Guest
    Hi
    This is very strange because there is absolutetly no reason why my formula would return #NAME? or a circular reference. Try this, copy the formula below and paste it directly in cell C6, if done correctly it should work.

    =IF(I6>20,I6-20,"")

    JG

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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