Excel Formula Help

ststern45

Well-known Member
Joined
Sep 17, 2005
Messages
961
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hello,

I have the following values starting in cell A1 through A10
A1 = 0
A2 = 1
A3 = 2
A4 = 3
A5 = 4
A6 = 5
A7 = 6
A8 = 7
A9 = 8
A10 = 9

Starting in Cell A11 I enter the following values:
A11 = 0
A12 = 1
A13 = 8
A14 = 4
A15 = 7
A16 = 2

If I take the values in cell range A11 through A16 and remove the values from A1 through A10

3
5
6
9
0
1
8
4
7
2

Enter the new formula starting in cell B11 going down?

Thank you in advance.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Not entirely clear to me what your expected answer is.
Do you just want to list the values from A1:A10 that are not in A11:A16?
 
Upvote 0
Sorry for the confusion.
The starting list is: 0,1,2,3,4,5,6,7,8,9
If I take the value zero (0) (A11) and remove it from the list in A1 through A10 (0,1,2,3,4,5,6,7,8,9) the new string would be: 1,2,3,4,5,6,7,8,9,0
If I take the value 1 (A12) and remove it, the new list: 2,3,4,5,6,7,8,9,0,1
If I take the value 8 (A13) and remove it, the new list: 2,3,4,5,6,7,9,0,1,8
If I take the value 4 (A14) and remove it, the new list: 2,3,5,6,7,9,0,1,8,4
If I take the value 7 (A15) and remove it, the new list: 2,3,5,6,9,0,1,8,4,7
If I take the value 2 (A16) and remove it, the new list: 3,5,6,9,0,1,8,4,7,2 (most current string)
Hope this explains things better.
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
AB
10
21
32
43
54
65
76
87
98
109
1103
1215
1386
1449
1570
1621
178
184
197
202
21
Master
Cell Formulas
RangeFormula
B11:B20B11=IFERROR(AGGREGATE(15,6,$A$1:$A$10/(COUNTIFS($A$11:$A$16,$A$1:$A$10)=0),ROWS(B$11:B11)),INDEX($A$11:$A$16,ROWS(B$11:B11)-4))
 
Upvote 0
Solution
I guess my next question is what if I keep adding values past cell A16. The values would be between 0 through 9)
Thank you again.
 
Upvote 0
How about
Excel Formula:
=IFERROR(AGGREGATE(15,6,$A$1:$A$10/(COUNTIFS($A$11:$A$20,$A$1:$A$10)=0),ROWS(B$11:B11)),INDEX($A$11:$A$20,ROWS(B$11:B11)-(10-COUNT($A$11:$A$20))))
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,992
Messages
6,122,631
Members
449,095
Latest member
bsb1122

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