+ Reply to Thread
Results 1 to 8 of 8

Collate results over range, and different criteria

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Question Collate results over range, and different criteria

    Hello,

    I have a long range of 40,000 emails and adjacent to these emails are columns to say if the email addresses responded to an email sent to them, and also to show if they booked from that email.

    I need to sum where recipients;

    - did not respond (easiest to show on the attached sample, in yellow - you can see 2 emails didn't respond - but I cannot fathom what formula structure to count those who have no criteria)
    - opened 1, 2 or 3 of the emails
    - opened and clicked 1, 2 or 3 of the emails
    - opened and clicked and booked 1, 2 or 3 of the emails
    - opened and booked but NOT clicked 1, 2 or 3 of the emails,
    - etc - just need to figure what formula structure to use to include some status but exclude others - I can then adapt as needed to different results, and collate to analyse.

    Can someone please steer me on the best method, bearing in mind the number of emails I'll be searching and also the number of queries I may want in the sheet.

    Ideally want a formula based solution please in the red & yellow filled cells of column B.

    Hoping someone can please assist?

    Thank you,

    Ian
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Collate results over range, and different criteria

    This will do the first bit:

    =COUNTIFS(D:D,"<>"&"",E:E,"")

    However, I'm not clear if when you say opened 1 email you mean:

    a count of those opened 1 email ONLY, or
    a count of those who opened AT LEAST one email.

    For the former:

    =COUNTIF(E:E,"<>"&"")-COUNTIF(G:G,"<>"&"")
    (works after you remove the stray space in G5)

    and the latter:

    =COUNTIF(E:E,"<>"&"")-1
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Re: Collate results over range, and different criteria

    Thanks - just working this now.

    First part - solution assumes that non engagement with column E means non engagement in columns G and I also, which may not be the case. How do I expand to cover those also?

    Ah - think this is it; =COUNTIFS(D:D,"<>"&"",I:I,"",G:G,"",E:E,"")

  4. #4
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Re: Collate results over range, and different criteria

    Second part;

    Opened 1 email = opened JUST one email of the 3 columns (E, G and I)
    Opened 2 emails = opened TWO of the THREE columns (E, G and I)
    Opened 3 emails = opened all three columns (E, G and I)

    Note that - if content is CLICKED, that also counts as an open as one has to open it to click it.

  5. #5
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Re: Collate results over range, and different criteria

    This is driving me nuts. Tried DCOUNT but isn't quite right.
    Ideally need to merge COUNTIF and OR commands but this is eluding me, as I'm not counting contents, just any cell in column which is "<>"&""

  6. #6
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Re: Collate results over range, and different criteria

    My latest shoddy efforts in cells B4-6
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Collate results over range, and different criteria

    How about a helper in K2, copied down:

    If you prefer, the helper column can be hidden, or put on another (hidden) sheet...

    =IF(E2<>"","X","")&IF(G2<>"","X","")&IF(I2<>"","X","")

    and then:
    =COUNTIF(K:K,"X")
    =COUNTIF(K:K,"XX")
    =COUNTIF(K:K,"XXX")
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    08-21-2014
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    242

    Re: Collate results over range, and different criteria

    Neat - let me try that...

+ 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. [SOLVED] Sum if range criteria is met then evaluate results and return specified value
    By jbeets in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2015, 02:24 PM
  2. How do I collate questionnaire results into a pivot table
    By DawnMad in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-22-2015, 09:11 AM
  3. Replies: 1
    Last Post: 07-15-2013, 07:24 AM
  4. Search against a range of criteria and display whole rows as results
    By ahber in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-19-2013, 08:55 AM
  5. How to collate all results thru formula.
    By patrickargao in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-02-2013, 12:02 PM
  6. Collate a range of data
    By wa421us in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2009, 01:31 PM
  7. Replies: 3
    Last Post: 06-27-2005, 05:05 PM

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