+ Reply to Thread
Results 1 to 3 of 3

Need help on using an or statement with a range in an excel cell

  1. #1
    Registered User
    Join Date
    03-28-2013
    Location
    Atl GA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Need help on using an or statement with a range in an excel cell

    What I am trying to do is count the number of rows that have the same value in the f cell in that row as the F1 cell and if that is true then I want it to look at the B cell and the C cell and if the B cell <> "SE" and the C Cell <> "RUSH" then count that row. This is what I have so far and do not know how to put the or statement in =SUMPRODUCT(--('Ag 1st'!$F27:$F5226=$F$1),--('Ag 1st'!$B27:$B5226<>"SE")) Please help

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Need help on using an or statement with a range in an excel cell

    =SUMPRODUCT(--('Ag 1st'!$F27:$F5226=$F$1),--('Ag 1st'!$B27:$B5226<>"SE"),--('Ag 1st'!$C27:$C5226<>"RUSH"))

    or

    =COUNTIFS('Ag 1st'!$F27:$F5226,$F$1,'Ag 1st'!$B27:$B5226,"<>SE",'Ag 1st'!$C27:$C5226,"<>RUSH")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    03-28-2013
    Location
    Atl GA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need help on using an or statement with a range in an excel cell

    Thanks That worked

+ 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