Hi all,
So I have been struggling with this problem for some time and I thought I had a fix, but it turns out, my approach was too complex and didn't work 100% o the time for some reason.
So, the business problem:
Each month Search, referred, and direct load change places as contributing the highest percentage of traffic to a website. EX:
Sample Data.xlsx
Date Date Indicator Traffic Source 1 Traffic Source 2 Traffic Source 3 Traffic Source Percentage 1 Traffic Source Percentage 2 Traffic Source Percentage 3 Q1 2013 1 Referred Search Direct load 37% 32% 31% Q2 2013 2 Search Referred Direct load 44% 29% 27%
I need to return this months sources in order, the percentages for this month, and next to each of these numbers, last months percentage.
i.e.
Search 44% 32%
Referred 29% 37%
Direct load 27% 31%
The part I am struggling with is the previous months value. So essentially I have to look down using a vlookup (current month indicator -1), then in that row, look over to find "search", then go over three additional spaces from there, and return that percentage.
I tried implementing match and or Hlookup, but each need you to know where the first row is to begin your lookup.
Is there an easy way to do this? haha or even a complex way to do this?
Thanks!
Bookmarks