+ Reply to Thread
Results 1 to 6 of 6

Multiply one number by lookup result

  1. #1
    Registered User
    Join Date
    02-17-2020
    Location
    London
    MS-Off Ver
    Microsoft 365
    Posts
    28

    Multiply one number by lookup result

    Hi,

    I have some surcharges for clients on one sheet and I need to multiply the net total price by this surcharge percentage.

    I'm trying to get the formula in the cell (without retrieving the percentage in another column first)

    I just need the lookup to search via cons. code and retrieve the percentage and multiply, if there isn't a code/ percentage it will just be blank; this is why I switched from a vlookup to an IF.

    But the problem I found is that the formula only worked for my example range, of 10 clients, after this the formula isn't able to work (as the reference table only has the 10 clients going down to row 11.

    I hope this makes sense! I have attached a small sample file, any help is appreciated.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    62,025

    Re: Multiply one number by lookup result

    Administrative Note:

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


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


    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    62,025

    Re: Multiply one number by lookup result

    Try this:

    =IFNA(VLOOKUP(A2,Prices!$A$2:$B$10,2,0)*V2,"")
    Attached Files Attached Files
    Last edited by AliGW; 04-08-2022 at 05:02 AM. Reason: Workbook attached.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel (Windows 11 64-bit)
    Posts
    62,025

    Re: Multiply one number by lookup result

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  5. #5
    Registered User
    Join Date
    02-17-2020
    Location
    London
    MS-Off Ver
    Microsoft 365
    Posts
    28

    Re: Multiply one number by lookup result

    Thanks, it works perfectly!

  6. #6
    Registered User
    Join Date
    02-17-2020
    Location
    London
    MS-Off Ver
    Microsoft 365
    Posts
    28

    Re: Multiply one number by lookup result

    Thanks for the quick reply!
    It works great, cheers and have a nice day!
    Last edited by AliGW; 04-08-2022 at 06:02 AM. Reason: PLEASE don't quote unnecessarily!

+ 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] Add two sums, take on from the other, then multiply the result by 2. How
    By Marvo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2021, 07:18 AM
  2. [SOLVED] Help! Sumproduct for lookup (Between Range and only result in single number)
    By sergi117 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2020, 03:52 PM
  3. Replies: 4
    Last Post: 01-10-2014, 09:32 AM
  4. Lookup and Multiply Result
    By StephenSmith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2013, 01:31 PM
  5. Replies: 4
    Last Post: 09-04-2013, 09:58 AM
  6. Count and multiply the result of checkbox
    By zeez36 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-15-2013, 06:58 AM
  7. Lookup number in column and interpolate result
    By colld1 in forum Excel General
    Replies: 2
    Last Post: 01-21-2011, 12:07 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