+ Reply to Thread
Results 1 to 5 of 5

How to multiply a certain value based on the country criteria

  1. #1
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    How to multiply a certain value based on the country criteria

    Hello everyone,

    I'm trying to come up with a formula that multiplies the exchange rates vs the input on Column B in table BrandV_T based on the country written in cell B2.

    Is there a simple way to accomplish this? Attaching an example work book.

    Thanks in advance,
    D2S
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,721

    Re: How to multiply a certain value based on the country criteria

    Try this in C5:

    =VLOOKUP($B$1,ExchangeRateV_T,2,0)*BrandV_T[[#This Row],[Value]]

    You might need to widen the column.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    Re: How to multiply a certain value based on the country criteria

    Thank you Pete it works.

    Would you know the workaround using index match so make the calculation less heavy?

    D2S

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,721

    Re: How to multiply a certain value based on the country criteria

    Here's how to use INDEX/MATCH instead of VLOOKUP:

    =INDEX(ExchangeRateV_T[Rate],MATCH($B$1,ExchangeRateV_T[Country],0))*BrandV_T[[#This Row],[Value]]

    but I doubt there will be a major difference in the time taken.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    08-18-2017
    Location
    Mexico
    MS-Off Ver
    Office 2016
    Posts
    41

    Re: How to multiply a certain value based on the country criteria

    Works.

    Thank you!

+ 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] multiply column values based on multiple criteria
    By Yokosuka in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-03-2016, 01:55 PM
  2. Multiply two value based on instances of criteria matching in ranges
    By jbang917 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2016, 10:03 PM
  3. [SOLVED] Multiply based on criteria
    By Imbizile in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-29-2015, 12:14 PM
  4. Multiply rows based on Multiple Criteria
    By chacha123 in forum Excel General
    Replies: 3
    Last Post: 02-12-2015, 09:09 AM
  5. Multiply based on multiple array criteria
    By jcullen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2012, 06:14 PM
  6. how do i multiply based on 2 column criteria?
    By gjjh25 in forum Excel General
    Replies: 3
    Last Post: 11-24-2011, 09:58 AM
  7. Replies: 1
    Last Post: 06-25-2010, 02:39 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