+ Reply to Thread
Results 1 to 3 of 3

Checking another column

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Checking another column

    Morning,

    I have this formula:

    =COUNTIF('Input Sheet'!$M:$M,"Homework")

    Which counts the number of homeworks in column M on the input sheet.

    I now need to amend this so that it will only count these if:

    the value in C4, is in the column F in the input sheet.

    Any help would be greatly appreciated.

    Thanks
    Last edited by Cmorgan; 09-17-2011 at 12:48 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Checking another column

    Hello,

    in 2010 you can use Countifs()

    =COUNTIFS(M:M,"homework",F:F,$C$4)

    In earlier versions of Excel, you can use Sumproduct, but you cannot use whole column ranges

    =SUMPRODUCT(($M$1:$M$100="homework")*($F$1:$F$100=$C$4))

    cheers,
    Last edited by teylyn; 09-17-2011 at 05:34 AM.

  3. #3
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Checking another column

    Thanks for this

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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