+ Reply to Thread
Results 1 to 3 of 3

If Function

  1. #1
    Registered User
    Join Date
    12-06-2007
    Posts
    1

    If Function

    =IF("mercedes benz",100,IF("audi",90,IF("ford",80,IF("skoda",70,IF("aston martin",60,IF("rolls royce",50,IF("diahutsu",40,IF("vauxhall",30,if(fiat,20,0))))))))

    it comes up with error

    then highlights the 0 at the end

    please help me it would be much appreciated

    thank u

    quidaba

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You must identify which cell has to equal one of those items and you are not allowed more than 7 nested IFs....

    Try:

    Please Login or Register  to view this content.
    Where A1 houses the car to lookup.
    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.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello quidaba,

    You have eight nested IF statements. The maximum for Excel prior to 2007 is 7 levels. Also, Fiat isn't in quotes.

    Sincerely,
    Leith Ross

+ 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