+ Reply to Thread
Results 1 to 6 of 6

Multiply, adding and subtracting VLookup results

  1. #1
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Multiply, adding and subtracting VLookup results

    Ill make this as simple as possible.
    I have 4 cells, in Columns D, E, F, and G each showing the result of a VLookup

    What I want to achieve in Column H is simply D14*((E14+F14)-G14)

    Any suggestions?


    Cheers,
    Matt

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Multiply, adding and subtracting VLookup results

    Matt

    Can't you just put this in column H?

    =D14*((E14+F14)-G14)
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    03-08-2016
    Location
    kuala lumpur malaysia
    MS-Off Ver
    365
    Posts
    100

    Re: Multiply, adding and subtracting VLookup results

    Would you please provide the excel sheet

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Multiply, adding and subtracting VLookup results

    Agree with Norie, have you tried to use that formula in the cell yet? The fact that the references come from a formula (any formula) wont affect the results
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    08-17-2016
    Location
    Australia
    MS-Off Ver
    Office 365 Business
    Posts
    90

    Re: Multiply, adding and subtracting VLookup results

    I figured it out, sort of. I don't really understand why, but changing one of the VLookups to show a zero instead of a blank fixed the issue. Ill leave that one alone now!

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

    Re: Multiply, adding and subtracting VLookup results

    Quote Originally Posted by MattKoleczko View Post
    I figured it out, sort of. I don't really understand why, but changing one of the VLookups to show a zero instead of a blank fixed the issue. Ill leave that one alone now!
    If you're talking about a formula blank ""...

    That's a TEXT value and trying to do a math operation on a TEXT value will generate the #VALUE! error.

    For example:

    A1 = ""
    B1 = 10

    =A1+B1 = #VALUE!

    One way to get around it is:

    =SUM(A1,B1)
    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)

Similar Threads

  1. [SOLVED] Need to multiply a VLOOKUP value then divide that value, then multiply that value
    By debbiemez in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-27-2015, 04:57 PM
  2. [SOLVED] Complex VLOOKUP of multiple records, adding results, and averaging them by record count
    By Aimee S. in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2015, 10:12 AM
  3. [SOLVED] VLOOKUP & Adding results
    By gassiusmax in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-28-2014, 06:09 PM
  4. A simple one (adding vlookup results)
    By codyryan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-10-2013, 11:50 AM
  5. [SOLVED] Adding Multiple Results Using Vlookup
    By hawong in forum Excel General
    Replies: 16
    Last Post: 07-09-2012, 04:06 PM
  6. Excel 2008 : Help with adding results derived from VLOOKUP
    By SunshineCharlie in forum Excel General
    Replies: 6
    Last Post: 04-25-2012, 04:16 PM
  7. Adding Multiple VLOOKUP Results
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2007, 12:02 PM

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