+ Reply to Thread
Results 1 to 7 of 7

SUM on condition and produce TOTAL

  1. #1
    Forum Contributor
    Join Date
    05-04-2015
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    2010
    Posts
    129

    SUM on condition and produce TOTAL

    dear friends,

    attached is a sample work sheet and trust you will understand what my requirement is.
    hope to hear from you.
    thank you

    best wishes
    Rizvi
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: SUM on condition and produce TOTAL

    Perhaps some few words to explain what you want ...!
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: SUM on condition and produce TOTAL

    If it is only APPLE you want to count an immediat solution can be next formula
    =SUM(((LEN(A2:C10)-LEN(SUBSTITUTE(A2:C10,"APPLE","")))<>0)*1)
    Confirm using Control + Shift + Enter for array formula, some curly brackets will appeared at the beginning and at the end

  4. #4
    Forum Contributor
    Join Date
    05-04-2015
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    2010
    Posts
    129

    Re: SUM on condition and produce TOTAL

    hi,
    sure....

    add all the APPLES appearing in GRADE A,B & C and place the total in H12.
    however, the search should be for "APPL*" since there are various types of apples indicated.

    thank you

    regards
    rizvi

  5. #5
    Forum Contributor
    Join Date
    05-04-2015
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    2010
    Posts
    129

    Re: SUM on condition and produce TOTAL

    thank you PCI, appreciated.
    not working and i really don't understand it.
    i prefer a VBA since this requirement is only a part of a macro. empty cells are deleted etc and when the cells change the formula changes as well. so please assist with VBA.
    thank you.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: SUM on condition and produce TOTAL

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-04-2015
    Location
    Colombo, Sri Lanka
    MS-Off Ver
    2010
    Posts
    129

    Re: SUM on condition and produce TOTAL

    That's what I was looking for Jindon,
    Thanks mate and appreciated here.
    Best Regards
    Rizvi

+ 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 Statement calculate cell and produce total and percentage Graph
    By Andy8674 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-25-2014, 06:46 PM
  2. [SOLVED] Unable to combine IF & VLOOKUP for multiple condition to produce Result
    By kelwin2504 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-15-2013, 08:06 PM
  3. [SOLVED] Using the condition of the 4th character in the cell to produce 1 of 4 possible outcomes
    By Ruthie83 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2013, 10:58 PM
  4. Macro to produce total of date occurrences in columnr
    By jdankemp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2012, 10:55 AM
  5. function problem to produce data value with two condition of column
    By herukuncahyono in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-26-2010, 05:36 AM
  6. Replies: 6
    Last Post: 11-19-2009, 07:08 AM
  7. produce a formulate to produce assigned seats for dinner
    By DavidJoss in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 10:05 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