Results 1 to 3 of 3

Summing a VLOOKUP

Threaded View

JRD123 Summing a VLOOKUP 11-08-2010, 02:17 PM
NBVC Re: Summing a VLOOKUP 11-08-2010, 02:27 PM
JRD123 Re: Summing a VLOOKUP 11-08-2010, 02:30 PM
  1. #1
    Registered User
    Join Date
    11-08-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    9

    Summing a VLOOKUP

    Hi There,

    I've been trying to add a vlookup formula to my worksheet but so far have been unable to...

    What I want it to do is look in the 6 cells to the left and add up points assigned to the letters.

    I.e. In H3 I want the total to be displayed. I have added the formula
    {=SUM(LOOKUP(B3:G3,{"D","M","P"},{3,2,1}))}

    This works fine unless a cell in the range of B3:G3 is left empty, then I get a #N/A error, so I altered the formula to {=SUM(LOOKUP(B3:G3,{"D","M","P","NA"},{3,2,1,0}))}
    however, If I have p p p p NA p, rather than it showing 5, i get 7

    If anyone can help me out it would be appreciated, hope the above made sense!

    Thanks,
    Jay
    Last edited by NBVC; 11-08-2010 at 03:04 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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