Copy and Format Data from Next Available Cell

Status
Not open for further replies.

detweiler

Board Regular
Joined
Aug 2, 2013
Messages
60
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

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Status
Not open for further replies.

Forum statistics

Threads
1,215,156
Messages
6,123,339
Members
449,098
Latest member
thnirmitha

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