Share via

Conditional format Dash based on another cell value

Anonymous
2023-05-06T22:58:12+00:00

Good Evening,

Can someone help me? I am trying to have a cell show a dash if a certain condition is met by another cell as well as highlight based on that same cell. For example, from the table below using John Doe as an example. If Certificate column show Certificate 1 or 2, Course should show as a dash. If enrolled is the Certificate column cell value as with Tom Jones and Samantha Harley, nothing should occur in the course column. I know how to highlight the row based on the certificate cell value but unsure how to change or not change the course column based on the certificate value.

Name ID Course Certificate
John Doe 12345 Course 1 Certificate 1
Jane Doe 54321 Course 1 Certificate 2
Tom Jones 56789 Course 2 Enrolled 1
Samantha Harley 98765 Course 2 Enrolled 1

Sincerely,

Yve

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ashish Mathur 102K Reputation points Volunteer Moderator
    2023-05-06T23:20:26+00:00

    Hi,

    Write this formula in cell E2 and drag down

    =if(or(D2="Certificate 1",D2="Certificate 2"),"-",C2)

    Hope this helps.

    Was this answer helpful?

    0 comments No comments