Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel Conditions on cell 1

Status
Not open for further replies.

tyutghf

Technical User
Apr 12, 2008
258
0
0
GB
Hi

I'm trying to update a column based on the info in another column of the same row.

Cell L contains lots of job titles

Cell M needs to be set based on the job titles

If L = “Contractor” set M to “Main Contractor”
If L = “Consultancy” OR “Agent” set M to “Consultancy”
If L = any other value set M to “Subcontractor”

Can someone help with the condition for col M please?

Thanks
 
=IF(L1="Contractor","Contractor",IF(OR(L1="Consultancy",L1="Agent"),"Consultancy","Subcontractor"))
 
Thank you so much, my brain wasn't working on the sub condition
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top