+ Reply to Thread
Results 1 to 2 of 2

Single cell array calculation

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    10

    Single cell array calculation

    I have a database query set up that will pull an array into excel. Before it pastes the values in the sheet I want it to perform an array calculation. The array is coming in with 3 columns and a varying number of rows, I want to multiply the 2nd and 3rd columns and only return the single column of results. Is there a way to do that? something to the effect of "=column((query(xxx)),2) * column((query(xxx)),3)" I know that column is a function that just returns a column number, I just used it as a reference here for what i'm trying to do.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Single cell array calculation

    It might be easier to just pull the data in and then do the calc once you have all th data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. R2 value in a single cell, not set as an array
    By ReferenceGoblin in forum Excel General
    Replies: 1
    Last Post: 06-13-2011, 09:56 AM
  2. Exclude a single cell from a calculation
    By kdecyk in forum Excel General
    Replies: 2
    Last Post: 05-23-2011, 04:40 PM
  3. Calculation in a single cell with text remarks
    By blockrocker in forum Excel General
    Replies: 2
    Last Post: 12-21-2010, 09:11 AM
  4. Replies: 2
    Last Post: 12-18-2009, 10:59 AM
  5. [SOLVED] Array input in one single cell
    By Ischias in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-29-2005, 05:50 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