+ Reply to Thread
Results 1 to 4 of 4

Vlookup Help! Adding mutiple values.

  1. #1
    Registered User
    Join Date
    12-08-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2002
    Posts
    10

    Vlookup Help! Adding mutiple values.

    Hi all,

    Newbie to this forum. I have been searching for an answer but can not find one. Hoping someone here can help.

    What I trying to do is to come up with a formula to look at a date and a fixed number and search another worksheet for all instances of a that date and number and return the added amount of what it finds.


    Example:

    Sheet 1:
    F4: 12/09/2011

    Sheet 3:

    A1: =CONCATENATE($B1,$C1) B1: 12/09/2011 C1: 57738 H1: -4000
    A2: =CONCATENATE($B2,$C2) B1: 12/09/2011 C2: 57738 H2: -7000
    A3: =CONCATENATE($B3,$C3) B1: 12/09/2011 C3: 54976 H3: -2000


    I used:
    =IF(ISNA(VLOOKUP(CONCATENATE(F4,57738),Sheet3!1:65536,8,FALSE)),"",VLOOKUP(CONCATENATE(F4,57738),Sheet3!1:65536,8,FALSE))

    This formula will only pull in the first value. I need to pull in both -4000 and -7000 and add them together. -11000

    Any ideas if this can work?

    Thanks for any help

    Randy

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Vlookup Help! Adding mutiple values.

    Use SUMIF instead of VLOOKUP,

    =SUMIF(Sheet3!A:A,F4&"57738",Sheet3!H:H)
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    12-08-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2002
    Posts
    10

    Re: Vlookup Help! Adding mutiple values.

    Thanks! I will try it tomorrow.

  4. #4
    Registered User
    Join Date
    12-08-2011
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2002
    Posts
    10

    Re: Vlookup Help! Adding mutiple values.

    Thanks so much. This worked like a charm!

+ Reply to Thread

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