+ Reply to Thread
Results 1 to 2 of 2

Calcuations based on string pattern

  1. #1
    Registered User
    Join Date
    03-14-2013
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    1

    Calcuations based on string pattern

    I have a file that contains average user review on various products. The goal is to combine rows with similar products based on Model Number column and calculate the weighted scores in a new sheet. I've attached the file.

    Example:
    I want to combine and do a weighted score on the Model Number that begins with SDAD or GES. Based on the file, there are two rows with the pattern SDAD and GES.

    If you do the calculations manually:
    For SDAD calculation, (10 x 4) + (3 x 5) = 55/15 = 3.6
    For GES calculation, it's just (5 x 3) = 15/3 = 5

    I want to run a macro where it creates a new sheet in the same workbook and in the new sheet display something similar to the below. if I get a template, I can add more patterns in there. Thank you!

    SDAD Total Weight Score = 3.6
    GES Total weight Score = 5
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Calcuations based on string pattern

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


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


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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