+ Reply to Thread
Results 1 to 5 of 5

Product with Criteria

  1. #1
    Registered User
    Join Date
    08-25-2010
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    2

    Product with Criteria

    Hi,

    I have a two columns
    1 0.5
    1 0.4
    1 0.2
    2 0.3
    2 0.2
    3 0.25
    3 0.2
    3 0.4
    3 0.2
    4 0.8

    What I need to do is multiply all the elements in the second column with the same first column field
    i.e.
    1 (0.5*0.4*0.2)
    2 (0.3*0.2)
    3 (...

    I was wondering can I get away without writing a VBA script.

    Thanks in advance.

  2. #2
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Kalgoorlie Australia
    MS-Off Ver
    Excel 2007/10
    Posts
    251

    re: Product with Criteria

    hello axed
    sorry but i don't understand, you say you have two columns, lets call them A&B, what numbers are in each column please. may be attach an example with an example of what you require
    regards
    Peter

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Interesting Lookup problem

    axed, welcome to the board, however, please note if you choose to x-post your question on multiple forums we ask you detail the links accordingly

    http://www.mrexcel.com/forum/showthread.php?t=491563

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    re: Product with Criteria

    =PRODUCT(IF(A1:A10=1, B1:B10)), confirmed with Ctrl+Shift+Enter

    Please read the forum rules before posting again.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    08-25-2010
    Location
    NYC
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Product with Criteria

    Thanks. Sorry was not aware of the rule.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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