+ Reply to Thread
Results 1 to 22 of 22

Formula help (averaging multiple columns)

  1. #1
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Formula help (averaging multiple columns)

    I have this great Excel spreadsheet that pulls rankings from Google...but, i'm new to Excel and could use some help on the formulas...


    The spreadsheet can be found here: http://www.searchenginepeople.com/wp...p-rankings.zip

    Original article is here: http://www.searchenginepeople.com/bl...oft-excel.html)


    What i would like to do is get the aggregate percentage increase (or decrease) for each day's rankings, and also the average of today's rankings over the first day's rankings.

    Hopefully the attached graphic explains it better!

    In other words, i want to know how much, overall, the rankings have increased or decreased (as a percentage). One is the amount of change vs. yesterday. The other is the amount of change vs. the first date.

    Any help much appreciated.
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Hi xceller8
    Please use forum tool to upload a workbook.

    Post a WORKBOOK:
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Sure here it is!
    Thanks a lot.

    SERP Rankings.xls

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    aggregate percentage is (Average Today - Average Yesterday) / Average Yesterday ?

    SERP Rankings(edit).xls Is this OKIE?

  5. #5
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Wow, very cool WenQQ3. Thanks for this help.

    So let me clarify:

    1) a "1" is actually better than a "10" because we're talking about rankings on Google. So, #1 is the top spot! (i say this because your 'aggregate %' is showing a negative on the 2nd day (and should be positive because all rankings on row 6 went up)

    2) so on the first new column ("F") i want to know how much all my rankings on an aggregate level went up or down (percentage) verses the day before.

    3) the second column ("G") should show aggregate % increase verses the very first day (row 5).

    thank you so much for helping.

  6. #6
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Please change of F6 =
    Please Login or Register  to view this content.
    3) the second column ("G") should show aggregate % increase verses the very first day (row 5).
    How this math will calculate?

  7. #7
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    well, in column F we are saying "overall, your rankings were up/down this percent over yesterday's rankings". in column G we are saying "overall...your rankings are up/down this percent when comparing today's ranking with the first date we started collecting rankings (5/1/2010 on this spreadsheet, or Row 5)

    does that help?

  8. #8
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    SERP Rankings(edit2).xls

    Then is this file okie?

  9. #9
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    hi again Wenqq3, thanks a lot! i *think* there's only one issue left, and that is these values are negative. a '1' is better than a '10'. so maybe it's just a matter of "reversing the polarity" on those two columns?

  10. #10
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    in other words, if the value goes from "1" to "5", that's a 'decrease' in rankings.

  11. #11
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    SERP Rankings(edit3).xls

    I add on the Average Ranking(red widgets;blue widgets;fluffy blue widgets;free red widgets).
    So can clearly see is increasing the Ranking or decreasing.
    Can you point out which part is wrong?
    Or maybe you manually calculate the answer, and show me the sample.So i can easily follow the answer and do the formula.
    As i no super sure how the aggregate Ranking that you want.

  12. #12
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    I think this might be it! Let me work with it and I will let you know what i find out. Really nice of you to help me on this.

  13. #13
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Okie, let me know what you have find out :D

  14. #14
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Hi Wenqq3, how would i implement what you did on to another spreadsheet that i already have? by the way, this spreadsheet has more columns (more keywords).

  15. #15
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    i take SERP Ranking(edit3) as sample
    Aggregate Percentage
    Please Login or Register  to view this content.
    For example.row 6 is today, and you have more keywords(eg. 6, from col B to col F)
    then the formula is
    Please Login or Register  to view this content.
    after you done this, you can just drag it down to another available day.

    Average Today / Average1st Day

    Please Login or Register  to view this content.
    For example.row 6 is today, and you have more keywords(eg. 6, from col B to col F)
    then the formula is
    Please Login or Register  to view this content.
    after you done this, you can just drag it down to another available day.
    remark: $B$5:$F$5 , meaning when you drag down, the $B$5:$F$5 will stay unchanged.So it will always compare the 1st day data row.

  16. #16
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Thanks a lot for explaining that. I implemented it (and formatted cells for percentage) and it went pretty smooth! I will post back tomorrow after i run the next report using it, and let you know how it goes! I really, really appreciate your help on this, Wenqq3!

  17. #17
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Okie.thanks for feedback

  18. #18
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Works great! Thanks so much for the help on this!!

    Not sure if i should start a different thread for this, but two things i'm hoping to do next on this spreadsheet are:

    1) When a keyword is not found, it shows a zero (which is bad). i am wondering if i can have it simply be 'null' or blank and not effect the calculations.
    2) When i run the macro, it's going 2 columns too far (the two columns which have your formulas). Anyway to fix that?

    Eitherway, though, thanks a lot, this is already helping me!

  19. #19
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Can you attached a sample workbook?
    1) When a keyword is not found, it shows a zero (which is bad). i am wondering if i can have it simply be 'null' or blank and not effect the calculations.
    You can use IF function. Example: =if("equation", retrun TRUE, return False), =if(A+B>10, "is greater than 10","")

    2) When i run the macro, it's going 2 columns too far (the two columns which have your formulas). Anyway to fix that?
    No idea what is this.Perhaps a workbook can explain more.

  20. #20
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Hi Wenqq3,

    I am working from your latest version, so there's nothing different about my workbook.

    If you run the macro and it doesn't find a rank for a certain keyword, it puts in a zero. I'm thinking this should either be simply a null value (so it doesn't change the averaging numbers you added) or perhaps a 100?

    By the way, how hard would it be to add a 'trend line' to this that is based off of the 2nd averaging column (the one that averages against the very first day of rankings)?

  21. #21
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Formula help (averaging multiple columns)

    Am i writing any marco to you?
    Perhaps you ca post the macro and sample workbook.So i can check on it. Thanks

  22. #22
    Registered User
    Join Date
    06-17-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Formula help (averaging multiple columns)

    Hi Wenqq3, you already have the workbook with macros. To run the macro - just enable macro's for the workbook, then hit Control+Shift+U. You can try putting some new keywords in like "xsfiejslei" so you get the 'zero' result.

    Just to clarify, we are working with the exact same workbook.
    Last edited by xceller8; 07-06-2013 at 10:10 PM. Reason: put = instead of +.

+ 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