+ Reply to Thread
Results 1 to 8 of 8

Complex Countif formula

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    wales
    MS-Off Ver
    Excel 2003
    Posts
    34

    Complex Countif formula

    Hi All,

    I’m struggling with a count if formula. I have data in two tabs and I want the tab titled ‘Data’ to look at the stab titled ‘Respond Drop’ and pull the relevant information.

    You can see in the attached spreadsheet that I have a countif formula in cells C3 to BS37. The issue I have is I need to move the cell range in order for this to work.

    This is what I am trying to achieve.

    If the formula was is tab ‘Data’ cell C3 then:

    ‘Data’ tab C3 - look at the date in A3 then
    Look at column A in tab ‘Respond Drop’ tab, find the same date matching C3 in the ‘Data’ tab
    Then look at column C in the ‘Respond Drop’ tab and match the number in column C with the number in Row 2 in the ‘Data’ Tab.

    Hope this makes sense,

    Spreadsheet attached,

    Thanks
    Craig.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2012
    Location
    Melbourne, VIC
    MS-Off Ver
    Excel 2016
    Posts
    750

    Lightbulb Re: Complex Countif formula

    try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I hope I understood your request correctly.

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Complex Countif formula

    Quote Originally Posted by thedeadzeds View Post
    ‘Data’ tab C3 - look at the date in A3 then
    Look at column A in tab ‘Respond Drop’ tab, find the same date matching C3 in the ‘Data’ tab
    Then look at column C in the ‘Respond Drop’ tab and match the number in column C with the number in Row 2 in the ‘Data’ Tab.
    Ended your description with incomplete details

    What needs to be done if both matches? Else what should be shown?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Valued Forum Contributor adyteo's Avatar
    Join Date
    01-10-2013
    Location
    Calgary
    MS-Off Ver
    Excel 2010
    Posts
    540

    Re: Complex Countif formula

    applicable to excel 2007 and up
    Test.xls
    Click on the star if you think I helped you

  5. #5
    Registered User
    Join Date
    10-25-2011
    Location
    wales
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Complex Countif formula

    Hi,

    sorry, I forgot to metion I'm using 2003

  6. #6
    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: Complex Countif formula

    Hi

    Do you mean in C3 and copy across?

    =SUMPRODUCT(('Respond Drop'!$A$46:$A$147=$A3)*('Respond Drop'!$C$46:$C$147=C$2))
    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.

  7. #7
    Registered User
    Join Date
    10-25-2011
    Location
    wales
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Complex Countif formula

    thanks very much Fotis, works like a treat

  8. #8
    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: Complex Countif formula

    You are welcome and thanks for the feed back.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

+ 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. Complex countif
    By brad.tho in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-04-2008, 07:14 AM
  2. countif complex
    By khalid79m in forum Excel General
    Replies: 1
    Last Post: 12-29-2006, 06:30 AM
  3. I need help with a formula similar to "countif" but more complex
    By Hendrik in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2006, 04:30 AM
  4. Complex or Conditional Countif(s)
    By Booweezie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-07-2006, 03:40 PM
  5. help please - complex countif, etc. functions
    By bj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 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