+ Reply to Thread
Results 1 to 4 of 4

Vlookup formula that adds two columns possible?

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    Mesa, Arizona
    MS-Off Ver
    Excel 2007
    Posts
    17

    Vlookup formula that adds two columns possible?

    I have a vlookup formula that finds a value based on text in a column on the same worksheet the formula is in. It retrieves the value from column 2 in a list on another worksheet. Can I modify the formula to add the value it looks up with a value in column 3 on the same sheet (add columns 2 and 3 together)?

    The current formula is:
    Please Login or Register  to view this content.
    In essence can I make it add together 'Rented Equipment'!$A$1:$B$130,2 with 'Rented Equipment'!$A$1:$B$130,3?

    Thank you!
    Last edited by Dopey1956; 05-02-2013 at 05:51 PM.

  2. #2
    Forum Contributor Grimace's Avatar
    Join Date
    05-04-2009
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2013 and Office 365 Plus
    Posts
    380

    Re: Vlookup formula that adds two columns possible?

    Hi Dopey (no offence !!)

    Are you able to post an example workbook? I think i may have it for you but want to check that my understandnig of what you need is correct.

    Grimace
    Handy things to keep in mind:

    Click *, if my suggestion has helped you
    If your problem is solved, then please mark the thread as SOLVED

    Sharing is Caring .... spread the knowledge

  3. #3
    Forum Contributor Grimace's Avatar
    Join Date
    05-04-2009
    Location
    Gold Coast, Australia
    MS-Off Ver
    Excel 2013 and Office 365 Plus
    Posts
    380

    Re: Vlookup formula that adds two columns possible?

    See if this is what you are looking for:

    This will give you the total sum of column B and C whenever the value in Column A is "Rental Equipment" ....

    =sumproduct(--('10-50'!$A$1:$A$130="Rented Equipment"),('10-50'!$b$1:$B$130),('10-50'!$c$1:$c$130))

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

    Re: Vlookup formula that adds two columns possible?

    Try this array formula**:

    =IF(ISTEXT(C23),SUM(VLOOKUP('10-50'!C23,'Rented Equipment'!$A$1:$C$130,{2,3},0)),"")

    ** 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.

+ 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