+ Reply to Thread
Results 1 to 4 of 4

Summing a VLOOKUP formula

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    Summing a VLOOKUP formula

    I am using the following formula in cell C53 on the Departmental tab of my spreadsheet:

    =IFERROR(VLOOKUP(B53,Auditor!$B$3:$T$200,4,0),0)

    The problem I am having is that there are 2 entries for B53 (department 10) on the Auditor tab. One cell has 0.00 and the other has 1,382,750.55. The formula that I am using returns 0.00. I need the formula to add each of these because sometimes they both have a dollar amount in them.

    While I’m asking for help…….What would really be great…..

    Is it possible to have Excel look on the Auditor tab for B53 (department 10) in column B, look for TY INVENTORY in the heading, and produce the corresponding dollar amount? The reason for this is that the auditor changes the order of the spreadsheet from time to time.
    Attached Files Attached Files

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Summing a VLOOKUP formula

    Maybe this would help--
    =SUMIF(Inventory!A$6:A$172,B53,Inventory!R$6:R$172)
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Summing a VLOOKUP formula

    Oops I wrote the formula for D53,
    It should be this for C53-
    =SUMIF(Auditor!$B$3:$B$200,B53,Auditor!$E$3:$E$200)

  4. #4
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    Re: Summing a VLOOKUP formula

    Quote Originally Posted by sourabhg98 View Post
    Oops I wrote the formula for D53,
    It should be this for C53-
    =SUMIF(Auditor!$B$3:$B$200,B53,Auditor!$E$3:$E$200)
    Thank you very much, works perfectly for the initial question. I'm going to keep this open for a little bit to see if the second question can be accomplished.

+ 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. Summing a VLOOKUP
    By JRD123 in forum Excel General
    Replies: 2
    Last Post: 11-08-2010, 02:30 PM
  2. Summing in a VLOOKUP function
    By Lesa Muir in forum Excel General
    Replies: 4
    Last Post: 12-17-2008, 08:44 PM
  3. Summing a Vlookup
    By jjj in forum Excel General
    Replies: 3
    Last Post: 12-05-2006, 09:08 AM
  4. [SOLVED] [SOLVED] Summing using VLOOKUP
    By rusty24 in forum Excel General
    Replies: 2
    Last Post: 04-20-2006, 09:50 AM
  5. Summing VLookup outputs
    By m410 in forum Excel General
    Replies: 0
    Last Post: 01-20-2005, 12:39 AM

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