+ Reply to Thread
Results 1 to 4 of 4

if formual how to use in two conditions, or any formula to give result from sum of two dat

  1. #1
    Registered User
    Join Date
    01-29-2015
    Location
    Manchester
    MS-Off Ver
    2007
    Posts
    2

    Smile if formual how to use in two conditions, or any formula to give result from sum of two dat

    Hi,

    Will appreciate help on this

    I am looking for formula to give me numbers in attached file, got amount against two data /column. and got sum of different currency but also looking for sum of trade in currency relate to this.

    want sum of Trade USD Trade EUR in cell M1 & M2 respectively

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: if formual how to use in two conditions, or any formula to give result from sum of two

    in M1
    =SUMPRODUCT((C$5:C$237="Trade")*(E$5:E$237=RIGHT(L1,3))*(B$5:B$237))
    and copy down
    in O1
    =SUMPRODUCT((C$5:C$237="Intercompany")*(E$5:E$237=RIGHT(L1,3))*(B$5:B$237))
    and copy down

    I also checked totals of columns M and O equal the total of column B by the way so the summary covers all values in column B :-)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: if formual how to use in two conditions, or any formula to give result from sum of two

    M1=SUM(INDEX((TRIM($C$5:$C$237)&" "&TRIM($E$5:$E$237)=TRIM(L1))*($B$5:$B$237),0))
    Try and copy across
    m2:m3
    and O1:O3
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  4. #4
    Registered User
    Join Date
    01-29-2015
    Location
    Manchester
    MS-Off Ver
    2007
    Posts
    2

    Re: if formual how to use in two conditions, or any formula to give result from sum of two

    Thanks to both of you, much appreciated

+ 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: 7
    Last Post: 12-30-2014, 05:25 PM
  2. [SOLVED] Formula to give yes or no result based on cells data
    By twiztid in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2014, 05:33 AM
  3. Replies: 2
    Last Post: 12-19-2013, 10:19 AM
  4. [SOLVED] using a max formula on a column with no data to give a Blank result
    By Brentsa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-02-2013, 05:42 AM
  5. Replies: 2
    Last Post: 11-22-2012, 04:18 AM

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