+ Reply to Thread
Results 1 to 7 of 7

Cell with VLOOKUP needs to add two cells

  1. #1
    Registered User
    Join Date
    12-06-2009
    Location
    Monroe, Louisiana
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    31

    Cell with VLOOKUP needs to add two cells

    I have a cell with the VLOOKUP function. I know that VLOOKUP searches down Column A until it finds what you told it to find, then returns the value of column you specify. The problem I am having is I will have the "item searched" listed more than one time and will need the sums of that item totaled.

    My formula looks like this: =VLOOKUP(A63,March!$A$9:$G$42,7,FALSE)

    For example, lets say that "Apples" are in A63. On the 4th of March I sell 4 apples, and on the 18th of March I sell 5 apples. I need the total in the formulated cell to read "9".

    Thanks for your help!!!
    Last edited by MattVarnell; 12-12-2009 at 09:22 AM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Cell with VLOOKUP needs to add two cells

    Try something like this:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    12-06-2009
    Location
    Monroe, Louisiana
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    31

    Re: Cell with VLOOKUP needs to add two cells

    That doesn't work, it returns a value of "0". I am thinking I will have to have a VLOOKUP, because I have many different things to search.

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Cell with VLOOKUP needs to add two cells

    You can make it easier for us if you post:
    • A sample of your data
    • Any formulas you've tried...even if they don't work
    • Expected results that a correct formula would return, based on the sample data.

  5. #5
    Registered User
    Join Date
    12-06-2009
    Location
    Monroe, Louisiana
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    31

    Re: Cell with VLOOKUP needs to add two cells

    Ron, here is a sample of what I need. On the first tab in column G is where I will input my data. On the "Totals" tab, is where I have my VLOOKUP formula to find "Apples". However, I need it to total the number of apples from the first tab.

    Thanks for all your help!!
    Attached Files Attached Files

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Cell with VLOOKUP needs to add two cells

    Hi MattVarnell,

    With a quick change of the links to accommodate your sheet name, Ron's formula worked perfectly:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  7. #7
    Registered User
    Join Date
    12-06-2009
    Location
    Monroe, Louisiana
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    31

    Re: Cell with VLOOKUP needs to add two cells

    You guys are awesome!! Thanks for your help!!!

+ 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