Need to delete color and no data after blank column

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
883
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I have huge data and i don't want color if it blank cell and also i don't want data if data is available after empty cell.

1. For example, E7 is my last data after that it has a blank cell so i don't want data after that...
2. Also i want to highlight if all scores are same in the same row let assume C6 to H6 has same data 325 in all row then highlighted with yellow

Base_.xlsx
ABCDEFGH
3Overall Results 1Overall Results1265     
4Banner Book 1Age294392287292 951
5Banner Book 2Current Vehicle31484319163160
6Banner Book 3Decision Factors325274162727512280
7Banner Book 4Decision Maker78438843 2687 
Sheet1
Cell Formulas
RangeFormula
C3:H7C3=IF(INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1)=0,"",INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:AJ53Cell Valuecontains """"textNO
C7:AJ7Cell ValueduplicatestextNO
C6:AJ6Cell ValueduplicatestextNO
C5:AJ5Cell ValueduplicatestextNO
C4:AJ4Cell ValueduplicatestextNO
C3:AJ3Cell ValueduplicatestextNO
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
You only need one rule in conditional formatting and adjust the formula:

Dante Amor
ABCDEFGHIJ
3Overall Results 1Overall Results252627282930  
4Banner Book 1Age2525252525   
5Banner Book 2Current Vehicle25       
6Banner Book 3Decision Factors121612     
7Banner Book 4Decision Maker253026     
sh
Cell Formulas
RangeFormula
C3:J7C3=IF(B3="","",IF(INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1)=0,"",INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1)))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:AJ7Expression=AND(COUNTIF($C3:$AJ3,C3)>1,C3<>"")textNO


----- --
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
----- --
 
Upvote 1
Solution
You only need one rule in conditional formatting and adjust the formula:

Dante Amor
ABCDEFGHIJ
3Overall Results 1Overall Results252627282930  
4Banner Book 1Age2525252525   
5Banner Book 2Current Vehicle25       
6Banner Book 3Decision Factors121612     
7Banner Book 4Decision Maker253026     
sh
Cell Formulas
RangeFormula
C3:J7C3=IF(B3="","",IF(INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1)=0,"",INDEX(INDIRECT("'"&$A$2&$A3&"'!A1:IV500"),MATCH($A$1,INDIRECT("'"&$A$2&$A3&"'!A1:A500"),0),C$1)))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:AJ7Expression=AND(COUNTIF($C3:$AJ3,C3)>1,C3<>"")textNO


----- --
Let me know the result and I'll get back to you as soon as I can.
Sincerely
Dante Amor
----- --
Thank you so much, Sir :)

For your support on this:)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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