+ Reply to Thread
Results 1 to 7 of 7

VLOOKUP column array separator

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    19

    VLOOKUP column array separator

    Hi All,

    I am try to use SUM() and VLOOKUP() to add numeric values of a particular table but the reference array to the columns doesnt seem to work. I have tried different separators ";", ",", "@", "\" and none seem to work. I dont get an error but it only takes the first element in the array. I have also tried to transpose the array but it didnt work either.

    This is my formula:

    =SUM(VLOOKUP(G19;$A$9:$G$17;{3;4;5;6};FALSE))

    Any ideas? I have checked my settings and theoretically my column separator is "\", row separator ";" and alternate array item separator "@".

    Thanks in advance!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: VLOOKUP column array separator

    Enter the formula as an array formula.

    Array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: VLOOKUP column array separator

    Thats right!!!!

    Thanks a lot!

  4. #4
    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
    31,169

    Re: VLOOKUP column array separator

    Enter the formula with Ctrl+Shift+Enter

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: VLOOKUP column array separator

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this thread as solved.

  6. #6
    Registered User
    Join Date
    04-11-2013
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: VLOOKUP column array separator

    Now I am trying to do a similar thing with SUMPRODUCT() but I get a #VALUE error. This is what I am writing:

    {=SUMPRODUCT($B$21:$G$21;VLOOKUP(G19;$A$9:$G$17;{2;3;4;5;6;7};FALSE))}

    Any ideas?

    Thanks!

  7. #7
    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
    31,169

    Re: VLOOKUP column array separator

    The SUMPRODUCT equivalent is

    =SUMPRODUCT(($B$21:$G$21)*($A$9:$A$17=G19)*(B9:G17))

+ 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] How do vlookup table array 2 column in excel
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-10-2015, 09:28 AM
  2. [SOLVED] Macro to Insert column and include a VLOOKUP array for entire column
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2014, 06:28 PM
  3. Replies: 13
    Last Post: 06-18-2014, 08:14 PM
  4. VLOOKUP array function returns the same column
    By murphy_sj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2012, 12:35 AM
  5. Text-to-column, any figure as separator
    By nsv in forum Excel General
    Replies: 3
    Last Post: 10-23-2008, 02:32 AM
  6. [SOLVED] Default column separator
    By Lieven Mettepenningen in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-10-2005, 07:06 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