+ Reply to Thread
Results 1 to 4 of 4

COUNT IF formulas

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by john_learner
    I ahve a multi columned spreadsheet that I need to pull some data from.
    I cant figure out how to do this.

    i.e i need to know how many cells in f have the value "open" if coulmn b has the value "door" and column e has the value "frame".

    If (column b= door) and (column e= frame) how many cells in column f = door

    and another would be.. where--(column b= door) and (column e= frame) and (column f =door)-then what is the total of values in column g

    thanks
    try following array (hit Ctrl+Shift+Enter)

    =SUM(IF(B1:B50="door",IF(E1:E50="frame",IF(F1:F50="door",1,0),0)))

    Regards.

  2. #2
    Registered User
    Join Date
    08-27-2006
    Posts
    9
    Quote Originally Posted by starguy
    try following array (hit Ctrl+Shift+Enter)

    =SUM(IF(B1:B50="door",IF(E1:E50="frame",IF(F1:F50="door",1,0),0)))

    Regards.
    thankyou

    that works good

    and If want a formula to add up the values of the cells in column j that meet
    these (IF(B1:B50="door",IF(E1:E50="frame",IF(F1:F50="door",1,0),0))) conditions?

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by john_learner
    thankyou

    that works good

    and If want a formula to add up the values of the cells in column j that meet
    these (IF(B1:B50="door",IF(E1:E50="frame",IF(F1:F50="door",1,0),0))) conditions?
    try following.

    =SUMPRODUCT(((B1:B50="door")*(E1:E50="frame")*(F1:F50="door")*(J1:J50)))

    Regards.

+ 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