If cell contains data then format

HeliRecords

New Member
Joined
Feb 7, 2018
Messages
3
I need help with borders on this spreadsheet. This is a combination of several spreadsheets which I didn't build.
This has 6 set columns. Each numbered task may contain 1 to 6 rows.
I need to place a border around EACH task.
There is data in column A for each task.
Is it possible to create a conditional formula that would look at Column A and determine if there was data. If there is data then place a upper border along the entire row.

Ex - Since there is Data in A1, I need an upper border along A1-F1
Since there is no Data in A2, No border
A3 - border
A4 - no border
A5 - no border
A6 - border
A7 border



ABCDEF
126-1INSPECT PORTABLE FIRE EXTINGUISHER FOR CONDITION AND WEIGHT. NFPA-10Mod 2
Sup Insp
1187.3
2
3 28-1 PERFORM FUNCTIONAL TEST OF FUEL LOW SENSOR. 28-40-00, 5-2Mod 2959.5
4
5
6 29-1 CHANGE FLUID OF HYDRAULIC SYSTEM NO. 1 AND NO. 2.
REPLACE FILTERS, REINSTALL ALL REMOVED COWLINGS.
29-00-00, 3-3Mod 21187.3
7 29-2 REMOVE HYDRAULIC PUMP, INSPECT DRIVE SPLINES, LUBRICATE SPLINES
USING SUNSTRAND SPLINE LUBE AND REINSTALL WITHOUT DISCONNECTING
HYDRAULIC LINES.
29-10-00, 4-1
STEP 1,2,3,6,7
29-10-00, 4-2
Mod 21187.3
8
9
10
11

<tbody>
</tbody>

<tbody>
</tbody>

Mod 2

<tbody>
</tbody>
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
31,991
Office Version
365
Platform
Windows
Select all the data & use this formula
=$A1<>""

where A1 is the first cell in the applies to range
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
31,991
Office Version
365
Platform
Windows
You're welcome & thanks for the feedback
 

Forum statistics

Threads
1,081,543
Messages
5,359,431
Members
400,526
Latest member
Brook1083

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top