Blank Row with unique formula

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
764
Office Version
  1. 365
Platform
  1. Windows
HI

Is it possible to have a blank row between each result when using a Unique or Filter Formula

E.G. In example below in column A I have a list of things. In D1 I have a regular formula =UNIQUE(A1:A10)
Is it possible using the formula to get the list from Col D with a blank row between the results i.e. Col F

ABCDEF
1​
catcatcat
2​
dogdog
3​
catbadgerdog
4​
badgerant
5​
antbadger
6​
7​
ant
8​
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,852
Office Version
  1. 365
Platform
  1. Windows
Do you want to be able to insert values into those blank rows?
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
764
Office Version
  1. 365
Platform
  1. Windows
No. Just to have a blank cell after each result
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,852
Office Version
  1. 365
Platform
  1. Windows
Ok, how about
+Fluff 1.xlsm
ABC
1catcat
2dog
3catdog
4badger
5antbadger
6
7ant
8
Main
Cell Formulas
RangeFormula
C1:C7C1=LET(u,UNIQUE(FILTER(A1:A10,A1:A10<>"")),s,SEQUENCE(ROWS(u)*2-1,,,0.5),IF(MOD(s,1)<>0,"",INDEX(u,s)))
Dynamic array formulas.
 

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
764
Office Version
  1. 365
Platform
  1. Windows
Thanks, but unfortunately we don't have the LET function yet
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,852
Office Version
  1. 365
Platform
  1. Windows
Not a problem, just makes the formula longer.
Excel Formula:
=IF(MOD(SEQUENCE(ROWS(UNIQUE(FILTER(A1:A10,A1:A10<>"")))*2-1,,,0.5),1)<>0,"",INDEX(UNIQUE(FILTER(A1:A10,A1:A10<>"")),SEQUENCE(ROWS(UNIQUE(FILTER(A1:A10,A1:A10<>"")))*2-1,,,0.5)))
 
Solution

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
764
Office Version
  1. 365
Platform
  1. Windows
Thanks Fluff worked exactly as needed (y)
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
77,852
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,176,500
Messages
5,903,418
Members
435,029
Latest member
excelvbanoob420

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
Top