Results 1 to 9 of 9

Help with IF formula

Threaded View

  1. #1
    Registered User
    Join Date
    02-11-2015
    Location
    Lebanon, Ohio
    MS-Off Ver
    2010
    Posts
    5

    Help with IF formula

    I am using the following formula to but am having a problem if the value is equal to the value in the first line of the formula no problem. If it is the second value 17 lines down I get a FALSE. I am sure it is something obvious but not certain as to how to get this work. Looking for suggestions and ideas. Thanks

    =IF(BJ2="1-02-0001-001",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Air","Air",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Ocean","Ocean",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Air_Ocean","Air_Ocean",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Land_Transport","Land_Transport",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Logistics_SCM","Logistics_SCM",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Customs","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Finance_Controlling","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="General_Management","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Human_Resources","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="ICT","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Legal_Affairs","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Marketing_PR","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Procurement","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Quality_Processes","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Sales","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:D,3,FALSE)="Specials","Unassigned",
    IF(BJ2="1-02-0001-003",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Air","Air",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Air_Ocean","Air_Ocean",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Ocean","Ocean",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Land_Transport","Land_Transport",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Logistics_SCM","Logistics_SCM",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Customs","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Finance_Controlling","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="General_Management","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Human_Resources","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="ICT","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Legal_Affairs","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Marketing_PR","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Procurement","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Quality_Processes","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Sales","Unassigned",
    IF(VLOOKUP(Q2,'Job Code w Training Info'!B:J,9,FALSE)="Specials","Unassigned",
    "Unassigned"))))))))))))))))))))))))))))))))))New User Workbook_2015.zip
    Last edited by Gseft; 02-11-2015 at 12:25 PM. Reason: add attachment

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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