+ Reply to Thread
Results 1 to 5 of 5

Using a cell containing a VLookup Formula in a Basic Multiplication Formula

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    Calfornia
    MS-Off Ver
    Offcie 10
    Posts
    1

    Using a cell containing a VLookup Formula in a Basic Multiplication Formula

    I have a cell that is using a VLookup formula (using it to pull prices from a price list) and another cell where I input a quantity ordered. In a third cell I am attempting to simply multiply the VLookup cell by the quantity cell however the formula does not work. Please help. In the event it is needed, the vlookup formula I am using is as follows: =IF(ISNA(VLOOKUP(C11,P2:Q209,2,FALSE)),0,VLOOKUP(C11,P2:Q209,2,FALSE))

    Thanks!

  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: Using a cell containing a VLookup Formula in a Basic Multiplication Formula

    Any chance you could upload a sample workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    If posting code please use code tags, see here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,465

    Re: Using a cell containing a VLookup Formula in a Basic Multiplication Formula

    Define "does not work". In what way? Wrong answer? Error message?

    Formula looks OK for a single cell but, if you want to drag it down, you need to make the search table range absolute. And, with Excel 2010, you could use IFERROR instead of IF(ISNA(... and repeating the VLOOKUP.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Using a cell containing a VLookup Formula in a Basic Multiplication Formula

    Is it the vlookup formula that doesn't work of the multiplication formula that doesn't work?

    How do you define 'doesn't work'? Wrong result? #VALUE! #N/A! something else?

    One adjustment you might need to your formula if you're copying it down?

    =IF(ISNA(VLOOKUP(C11,P$2:Q$209,2,FALSE)),0,VLOOKUP(C11,P$2:Q$209,2,FALSE))

    Without the $ signs the rows will change when you copy the formula down the sheet.

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

    Re: Using a cell containing a VLookup Formula in a Basic Multiplication Formula

    Quote Originally Posted by slampert View Post
    the formula does not work.
    Can you be more specific?

    Do you get an error? An incorrect result? Something else?
    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. #VALUE/multiplication of formula/blank cell problem
    By t.jones in forum Excel General
    Replies: 9
    Last Post: 04-03-2020, 01:42 PM
  2. Replies: 2
    Last Post: 03-13-2015, 01:44 PM
  3. [SOLVED] VBA Multiplication Formula
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-19-2013, 04:32 AM
  4. [SOLVED] Multiplication in formula =*-.06 is showing too many numbers in formula bar
    By Lowerysgirl in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-19-2013, 12:23 AM
  5. What formula to use the multiplication
    By macroashraf in forum Excel General
    Replies: 5
    Last Post: 05-24-2012, 10:36 AM
  6. include multiplication formula to VLOOKUP
    By mervin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2008, 07:02 PM
  7. Multiplication formula
    By yuvosh in forum Excel General
    Replies: 5
    Last Post: 03-05-2007, 08:05 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