+ Reply to Thread
Results 1 to 3 of 3

Can you use arrays within other non array formulas?

  1. #1
    Registered User
    Join Date
    08-20-2007
    Posts
    41

    Can you use arrays within other non array formulas?

    Hi.

    I'm using this formula in a cell: {=SUM(SUMIF(BK44:BK53,"*"&PAYEES!$G$2:$G$200&"*",BL44:BL53))}

    I want to add the result to the result of another formula, which is not an array.

    Can I do this within the same cell? I obviously can't bracket this off as normal cause of the weird {} array bracketing.
    I don't really want to bounce the result into another cell. I want to keep it contained in one cell.

    What is the way to do this?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Can you use arrays within other non array formulas?

    hi there. the curly brackets are not manually keyed in, so it's fine to put in another formula & then press CTRL + SHIFT + ENTER again. if you click on the formula bar of your current formula, you won't see the curly brackets. so if you add a formula, it will automatically become this after pressing CSE
    {=SUM(SUMIF(BK44:BK53,"*"&PAYEES!$G$2:$G$200&"*",BL44:BL53))+SUM(A1:A2)}

    and by the way, you can avoid CSE by using SUMPRODUCT instead of SUM
    =SUMPRODUCT(SUMIF(BK44:BK53,"*"&PAYEES!$G$2:$G$200&"*",BL44:BL53))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    08-20-2007
    Posts
    41

    Re: Can you use arrays within other non array formulas?

    Let me rephrase the question. I wish to write this:
    ={SUM(SUMIF(BK44:BK53,"*"&PAYEES!$G$2:$G$200&"*",BL44:BL53))}*A4
    (Which I understand is impossible to type, but that's the order I need the calculation - Calculate the array and then multiply by A4)

    but it ends up like this:
    {=SUM(SUMIF(BK44:BK53,"*"&PAYEES!$G$2:$G$200&"*",BL44:BL53))*A4}

    which isn't the same thing. As far as I can work out it is multiplying all values in the array by A4 and the summing.

    How do I change the order of calculation if I can't position the brackets where I want to?

+ 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: 6
    Last Post: 09-25-2013, 10:08 PM
  2. [SOLVED] New to arrays-how do I build new array while filtering first array?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-03-2013, 05:59 AM
  3. Arrays & array formulas
    By cmcgath in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2009, 07:14 PM
  4. how to fill array of arrays?
    By radion in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-03-2007, 03:02 PM
  5. An array of Arrays
    By cybercab in forum Excel General
    Replies: 0
    Last Post: 05-04-2005, 09:18 AM

Tags for this Thread

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