+ Reply to Thread
Results 1 to 5 of 5

"IF" formula to check several cells.

  1. #1
    Registered User
    Join Date
    05-07-2010
    Location
    Gothenburg, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Unhappy "IF" formula to check several cells.

    Hello! I need some help with this formula:

    =IF(A3;D3;F3;J3;"20DV";"Answer";"",IF(A3;D3;F3;J3;"40DV";"Answer";""))

    What I want it to do is to check these cells and if any of the contain either "20DV" or "40DV" It should return an answer. All the cells doesn't need to contain this information.. How do I do.. I totally screwed this up! :/
    Last edited by Case1979; 05-07-2010 at 06:56 AM. Reason: Wrong title

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Problem with "IF" formula. Need to check several cells.

    maybe
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    05-07-2010
    Location
    Gothenburg, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Problem with "IF" formula. Need to check several cells.

    Quote Originally Posted by pike View Post
    maybe
    Please Login or Register  to view this content.
    Thanks man! I'll try it right away! :P

    EDIT: Didn't work..

    I tried this: =OM(ELLER(A3="20DV",E3="20DV",I3="20DV",M3="20DV",Q3="20DV",U3="20DV"),"Answer","")

    I use the Swedish version of Excel where OM=IF and ELLER=OR.. Anyone please..
    Last edited by Case1979; 05-07-2010 at 07:32 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: "IF" formula to check several cells.

    Did you replace all the commas with semicolons for your version?

    =OM(ELLER(A3="20DV";E3="20DV";I3="20DV";M3="20DV";Q3="20DV";U3="20DV");"Answer";"")

    you also did not at the 40DV criteria into the formula...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    05-07-2010
    Location
    Gothenburg, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Red face Re: "IF" formula to check several cells.

    Quote Originally Posted by NBVC View Post
    Did you replace all the commas with semicolons for your version?

    =OM(ELLER(A3="20DV";E3="20DV";I3="20DV";M3="20DV";Q3="20DV";U3="20DV");"Answer";"")

    you also did not at the 40DV criteria into the formula...
    Hmm.. you are right about that one.. Should be semicolons. I'll try again! Thanks!

+ 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