+ Reply to Thread
Results 1 to 5 of 5

Offset?

Hybrid View

  1. #1
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Offset?

    Hi again,

    I'd like to have a cell count the number of times it sees %100 in a particular column, only if it matches a certain criteria (ie, the name of the shift)

    You'll see in the attached file

    book4.xls

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Offset?

    =COUNTIFS(A:A,T3,P:P,1) Type into U3 and drag down. I'm not sure if this is compatible with 2003 though. If not:

    In Q1:
    =IF(P1=1,A1,"") then drag down.

    Then in U3:
    =COUNTIF(Q:Q,T3)

    Note: "1" is used in the formulas which is the same as 100% (0.5 =50%, 1.5 = 150% etc)
    Say thanks, click *

  3. #3
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Offset?

    Hey thanks for the idea! Yeah 2003 doesn't have countifs from what I can tell. The second idea will work great

  4. #4
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Offset?

    You can use too: T3 --> =SUMPRODUCT((A1:A16=T3)*(P1:P16=100%))
    Copy down the formula
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  5. #5
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Offset?

    Good old sumproduct, I always forget about that one! Much neater a solution especially if you will have many many rows of data.

+ 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