+ Reply to Thread
Results 1 to 12 of 12

Function similiar to sumproduct

  1. #1
    Registered User
    Join Date
    08-12-2024
    Location
    Yerevan
    MS-Off Ver
    MS Office 2016
    Posts
    19

    Function similiar to sumproduct

    Hi.
    Need your help.
    Attached you can find the requested function sheet.
    I need to get the volume of transactions for two groups of countries, but it is necessary to add up the receipts and transfers from individuals and legal entities and get one number for each group.
    Thanks in advance


    Task.xlsx

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

    Re: Function similiar to sumproduct

    Try below formula
    =SUMPRODUCT(SUMIFS(Transactions!B$3:B$251,Transactions!$A$3:$A$251,'Risk Level'!$A$2:$A$250)*('Risk Level'!$B$2:$B$250=$A1))
    Samba

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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,256

    Re: Function similiar to sumproduct

    Your 'needed function' tab has NO expected results.

    I hope this isn't a repeat of the previous question you asked. Please make sure that your 'friend' does not come and ask the same question in another thread. If they do, they will be banned from posting here. Thank you.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  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
    48,549

    Re: Function similiar to sumproduct

    Try this, copied down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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
    48,549

    Re: Function similiar to sumproduct

    Updated file attached.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,181

    Re: Function similiar to sumproduct

    Or try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    08-12-2024
    Location
    Yerevan
    MS-Off Ver
    MS Office 2016
    Posts
    19

    Re: Function similiar to sumproduct

    I tried this one, but it didn't work

  8. #8
    Registered User
    Join Date
    08-12-2024
    Location
    Yerevan
    MS-Off Ver
    MS Office 2016
    Posts
    19

    Re: Function similiar to sumproduct

    This one is very long version, can we have the short one of the function?

  9. #9
    Registered User
    Join Date
    08-12-2024
    Location
    Yerevan
    MS-Off Ver
    MS Office 2016
    Posts
    19

    Re: Function similiar to sumproduct

    Its seems you consider only one column, but I need to sum all columns of transaction sheet and getting one number from them

  10. #10
    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
    48,549

    Re: Function similiar to sumproduct

    All the formulae work for me. See attached.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-12-2024
    Location
    Yerevan
    MS-Off Ver
    MS Office 2016
    Posts
    19

    Re: Function similiar to sumproduct

    I tried this formula but it showed me spill and didn't work, Could you help?

    SUMPRODUCT((Transactions!B$3:B$251+Transactions!D$3:D$251+Transactions!C$3:C$251+Transactions!E$3:E$251)*(VLOOKUP(Transactions!$A$3:$A$251,'Risk Level'!$A$2:$B$250,2,FALSE)=$A1))
    I just correct one point, as I need to sum all incomes and outcomes

    Kindly ask you to explain me how it works.
    I need to bring the data from one sheet, to sum up 4 columns according to their risk level group country, so at the end I want to have 2 group data transactions combined from entities and individuals and sum all outcomes and incomes.
    Last edited by An06; 08-13-2024 at 12:03 PM.

  12. #12
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,950

    Re: Function similiar to sumproduct

    The file in post #10 provides ALL the sums required so no idea what else you require (other than SUM A&B and C&D in "Needed Function"?)

    Column K in attached has formula from your last post.
    Attached Files Attached Files
    Last edited by JohnTopley; 08-13-2024 at 12:37 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. Auto Blank or Similiar
    By mr ray in forum Excel General
    Replies: 9
    Last Post: 04-17-2019, 08:29 PM
  2. [SOLVED] Using INDEX MATCH or similiar function to SUM over multiple worksheetes in a workbook.
    By jonsj123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2018, 04:17 PM
  3. Comparing Similiar DataSets and Calling a Function From a Loop Within a Loop
    By Mark123456789 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2016, 11:27 AM
  4. Replies: 2
    Last Post: 01-15-2014, 11:40 PM
  5. Creating an excel function which uses index functions (or something similiar)
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2013, 04:20 PM
  6. Similiar to VLOOKUP?
    By Editz in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-01-2006, 12:32 PM
  7. Looking for something similiar to MIN
    By Steve Haack in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-27-2005, 05:06 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