+ Reply to Thread
Results 1 to 4 of 4

In search of a formula short cut...

  1. #1
    Registered User
    Join Date
    03-19-2012
    Location
    MD, USA
    MS-Off Ver
    Excel 2011
    Posts
    2

    In search of a formula short cut...

    Greetings: I am in search of a formula short cut, if one exists.

    I have a dataset of codes. There are multiple codes in one column (e.g., 8 types of texts used by students in an observed classroom lesson). I am looking for a short cut using any of the IF commands to: a) find more than one code per formula and b) perform a calculation (e.g., COUNT).

    Here is an example. Within one COUNT function, I know how to create a string of IF commands to search for as many of the associated codes I want EXCEL to find and count. As in this example, where I am interested in summing the number of codes that begin with "I":

    =COUNT(IF(Data!A1:A50="IL",IF(Data!A1:A50="IH",IF(Data!A1:A50="IM",))))

    But I am looking for a shortcut that would yield the same.

    Thanks.

  2. #2
    Forum Contributor
    Join Date
    05-14-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    187

    Re: In search of a formula short cut...

    Hi John,

    If your column A has the data, then enter "IL", "IH" and "IM" in B1, C1, D1

    Then enter the formula: Countif($A:$A,B1) in B2 and drag the formula till D2

    Regards,

    Rajeev

  3. #3
    Registered User
    Join Date
    03-19-2012
    Location
    MD, USA
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: In search of a formula short cut...

    Thanks, Rajeev. I see what you are saying, but (if I can help it), I don't want to reorganize the data file. I would rather simplify the data query through functions/commands. Any other ideas?

    John

  4. #4
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: In search of a formula short cut...

    Do you mean:

    =COUNTIF(Data!A1:A50,"I*")

    ?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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