Copy and Format Data from Next Available Cell

Status
Not open for further replies.

detweiler

Board Regular
Joined
Aug 2, 2013
Messages
62
I run a report from out asset tracking system to find those items where the information has been incorrectly entered into the record. There are seven ( 7 ) columns that are in play,

PrimaryID PrimaryName Product HostName FriendlyName DBName Model

The issue is that there are several instances where the PrimaryName cell is empty, but any one or more of the five ( 5 ) columns to its right may have data that can be used as a temporary identifier for the PrimaryName cell for that record.

The problem is that, if the PrimarName cell is empty, I would like to copy the next cell to the right with data into that cell, meaning the Product cell could be empty, but the HostName cell might have data, or could be empty and the FriendlyName cell might have the data... I think you get the idea.

Is it possible to navigate this mud hut and, in the end, be able to format the copied to be italicized and the cell filled in yellow?
 

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
Status
Not open for further replies.

Forum statistics

Threads
1,224,828
Messages
6,181,210
Members
453,023
Latest member
alabaz

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