+ Reply to Thread
Results 1 to 11 of 11

Sum which ever cells are >500, out of A1, A7, A8

  1. #1
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Sum which ever cells are >500, out of A1, A7, A8

    Hi there, anybody suggest a formula?

    Sum an array of cells - but not a consistent range. Just discrete cells e.g. A1, A7, A8.

    BUT:
    - Only add the cell's value to the total sum if the cell's value is a number greater than 500



    Seems so easy but l've scoured the web and cannot quite find this situation on any forum.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum which ever cells are >500, out of A1, A7, A8

    What is in the inbetween cells?

    Will this work?
    =SUMIFS(A1:A8,A1:A8,">=500")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Sum which ever cells are >500, out of A1, A7, A8

    Hi there, stuff that cannot be included is in the inbetween cells, hence the title show i don't want a series but discrete cells

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Sum which ever cells are >500, out of A1, A7, A8

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 08-03-2020 at 06:30 PM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Sum which ever cells are >500, out of A1, A7, A8

    Or, this also works and is a bit shorter:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Sum which ever cells are >500, out of A1, A7, A8

    Hi there, but surely that would also include A2, A3 etc.?

    I only want A1, A7, A8 to be considered,

    If any of these are a number, and >500, then l want them added to the tally. (The tally = the sum of A1, A7 and A8 but only if any of them are >500 , as mentioned)


    EDIT: Ohhhh i see what you did, you caused specific cells to be disregarded. Okay thanks, l guess that's about as elegant as it gets. Wish these spreadsheets would hurry up and A.I. so that i can have real conversations with them and every once in a while tell them to calc something in plain English!!!!

  7. #7
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Sum which ever cells are >500, out of A1, A7, A8

    Ok but what if there are vast distances between the cells i'm interested in?

    E.g. what if l am only looking at A1, A45, A67, A91?

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Sum which ever cells are >500, out of A1, A7, A8

    With rows are hard coded, like 1,45,67,91 try

    Please Login or Register  to view this content.
    If more discrete rows, try a helper columns to store them then as my attachment.
    Attached Files Attached Files
    Quang PT

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,426

    Re: Sum which ever cells are >500, out of A1, A7, A8

    You get answers to the questions you ask. We cannot second guess your requirements.

    You could try adding a helper column with 1s and 0s and refer to that instead of the static matrix.

  10. #10
    Registered User
    Join Date
    07-01-2020
    Location
    England
    MS-Off Ver
    LibreOffice Calc / MS Excel 2003
    Posts
    37

    Re: Sum which ever cells are >500, out of A1, A7, A8

    bebo021999

    Hi there, it's not working with my LibreOffice calc i'm afraid

    I'd like to avoid a helper column too.

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Sum which ever cells are >500, out of A1, A7, A8

    to help everyone to stop guessing, read the yellow banner above and upload a sample file please.

+ 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: 4
    Last Post: 02-11-2015, 09:02 AM
  2. Replies: 0
    Last Post: 01-21-2015, 12:05 PM
  3. [SOLVED] Linking cells globally to allow users the ability to change cells on separate sheet/cells.
    By V1gilante in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2014, 10:47 PM
  4. combining many cells in one cells keeping character font and hyperlinks of all cells
    By mankind00 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2012, 09:41 AM
  5. Replies: 4
    Last Post: 06-17-2011, 08:53 AM
  6. Formula: Drop Down List -> Choose Option Finds Cells & Replace Cells with Cells
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 01:10 PM
  7. Replies: 2
    Last Post: 06-24-2010, 04:53 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