+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Sum of greatest number

  1. #1
    Registered User
    Join Date
    11-12-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Sum of greatest number

    I am looking for a fix to a function, here is an example of what i am looking for

    --------------Column B------------| Column C--------| Column D
    Row 3-----pre-wt------------------| 5.5------------------| Blank
    Row 4-----Post wt----------------| 6.6------------------| =IF(C4>1,SUM(C4-C3)," ") Answer is 1.1
    Row 5-----Add wt-----------------| 6.9------------------| =IF(C5>1,SUM(C5-C3),D4) Answer is 1.4
    Row 6-----Post Treated wt----| 9.1------------------| ??????? answer is 2.2

    There will be times when no data will be entered in Row 5 Column C so i need a formula in this column that will take the weight from Row 6 Column C subtract from Row 4 or Row 5 which ever number is larger.
    Last edited by cecilj; 02-22-2010 at 03:29 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Sum of greatest number

    Write this in D2 and pull down:

    =IF(C4>1,C4-$C$3,MAX($D$3:D3))

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Sum of greatest number

    hi. Maybe this

    =C6-MAX(C4:C5)
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Sum of greatest number

    ooppps. Hi Zbor. Didn'e see your reply

  5. #5
    Registered User
    Join Date
    11-12-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sum of greatest number

    okay well i tried it with these numbers for interest sake, it doesn't seem to work what am i missing?

    A3=55.789 Blank
    A4=55.989 answer is .200
    C5=56.120 answer is .331
    C6=56.125 answer shows .200 should be .336

    is there also a way to have it not show any calculation unless there is a number entered in C6?
    Last edited by cecilj; 02-22-2010 at 04:07 PM.

  6. #6
    Registered User
    Join Date
    11-12-2009
    Location
    Winnipeg, Canada
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sum of greatest number

    k i changed the formula a bit to get the desired result i needed.
    =IF(C6>1,C6-$C$3,MAX($D$3:D3))

    now is there a way to have D6 show nothing unless there is data in C6, right now if C6 is blank i get some zeros in D6, not that big of a deal just cosmetically it looks brutes lol

    Thanks

+ 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