+ Reply to Thread
Results 1 to 3 of 3

Check for value on a by person by month basis.

Hybrid View

  1. #1
    Registered User
    Join Date
    08-12-2015
    Location
    NY
    MS-Off Ver
    2007
    Posts
    2

    Check for value on a by person by month basis.

    I'm an analyst for a website, and I'm trying to track activity for all of our authors month to month. The data I have available is a monthly breakout of any post that received a page view in that month, with the reporting month (the month the page view occurred in), the original post date, and the author's name.

    See the dummy data I put together to test with. Basically, if Moe has any post that was published in June, then he was active in that month and every post in the reporting month of June needs to be marked as Active so those page views can be added together. If not, then Moe was inactive that month.

    I can easily check if a post is new by doing an If(reporting month = published month), and I know how to search a column for a value (I did an if(countif)) to search for the new post value). What I'm struggling with is a way to limit that check so that it looks at it on a by author by month basis. I would need a formula that can check if it's only looking at one author in one month before looking to see if there was a new post, and I just can't figure out how to do that.

    Thanks in advance for any tips.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Check for value on a by person by month basis.

    At the moment each row in column G will always be the same because you're simply saying "If theres a 1 anywhere in column D then make it active.

    Can you amend your spreadsheet to show what you expect to see in column G? eg if you expect Row 2 should be Inactive or row 5 active etc, that will give us a better idea of what you want (and makes testing a whole lot easier!).

    Although on reflection, I believe this in column G should do it.

    =IF(COUNTIFS(A:A,A2,B:B,B2,D:D,1),"Active","Inactive")
    Last edited by pjwhitfield; 08-12-2015 at 01:47 PM.
    If someone has helped you then please add to their Reputation

  3. #3
    Registered User
    Join Date
    08-12-2015
    Location
    NY
    MS-Off Ver
    2007
    Posts
    2

    Re: Check for value on a by person by month basis.

    Thanks for your reply. Column G should mimic column E, which I manually keyed in to represent what I want the results to look like. That formula seems to work, I didn't realize you could have multiple criteria at once like that. I'll definitely test this on a larger scale, but that's an amazingly simple formula that solves my problem if it works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Top 10 List on the basis of Year and Month
    By Nisha Dhawan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-21-2015, 06:25 AM
  2. Assign A Value On A Per Person Basis Based on Date
    By pilrim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2014, 01:09 PM
  3. Calculating How Much Each Person Brings in a Month
    By Big D in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-17-2013, 11:34 AM
  4. Need to allocate budget on a per month basis vs actual
    By joshgumby87 in forum Excel General
    Replies: 7
    Last Post: 03-11-2013, 08:10 AM
  5. VBA to check if the person using excel is the same as loged in the PC
    By Megatronixs in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 02-15-2013, 07:29 AM
  6. Replies: 2
    Last Post: 01-09-2013, 12:33 PM
  7. count of duplicate on month basis
    By excel5111987 in forum Excel General
    Replies: 1
    Last Post: 09-02-2011, 07:21 AM

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