Matt Pinkston
asked on
Updating an sharepoint list form formula
I have the following SharePoint list formula on a custom list field but I need it slightly altered...
=IF(ISNUMBER(FIND("CIVILIA N",UPPER(H ierarchy)) ),"Civilia n",IF(ISNU MBER(FIND( "HEALTHCAR E",UPPER(H ierarchy)) ),"Healthc are",IF(IS NUMBER(FIN D("DEFENSE ",UPPER(Hi erarchy))) ,"Defense" ,IF(ISNUMB ER(FIND("C ONSULTING" ,UPPER(Hie rarchy))), "CS",IF(IS NUMBER(FIN D("SLED",U PPER(Hiera rchy))),"S &L","")))) )
This is n a field called segment but would love to have it only do the ifs following the first if segment is now not empty... I also need to add these to the bottom...
=IF(ISNUMBER(FIND("CIVILIA N",UPPER(L ead Sales Region))),"Civilian",IF(IS NUMBER(FIN D("HEALTHC ARE",UPPER (Lead Sales Region))),"Healthcare",IF( ISNUMBER(F IND("DEFEN SE",UPPER( Lead Sales Region))),"Defense",IF(ISN UMBER(FIND ("CONSULTI NG",UPPER( Lead Sales Region))),"CS",IF(ISNUMBER (FIND("SLE D",UPPER(L ead Sales Region))),"S&L","")))))
=IF(ISNUMBER(FIND("CIVILIA
This is n a field called segment but would love to have it only do the ifs following the first if segment is now not empty... I also need to add these to the bottom...
=IF(ISNUMBER(FIND("CIVILIA
ASKER
This is what I tried but get an error
=IF(ISNUMBER(FIND("S&L",UP PER(Lead Region Name))),"S&L",
IF(ISNUMBER(FIND("Defense" ,UPPER(Lea d Region Name))),"Defense",
IF(ISNUMBER(FIND("Healthca re",UPPER( Lead Region Name))),"Healthcare",
IF(ISNUMBER(FIND("Civilian ",UPPER(Le ad Region Name))),"Civilian",
IF(ISNUMBER(FIND("CIVILIAN ",UPPER(Hi erarchy))) ,"Civilian ",
IF(ISNUMBER(FIND("HEALTHCA RE",UPPER( Hierarchy) )),"Health care",
IF(ISNUMBER(FIND("DEFENSE" ,UPPER(Hie rarchy))), "Defense",
IF(ISNUMBER(FIND("CONSULTI NG",UPPER( Hierarchy) )),"CS",
IF(ISNUMBER(FIND("SLED",UP PER(Hierar chy))),"S& L",""))))) )))
=IF(ISNUMBER(FIND("S&L",UP
IF(ISNUMBER(FIND("Defense"
IF(ISNUMBER(FIND("Healthca
IF(ISNUMBER(FIND("Civilian
IF(ISNUMBER(FIND("CIVILIAN
IF(ISNUMBER(FIND("HEALTHCA
IF(ISNUMBER(FIND("DEFENSE"
IF(ISNUMBER(FIND("CONSULTI
IF(ISNUMBER(FIND("SLED",UP
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
sorry but I could not fully understand your question. Can you please explain your expected result again?
You currently have a calculated column named Segment which contains your first formula (result based on a string in the hierachy field). But I dont get the meaning of your second formula.
Thanks.
Rainer