+ Reply to Thread
Results 1 to 4 of 4

determining multiple cell contents and proving a count

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    2

    determining multiple cell contents and proving a count

    Hi,

    I've nearly got this covered after looking many examples.

    This is where I am:

    =SUM(IF(ISNUMBER(FIND("Commission",D452)),"1","0")+(IF(E452>Markets!$C$2,"1",))+(IF(ISNUMBER(COUNTIF(F452,Markets!$C$3:Markets!$E$3)),"0","1")))

    Basically, the third section (Markets!$C$3:Markets!$E$3) doesnt seem to work. If I change that to just (Markets!$C$3) then it works for the one keyword.

    What this section is supposed to do, is return a 0 if cell F452 contains any of the keywords in cells Markets!$C$3:Markets!$E$3.

    Any help greatly appreciated!

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: determining multiple cell contents and proving a count

    Hi
    Try changing from:

    Markets!$C$3:Markets!$E$3
    to
    Markets!$C$3:$E$3
    Good luck.
    Tony

  3. #3
    Registered User
    Join Date
    07-29-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: determining multiple cell contents and proving a count

    thanks tony but that didn't work unfortunately.

    Here is what I am trying to do:

    I have three cells that when they all meet a criteria, the 4th cell displays 1. If one of the cells doesn't meet the criteria then it should display 0.

    The formula I've done so far (above) gives each cell either a 1 or 0. These are then added together in that long formula and 4th cell displays 0, 1, 2 or 3.

    If you can think of a better way, I'd love to hear it!

    many thanks
    Steve
    Last edited by m50b25; 07-30-2013 at 04:06 AM. Reason: didn't make sense

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: determining multiple cell contents and proving a count

    Hi,

    Replace:

    IF(ISNUMBER(COUNTIF(F452,Markets!$C$3:Markets!$E$3)),"0","1")

    with:

    IF(SUM(--ISNUMBER(SEARCH(Markets!$C$3:$E$3,Sheet1!F452)))>0,0,1)

    Your entire formula will now need to be array-entered (confirm with CTRL+SHIFT+ENTER, not just ENTER).

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 12-07-2012, 05:38 PM
  2. [SOLVED] Cell contents determining other cell colour
    By MikeNZ in forum Excel General
    Replies: 3
    Last Post: 07-22-2012, 12:25 AM
  3. Using Vlookup to count the contents in a cell
    By J Morrow in forum Excel General
    Replies: 6
    Last Post: 02-24-2012, 12:07 PM
  4. Replies: 4
    Last Post: 05-06-2011, 02:02 PM
  5. Split cell contents over multiple rows based on cell contents
    By naigy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-17-2011, 05:38 PM

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