+ Reply to Thread
Results 1 to 3 of 3

If Statements

  1. #1
    Registered User
    Join Date
    10-11-2006
    Posts
    1

    If Statements

    Is there anyway that one could use more then 7 if statements in one formulae

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by jimmye
    Is there anyway that one could use more then 7 if statements in one formulae
    In B1, if . if. if. if. else C1
    In C1 if . If etc

    hth
    ---

  3. #3
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    There is a limit of 7, and the above wrokround works, but often if you expalin what wants to happen the formula can be simplified or a lookup table can be used to reduce the ifs

    so in the following

    eg if(a1=1,"a",f(a1=2,"b",if(a1=3,"c",if(a1=4,"d",if(a1=5,"e",#n/a)))))

    could if the following was typed in say a10:b14
    1 a
    2 b
    3 c
    4 d
    5 e

    =vlookup(a1,a10:b14,2,false)


    Regards

    Dav

+ 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