Entering Cell Contains - Blank/Not Blank logic

LMaeExcel

New Member
Joined
Jan 3, 2017
Messages
14
I would really appreciate some help!! I am trying to figure out how I can accomplish the following logic:

I have files that are assigned to one person, and can switch assignments. I need to locate these switches for specific people.

My sheet will look something like what is shown below. The logic needed for my "Assignment (person)" column, will behave by always entering the name in "2nd person", unless blank, and if blank, it will enter the contents in "1st Person".

I have been working on this for hours! Any guidance would be so much appreciated!

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]1st Person
[/TD]
[TD]2nd Person
[/TD]
[TD]Assignment (person)
[/TD]
[/TR]
[TR]
[TD]Jerry
[/TD]
[TD]Angie
[/TD]
[TD](formula will go in this column)
[/TD]
[/TR]
[TR]
[TD]Angie
[/TD]
[TD]Barbara
[/TD]
[TD]Barbara
[/TD]
[/TR]
[TR]
[TD]Joe
[/TD]
[TD][/TD]
[TD]Joe
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Randal
[/TD]
[TD]Randal
[/TD]
[/TR]
[TR]
[TD]Jerry
[/TD]
[TD][/TD]
[TD]Jerry
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sarah
[/TD]
[TD][/TD]
[TD]Sara
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Let's say that the first cell your formula is to go in is in cell C2.
Then your formula would look like this:
Code:
=IF(B2<>"",B2,A2)
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top