+ Reply to Thread
Results 1 to 4 of 4

Multiple outputs from a formula

  1. #1
    Registered User
    Join Date
    03-31-2020
    Location
    Charlotte, NC
    MS-Off Ver
    10
    Posts
    3

    Multiple outputs from a formula

    How do I create a formula to get the total $ in the Utilities Category (K6 - Orange Cell)?
    I need to use the first table to get ALL of the Account Numbers associated with Utilities and then add the $ associated with those account numbers in the second table.
    Is there a formula for that?
    Attached Files Attached Files

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

    Re: Multiple outputs from a formula

    Please try at K5

    =SUM(SUMIFS($H$4:$H$11,$F$4:$F$11,IF($B$4:$B$11=J5,$C$4:$C$11)))
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,717

    Re: Multiple outputs from a formula

    v A B C D E
    1 Category Total
    2 Rent 1200 Category Sum of Total
    3 Utilities 120 Entertainment 159
    4 Entertainment 140 Food 209
    5 Utilities 25 Rent 1200
    6 Utilities 67 Utilities 212
    7 Food 150
    8 Entertainment 19
    9 Food 59



    This was accomplished using power Query. Full join of the two tables in PQ and then creating a pivot table. See attached file for analysis
    Attached Files Attached Files
    Last edited by alansidman; 04-01-2020 at 09:00 AM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    01-24-2020
    Location
    Belgium
    MS-Off Ver
    2013
    Posts
    95

    Re: Multiple outputs from a formula

    Hi, there

    Use defined names "CAT" and "ACC" for the datasets respectively and the formulae will do the trick.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Pls refer to the attched file.
    Attached Files Attached Files

+ 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] Nested IF formula with multiple calculations as outputs?
    By Masquette in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2017, 10:54 AM
  2. [SOLVED] Evaluating a formula for multiple inputs and getting multiple outputs
    By BREOL in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 02-17-2016, 02:11 AM
  3. Formula checks multiple cells for words and outputs answer depending on cells
    By keez1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2015, 09:18 AM
  4. Replies: 2
    Last Post: 05-14-2015, 03:19 PM
  5. Goal Seek with multiple inputs and multiple outputs.
    By arvik in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2013, 02:58 AM
  6. [SOLVED] Display multiple outputs based on combination of multiple inputs
    By jtilley in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2012, 09:03 PM
  7. Multiple outputs
    By Atom290 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-15-2011, 07:58 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