Results 1 to 12 of 12

Count numbers in columns

Threaded View

rbpd5015 Count numbers in columns 08-04-2009, 12:34 PM
modytrane Re: Count numbers in columns 08-04-2009, 01:28 PM
rbpd5015 Re: Count numbers in columns 08-04-2009, 01:36 PM
JBeaucaire Re: Count numbers in columns 08-04-2009, 02:59 PM
rbpd5015 Re: Count numbers in columns 08-04-2009, 09:15 PM
JBeaucaire Re: Count numbers in columns 08-05-2009, 01:17 AM
rbpd5015 Re: Count numbers in columns 08-05-2009, 01:58 AM
rbpd5015 Re: Count numbers in columns 08-05-2009, 02:16 AM
JBeaucaire Re: Count numbers in columns 08-05-2009, 02:55 AM
rbpd5015 Re: Count numbers in columns 08-05-2009, 08:30 AM
rbpd5015 Re: Count numbers in columns 08-05-2009, 08:37 AM
JBeaucaire Re: Count numbers in columns 08-05-2009, 11:57 AM
  1. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Count numbers in columns

    SHEET1:

    In G2 and then copied down:
    =IF(D2="W","N/A","")

    In J2 and then copied down:
    =IF(COUNTIF(D2:I2,"W")>0,"N/A","")

    In M2 and then copied down:
    =IF(COUNTIF(D2:L2,"W")>0,"N/A","")

    SHEET2:
    Changed A2:A17 and used a custom number format so the only thing actually in that cell is numbers 1-16. This allows the formulas to follow to use these cells as reference.

    In C2 and copied down:
    =SUMPRODUCT(--(Sheet1!$C$2:$C$600=$A2),--(Sheet1!$D$2:$D$600<>"N/A"))

    In D2 and copied down:
    =SUMPRODUCT(--(Sheet1!$F$2:$F$600=$A2),--(Sheet1!$G$2:$G$600<>"N/A"))

    In E2 and copied down:
    =SUMPRODUCT(--(Sheet1!$I$2:$I$600=$A2),--(Sheet1!$K$2:$K$600<>"N/A"))

    In F2 and copied down:
    =SUMPRODUCT(--(Sheet1!$L$2:$L$600=$A2),--(Sheet1!$M$2:$M$600<>"N/A"))

    In L2 and copied down:
    =SUMPRODUCT(C2:F2*$C$28:$F$28)


    Sheet attached, I've colored all the cells I changed.
    Attached Files Attached Files

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