+ Reply to Thread
Results 1 to 8 of 8

Sumif greater or equal to

  1. #1
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Sumif greater or equal to

    I am looking to do a sumif (I think it should be a Sumif).

    See the attached example. Basically I want to sum in a formula a list of numbers, however, if the numbers are greater than the keys max number I want it to take the max number.

    So in my example the max value of A is 3, so a value of 4 should be treated as a 3. In my example column J is how I want the numbers to be treated. I'd like to avoid duplicating the table and just have it do these calculations in the formula.
    Attached Files Attached Files

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumif greater or equal to

    Try

    =MIN(F7,VLOOKUP(E7,$A$4:$B$5,2,0))

  3. #3
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Re: Sumif greater or equal to

    That would work for a line by line basis, but I need something to put in F16 that sums F7:F12 like that.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumif greater or equal to

    Why?

    I would think it is beneficial to have the 'adjusted' amount shown for each individual line. Then sum that.
    If you just put a formula that results in 9 instead of 15, That would be odd to someone looking at the sheet and sees numbers that add up to 15.

    It is not a 'bad thing' to use extra cells to complete a calculation. Excel gives you over 1 million rows and 16 thousand columns.
    That's over 17 billion cells. You might as well use a few of them.

    In fact, splitting calculations into multiple cells usually makes that calculation more efficient.
    Cramming all that calculation into 1 formula will be less efficient.

  5. #5
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Re: Sumif greater or equal to

    I have quite a bit of data in the actual spreadsheet, multiple columns and rows, not just one like the example, additionally, the spreadsheet is subject to growth and I would rather have a single formula to avoid any cell referencing concerns that might happen. If a single formula isn't plausible then I can make the other work, just the way this spreadsheet is setup a single formula would be ideal.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumif greater or equal to

    I tried, but am unable to work out a single formula method.

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    7,335

    Re: Sumif greater or equal to

    ARRAY formula. Pl see note.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  8. #8
    Registered User
    Join Date
    02-15-2014
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    76

    Re: Sumif greater or equal to

    Excellent, thank you!

+ 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. [SOLVED] IF date is greater than or equal to X but less than or equal to y
    By LloydGilmore in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-09-2019, 05:35 AM
  2. If cell value is less than or equal to, OR greater than or equal to
    By Pacific_Quest in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2017, 11:20 AM
  3. Sumif greater than or equal not working
    By cartica in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-04-2016, 06:48 PM
  4. Filter column B by equal or greater than 31 but less than or equal to 60
    By kop1ko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2015, 04:11 PM
  5. SumIfs containing a greater than or equal to And less than or equal to
    By teton88 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 07:47 PM
  6. [SOLVED] COUNTIFS function w/greater than or equal to, and less than or equal to time values
    By AliciaRenee in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-27-2014, 03:57 PM
  7. SUMIF with greater than or equal to
    By Shooter66 in forum Excel General
    Replies: 4
    Last Post: 01-10-2012, 04:42 PM

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