+ Reply to Thread
Results 1 to 3 of 3

Formula to check if one vale is greater than the other and sum the greater values to match

  1. #1
    Forum Contributor
    Join Date
    09-25-2011
    Location
    Lenasia, Johannesburg,South Africa
    MS-Off Ver
    Excel 2019
    Posts
    269

    Formula to check if one vale is greater than the other and sum the greater values to match

    Greetings


    I have a table that I use to calculate profit and loss using astrology

    I need help with a formula that will check if the profit value is greater than the loss value and match throughout the table and the total and paste the result into a space as indicated on the table

    this total reduced to show pas a percentage


    Thank you for all the help

    Regards

    raj
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula to check if one vale is greater than the other and sum the greater values to m

    with a helprow

    D2 =If(D5>D6,D5,"") and drag to the right.

    L2 = sum(D2:J2)
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula to check if one vale is greater than the other and sum the greater values to m

    Please try at I8
    =SUMPRODUCT(D5:J5,--(D5:J5>D6:J6))

+ 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. ISNUMBER and MATCH with Greater then values
    By bugman in forum Excel General
    Replies: 11
    Last Post: 06-11-2019, 08:29 AM
  2. [SOLVED] Check if all values in Array are greater or less than specific value in worksheet
    By jprlimey in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-25-2017, 08:43 AM
  3. [SOLVED] count values greater 2 or greater in a column.
    By ammartino44 in forum Excel General
    Replies: 3
    Last Post: 09-16-2014, 07:05 PM
  4. [SOLVED] Match Offset greater than formula help
    By MZing81 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2013, 03:39 PM
  5. [SOLVED] Formula to check two cells greater than one other cell
    By FIFTYFINGERS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2012, 03:03 PM
  6. Index Function with Match for Values Greater than 0
    By henraa in forum Excel General
    Replies: 5
    Last Post: 11-18-2011, 05:37 AM
  7. Check for values greater than zero in 2 cells
    By spartacus_33 in forum Excel General
    Replies: 4
    Last Post: 11-03-2008, 07:39 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