+ Reply to Thread
Results 1 to 4 of 4

Calculate Avg Cost per conversion formula with 3 conditions

  1. #1
    Registered User
    Join Date
    12-13-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    47

    Calculate Avg Cost per conversion formula with 3 conditions

    Hi All,

    I am trying to run a report and there are 3 dimensions i need to run it on I have a product that has more than 3 campaigns that run in different locales and i have their performance on a weekly basis, i can get a Cost per conversion for each campaign by dividing the cost of the campaign by number of conversions, but what I need is,

    (total cost of product for locale for week1/total conversions for product for locale for week 1)

    Is there any excel formula/vba code that can give me this value?

    I've attached a samplesheet and the column in which I'd live the value. I need this column for running other pivots.

    Thanks

    Alfred
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculate Avg Cost per conversion formula with 3 conditions

    Hi

    Do you mean?

    =AVERAGE(IF(C2:C465=C2,A2:A465=A2,E2:E465))

    Array formula(Control+Shift+Enter)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    12-13-2011
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Calculate Avg Cost per conversion formula with 3 conditions

    Hi Fotis,

    Thanks for the formula, but sadly its not calculating the correct thing, its taking

    (total cost for Product SOA in week 1/total conversions for SOA in week1)

    what i need is

    (total cost for Product SOA in Locale UK in week 1/total conversions for SOA in Locale UK in week1)

    Thanks

    Alfred

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculate Avg Cost per conversion formula with 3 conditions

    Hi again.

    As you are in Excel 2010, give a try to AVERAGEIFS.

    =AVERAGEIFS(E2:E465,A2:A465,A2,C2:C465,C2,D2:D465,D2)

    This does the average of the amount, if Product is SOA, Location is UK and Week is 1..

+ 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