+ Reply to Thread
Results 1 to 4 of 4

Which formula should I use?

  1. #1
    Forum Contributor
    Join Date
    04-05-2007
    Location
    Arlington, TX
    MS-Off Ver
    Office 2010
    Posts
    164

    Which formula should I use?

    I need a little help here. Currently I am using this formula:

    =IF(COUNTIF(I5:AB5,"F"),"F","P")

    to scan the row of cells for the letter "F" and then display "F" in the cell if any are found. What I would like to do is have 3 variables. If "E" is found, display "E", if "F" is found, display "F" and if neither is found, display "P" - how can I do this?

    I really appreciate any input.

  2. #2
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    =IF(COUNTIF(I5:AB5,"F"),"F",IF(COUNTIF(i5:AB5,"E"),"E","P"))

    Let me know if that works

  3. #3
    Forum Contributor
    Join Date
    04-05-2007
    Location
    Arlington, TX
    MS-Off Ver
    Office 2010
    Posts
    164
    Quote Originally Posted by BigBas
    =IF(COUNTIF(I5:AB5,"F"),"F",IF(COUNTIF(i5:AB5,"E"),"E","P"))

    Let me know if that works
    you're awesome man! thanks! perfect!

  4. #4
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Glad to help.

+ 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