I have an excel file that I'm trying to pull information into one column with a numeric code instead of a string using the following criteria:
If column B, C, D has the string "3-Pt, EXCEEDS, ARMY OR NAVY" return the number "1"
If column E has the string "DEV-FD" return the number "2"
If column F has the string "DEV-NF" return the number "3"
If column G has the string "18-HRS" return the number "4"
If column H, I, J, K has the string "EMBA, ONLINE, SE, 8B" return the number "5"
If column L has the string "12-HRS" return the number "6"
If none of the above applies the return a "0"
Does anyone know of a way to pull this?
CODE 1-3PEAT 1-EXCEEDS 1-MIL 2-DEV FND 3-DEV-NF 4-DEV => 18 hrs 5-EMBA 5-ONLINE-NF 5-SE STUDENT 5-8B Session 6-UG >12 HRS GRAD
N N N N N N N N SE N N
3-Pt N N N N N N N N N N
N N N N DEV-NF N N N N N N
N EXCEEDS N N N N N N N N N
N N N DEV-FND N N N N N N N
N N N N N 18-HRS N N N N N
N N ARMY N N N N N N N N
N N N N N N EMBA N N N N
N N N N N N N ONLINE N N N
N N NAVY N N N N N N N N
N N N N N N N N N N N
N N N N N N N N N N 12-HRS
If column B, C, D has the string "3-Pt, EXCEEDS, ARMY OR NAVY" return the number "1"
If column E has the string "DEV-FD" return the number "2"
If column F has the string "DEV-NF" return the number "3"
If column G has the string "18-HRS" return the number "4"
If column H, I, J, K has the string "EMBA, ONLINE, SE, 8B" return the number "5"
If column L has the string "12-HRS" return the number "6"
If none of the above applies the return a "0"
Does anyone know of a way to pull this?
CODE 1-3PEAT 1-EXCEEDS 1-MIL 2-DEV FND 3-DEV-NF 4-DEV => 18 hrs 5-EMBA 5-ONLINE-NF 5-SE STUDENT 5-8B Session 6-UG >12 HRS GRAD
N N N N N N N N SE N N
3-Pt N N N N N N N N N N
N N N N DEV-NF N N N N N N
N EXCEEDS N N N N N N N N N
N N N DEV-FND N N N N N N N
N N N N N 18-HRS N N N N N
N N ARMY N N N N N N N N
N N N N N N EMBA N N N N
N N N N N N N ONLINE N N N
N N NAVY N N N N N N N N
N N N N N N N N N N N
N N N N N N N N N N 12-HRS