Horizontal Formula

Geo Jul

Board Regular
Joined
Nov 19, 2022
Messages
125
Office Version
  1. 2016
Platform
  1. Windows
Dear All, May I kindly request that you help me with this formula?
my request to amend my formula to be used as horizontal
result
=IFERROR(INDEX($A$2:$A$15,MATCH(0,COUNTIF(K$8:K8,$A$2:$A$15),0),1),"")
as in our office, we use Excel 2016
Many thanks in advance
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Your formula returns a single number.

It uses two vertical ranges.

What you do mean by "used as horizontal"?
 
Upvote 0

Attachments

  • Screenshot (923).png
    Screenshot (923).png
    24.2 KB · Views: 7
Upvote 0
If you are using Excel 365 please use this formula in D15:
Excel Formula:
=TRANSPOSE(UNIQUE($A$2:$A$15))

$scratch.xlsm
ABCDEFGHIJKL
1Product Code
2Product 10
3Product 16
4Product 9
5Product 20
6Product 7
7Product 3
8Product 19
9Product 19
10Product 12
11Product 10
12Product 12
13Product 10
14Product 18
15Product 3Product 10Product 16Product 9Product 20Product 7Product 3Product 19Product 12Product 18
Sheet12
Cell Formulas
RangeFormula
D15:L15D15=TRANSPOSE(UNIQUE($A$2:$A$15))
Dynamic array formulas.
 
Upvote 0
as in our office, we use Excel 2016
With 2016, this should work for you:
Book1
ABCDEFGHIJ
1Product Code
2Product 2
3Product 9Product 2
4Product 13Product 9
5Product 4Product 13
6Product 7Product 4
7Product 3Product 7
8Product 2Product 3
9Product 3Product 19
10Product 7 
11Product 19 
12Product 4
13Product 13
14Product 9
15Product 19Product 2Product 9Product 13Product 4Product 7Product 3Product 19 
16
Sheet1
Cell Formulas
RangeFormula
C3:C11C3=IFERROR(INDEX($A$2:$A$15,MATCH(0,COUNTIF(C$2:C2,$A$2:$A$15),0),1),"")
C15:J15C15=IFERROR(INDEX($A$2:$A$15,MATCH(0,COUNTIF($B15:B15,$A$2:$A$15),0),1),"")
 
Upvote 1
I missed that, I just looked at 365 in the user profile.
 
Upvote 0

Forum statistics

Threads
1,216,180
Messages
6,129,341
Members
449,505
Latest member
Alan the procrastinator

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