+ Reply to Thread
Results 1 to 3 of 3

countif + match help please

  1. #1
    Registered User
    Join Date
    11-02-2013
    Location
    North Queensland Australia
    MS-Off Ver
    Excel 2007
    Posts
    45

    countif + match help please

    Hi Gurus,
    I am trying unsuccessfully to create a formula that will count the number if times text appears, that will then match a separate value.
    eg: how many times does "Buy" appear down a column, for a currency pair, ACAD.
    I then want to break this up to show how many buys were profitable or losers.
    the spreadsheet attached shows what I am looking for.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: countif + match help please

    use countifs
    =COUNTIFS($C$6:$C$41,$A86,$I$6:$I$41,"buy")
    =COUNTIFS($C$6:$C$41,$A86,$I$6:$I$41,"buy",$N$6:$N$41,"p")
    =COUNTIFS($C$6:$C$41,$A86,$I$6:$I$41,"buy",$N$6:$N$41,"l")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-02-2013
    Location
    North Queensland Australia
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: countif + match help please

    Hi Martin,
    Thank you for the rapid and excellent response.
    The formula works wonderfully.
    Appreciate your help

+ 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] Countif,Match
    By dita87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2014, 07:35 PM
  2. [SOLVED] How - Match/If/Countif
    By Shermaine2010 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2013, 09:30 PM
  3. Replies: 2
    Last Post: 03-16-2012, 12:03 PM
  4. if. match, countif HELP!
    By CHRISB37 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-10-2012, 06:56 PM
  5. Match & Countif
    By Killer17 in forum Excel General
    Replies: 4
    Last Post: 12-10-2010, 05:36 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