+ Reply to Thread
Results 1 to 9 of 9

Need cell to lookup price then multiply by quantity

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    Egg Harbor, NJ
    MS-Off Ver
    2016 Microsoft office
    Posts
    6

    Need cell to lookup price then multiply by quantity

    I have a worksheet that I used VLOOKUP to find price of item from dropdown. Now the owner wants that cell to also multiply that price by a quantity. Separately I know the formulas, but can't figure out how to combine them. My formulas separately are:

    =IF(ISERROR(VLOOKUP(B11,List!P2:Q79,2,FALSE)),"0",(VLOOKUP(B11,List!P2:Q79,2,FALSE)))

    =IF(A11="",H11,A11*H11) [this formula doesn't completely work as it errors if no quantity is provided, but I couldn't figure the correction to this either]

    My apologies to those shaking your heads at my lack of knowledge, I'm learning as I go.

    Thank you for your help,

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,874

    Re: Need cell to lookup price then multiply by quantity

    Where do these formulae exist? What exactly us their context and relationship to each other? Which is which?

    By the way, as a matter of courtesy, please revisit your last thread and acknowledge the help you were offered there. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    Egg Harbor, NJ
    MS-Off Ver
    2016 Microsoft office
    Posts
    6

    Re: Need cell to lookup price then multiply by quantity

    Good Afternoon, Ali

    The worksheet the formulas are used in is a Estimate master that is used to create estimates on an Ipad (casual,in the presence of the customer estimate). It is the same worksheet as in my 1st post (which has been tweaked since then for other requests)

    the formula =IF(ISERROR(VLOOKUP(B11,List!P2:Q79,2,FALSE)),"0",(VLOOKUP(B11,List!P2:Q79,2,FALSE))) retrieves the price of the selected HVAC part from a dropdown window. Now the owner wants the option to change the quantity in situations with multi zone homes.

    I believe =IF(A11="",H11,A11*H11) is the correct formula to multiply the price, but can not figure out how to make both formulas work on the same cell. At this time I have the second formula off to the side. Please see attached file.



    * As to my first post, I did try to reply several times to thank him. Not ever being part of a forum before I thought perhaps replies were not shown and stopped trying in case he had received multiple thank yous. My apologies for the misunderstanding and unintended slight. I will try again to thank him.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,874

    Re: Need cell to lookup price then multiply by quantity

    Re, the other thread - just post again to the thread - that's all you need do.

    I will have a look at your workbook.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,874

    Re: Need cell to lookup price then multiply by quantity

    I've had a look - sorry, I'm lost.

    Where will I find the two formulae? Where will I find a manual mock-up of what you want?

  6. #6
    Registered User
    Join Date
    06-26-2019
    Location
    Egg Harbor, NJ
    MS-Off Ver
    2016 Microsoft office
    Posts
    6

    Re: Need cell to lookup price then multiply by quantity

    The first formula to look up price is in H11, but you will find variations of the same in most of H column. The second formula is in S4, the formula in R4 is just trash.

    If you choose a part from a dropdown box under the header of Furnace, it will show the part price in H11. If you add a quantity in A11, the correct price is showing in S4, with the second formula. My question is how to have cell H11 not only lookup the price, but multiply it by the quantity in A11.

    Thank you

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Need cell to lookup price then multiply by quantity

    Hi

    Try this but first remove data validation in H11

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or better if you use Excel 2016

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note: SUM is to do a SUM not to multiply
    =SUM(D51*F51) is not good.
    Use
    =D51*F51
    or better
    =IFERROR(D51*F51;"")

  8. #8
    Registered User
    Join Date
    06-26-2019
    Location
    Egg Harbor, NJ
    MS-Off Ver
    2016 Microsoft office
    Posts
    6

    Re: Need cell to lookup price then multiply by quantity

    Hi Jose,

    Thank you so much, that worked perfectly.

    I appreciate it,

    Michele

  9. #9
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Need cell to lookup price then multiply by quantity

    You are welcome.

    Please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] quantity determines price
    By gocolonel77 in forum Excel General
    Replies: 1
    Last Post: 01-06-2019, 08:19 PM
  2. Replies: 4
    Last Post: 01-20-2018, 01:49 PM
  3. [SOLVED] Setting a selling price based on cost price and order quantity
    By Steven811 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-11-2014, 08:07 AM
  4. Multiply text with a quantity
    By Collinder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-18-2014, 09:58 AM
  5. Calculate price based on quantity
    By DieselNash in forum Excel General
    Replies: 5
    Last Post: 04-21-2009, 10:51 AM
  6. =SUM(Price*Quantity) and microsoft help is no help at all
    By Lissa_Jayne in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-24-2006, 07:15 AM
  7. excel multiply by different values based on quantity
    By ronzander1 in forum Excel General
    Replies: 1
    Last Post: 01-11-2006, 04:55 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