Use data from unique formula for another formula and have the same number of rows

CV12

Board Regular
Joined
Apr 6, 2020
Messages
82
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello,

In this sheet I am using the unique formula to find unique values in column A. The unique values are stored in column E. Now in column F I would like to have the unique value +1 (Just to keep it simple in this example).
Is there a way to always have the same number of rows? If the unique values are 20 rows for example, I would like to have 20 rows exactly in column F to.

Thanks in advance!

Book2
ABCDEFG
1112
2223
3334
4445
5556
6667
7778
8889
99910
10101011
11111112
121212x
131313x
141414x
151515x
160x
17
Sheet1
Cell Formulas
RangeFormula
E1:E16E1=UNIQUE(A1:A40)
F1:F11F1=SUM(E1+1)
Dynamic array formulas.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
How about:

= IF(E1<>"",E1+1,"")

Drag that formula down the F column as far as you might expect to see results in the E column.
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEF
1112
2223
3334
4445
5556
6667
7778
8889
99910
10101011
11111112
12121213
13131314
14141415
15151516
16
Main
Cell Formulas
RangeFormula
E1:E15E1=UNIQUE(FILTER(A1:A40,A1:A40<>""))
F1:F15F1=E1#+1
Dynamic array formulas.
 
Upvote 0
Solution
Adding the # was the simple issue, thanks Fluff!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,483
Members
448,967
Latest member
visheshkotha

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