+ Reply to Thread
Results 1 to 7 of 7

multipling on multiplea critera

  1. #1
    Registered User
    Join Date
    02-27-2012
    Location
    UK
    MS-Off Ver
    Excel 365
    Posts
    65

    multipling on multiplea critera

    Trying to work on formula based on looking for month and then multiply by values in adjacent cell, currently using the following formula but it has too many arguments and cant be updated if new month is added.

    tried sum product but couldn't generate a workable formula. therefore need help in nesting this formula or any other way to calculate.

    =IF(B2=N$2,A2*P$2,IF(B2=N$3,A2*P$3,IF(B2=N$4,A2*P$4,IF(B2=N$5,A2*P$5,IF(B2=N$6,A2*P$6)))))
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: multipling on multiplea critera

    d2 = A2*VLOOKUP($B2,$N$2:$P$31,3,0) and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,729

    Re: multipling on multiplea critera

    try a lookup instead

    =INDEX(P:P,MATCH(B2,N:N,0))*A2

    and copy down
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    02-27-2012
    Location
    UK
    MS-Off Ver
    Excel 365
    Posts
    65

    Re: multipling on multiplea critera

    Any alternate to Vlookup ?, actual data consist of 0.5+ million rows, wouldn't it slow down my sheet?

  5. #5
    Registered User
    Join Date
    02-27-2012
    Location
    UK
    MS-Off Ver
    Excel 365
    Posts
    65

    Re: multipling on multiplea critera

    many thanks.....

  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: multipling on multiplea critera

    Quote Originally Posted by tabkaz View Post
    Any alternate to Vlookup ?, actual data consist of 0.5+ million rows, wouldn't it slow down my sheet?
    Try it and see what happens.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Forum Contributor
    Join Date
    07-16-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: multipling on multiplea critera

    Hi Tabkaz

    Try this in E2 and drag down =VLOOKUP($B2,$N$2:$P$31,3,FALSE)*$A2

+ 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] SUMIFS (Several Critera)
    By mackan7695 in forum Excel General
    Replies: 5
    Last Post: 09-15-2015, 03:24 AM
  2. Autofilter Critera
    By 13lack13lade in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2013, 02:46 PM
  3. [SOLVED] SUMIFS with <> Critera
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-20-2013, 01:35 PM
  4. [SOLVED] Dividing and Multipling
    By amanp786 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-17-2013, 10:35 AM
  5. Count with two critera
    By mwrfsu in forum Excel General
    Replies: 2
    Last Post: 08-01-2007, 09:14 PM
  6. Multipling the value of 3 text boxes
    By Amber_D_Laws in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-20-2006, 10:45 AM
  7. [SOLVED] How do I sum with two critera?
    By Clare in forum Excel General
    Replies: 4
    Last Post: 08-24-2005, 10:05 AM

Tags for this Thread

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