Conditional Format of Row for the Next File to Open

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
348
Office Version
  1. 2013
Platform
  1. Windows
The attached XL2bb Mini Sheet shows in cell A1 the number 21 which is the next blank cell in B column.
I would like to use conditional formatting to highlight the entire row based on the cell number that appears in A1 as a visual guide to open, in this case, Bogus 20 file, to get file content to enter into, in this case, cell D21.
And I would like to do this without using any VBA. Is this possible?
Any help is much appreciated.

BogusData.xlsx
ABCD
121File NameBrief File Content
21üBogus 01Bogus File Content of Bogus File 01
32üBogus 02Bogus File Content of Bogus File 02
43üBogus 03Bogus File Content of Bogus File 03
54üBogus 04Bogus File Content of Bogus File 04
65üBogus 05Bogus File Content of Bogus File 05
76üBogus 06Bogus File Content of Bogus File 06
87üBogus 07Bogus File Content of Bogus File 07
98üBogus 08Bogus File Content of Bogus File 08
109üBogus 09Bogus File Content of Bogus File 09
1110üBogus 10Bogus File Content of Bogus File 10
1211üBogus 11Bogus File Content of Bogus File 11
1312üBogus 12Bogus File Content of Bogus File 12
1413üBogus 13Bogus File Content of Bogus File 13
1514üBogus 14Bogus File Content of Bogus File 14
1615üBogus 15Bogus File Content of Bogus File 15
1716üBogus 16Bogus File Content of Bogus File 16
1817üBogus 17Bogus File Content of Bogus File 17
1918üBogus 18Bogus File Content of Bogus File 18
2019üBogus 19Bogus File Content of Bogus File 19
2120Bogus 20
2221Bogus 21
2322Bogus 22
2423Bogus 23
2524Bogus 24
2625Bogus 25
2726Bogus 26
Sheet1
Cell Formulas
RangeFormula
A1A1=MIN(IF(B2:B109="",ROW(B2:B109)))
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Select a2 to D109 & use this formula in CF
Excel Formula:
=ROW()=$A$1
 
Upvote 0
Solution
Easy Peasy, many thanks Fluff. Works exactly as hoped.
Happy New Year
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
How about another approach to entering the symbol in the B Column when the relevant cell in the A Column is changed to the format that tells me the file has been viewed. It is as you see, a light blue fill, bold purple text, and a red dash cross thru. In other words, for example, as soon as I mark, in this case, cell A21 that shows number 20, as viewed using the “Viewed” cell style, then cell B21 gets the checkmark thus sending the conditional formatting to the next row because cell B20 is blank.

BogusData.xlsx
ABCD
121File NameBrief File Content
21üBogus 01Bogus File Content of Bogus File 01
32üBogus 02Bogus File Content of Bogus File 02
43üBogus 03Bogus File Content of Bogus File 03
54üBogus 04Bogus File Content of Bogus File 04
65üBogus 05Bogus File Content of Bogus File 05
76üBogus 06Bogus File Content of Bogus File 06
87üBogus 07Bogus File Content of Bogus File 07
98üBogus 08Bogus File Content of Bogus File 08
109üBogus 09Bogus File Content of Bogus File 09
1110üBogus 10Bogus File Content of Bogus File 10
1211üBogus 11Bogus File Content of Bogus File 11
1312üBogus 12Bogus File Content of Bogus File 12
1413üBogus 13Bogus File Content of Bogus File 13
1514üBogus 14Bogus File Content of Bogus File 14
1615üBogus 15Bogus File Content of Bogus File 15
1716üBogus 16Bogus File Content of Bogus File 16
1817üBogus 17Bogus File Content of Bogus File 17
1918üBogus 18Bogus File Content of Bogus File 18
2019üBogus 19Bogus File Content of Bogus File 19
2120Bogus 20
2221Bogus 21
2322Bogus 22
2423Bogus 23
2524Bogus 24
2625Bogus 25
2726Bogus 26
Sheet1
Cell Formulas
RangeFormula
A1A1=MIN(IF(B2:B109="",ROW(B2:B109)))
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Attachments

  • Viewed.png
    Viewed.png
    14.5 KB · Views: 19
Upvote 0
Conditional formatting cannot put a value in a cell, just change the way it's displayed.
 
Upvote 0
View attachment 54228
Conditional formatting cannot put a value in a cell, just change the way it's displayed.
Okay, forget to do any conditional formatting but just be able to enter the symbol in the B Column when the relevant cell in the A Column is changed by the user via cell style to the format that tells me the file has been viewed, as seen in the attached image.
Does this make sense? What I want is not to have to manually insert the checkmark symbol each time a file is opened and viewed but that the insertion of the checkmark happens automatically when a cell in A Column has the cell style applied manually.
 

Attachments

  • Viewed.png
    Viewed.png
    14.5 KB · Views: 23
Upvote 0
No direct to way, as there is no way of knowing if the cell style has changed.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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