Help with formula

punit83

Board Regular
Joined
Jan 17, 2018
Messages
66
Office Version
  1. 2019
Platform
  1. Windows
Hello,

pls guide me with formula with index&match with model # to reflect unique item in size (few items size are not sorted but don't want reflect duplicate size)
i have more than 20k thousand row data for which cannot go thru individual item.


1704131143250.png


Thanx in advance.
( i am newbie)
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Is it something like this that you are after?

24 01 02.xlsm
CDEFGH
1
2
31mm1mm
44mm4mm
53mm3mm
62mm2mm
75mm5mm
84mm 
95mm 
104mm 
Unique
Cell Formulas
RangeFormula
H3:H10H3=IFERROR(INDEX(C$3:C$10,MATCH(0,INDEX(COUNTIF(H$2:H2,C$3:C$10),0),0)),"")
 
Upvote 0
Is it something like this that you are after?

24 01 02.xlsm
CDEFGH
1
2
31mm1mm
44mm4mm
53mm3mm
62mm2mm
75mm5mm
84mm 
95mm 
104mm 
Unique
Cell Formulas
RangeFormula
H3:H10H3=IFERROR(INDEX(C$3:C$10,MATCH(0,INDEX(COUNTIF(H$2:H2,C$3:C$10),0),0)),"")
Hello,

Thanx for reply

formula worked half for me but need more specific, i am attaching excel for reference. Pls have a look for it
every model no need individual result output

24 01 02.xlsx
ABCDEFGHI
1DataOutput Result
2Item #Model #SizeItem #Model #Size
31PDB1033-11mm1mm1PDB1033-11mm
4PDB1033-14mm4mmPDB1033-14mm
5PDB1033-13mm3mmPDB1033-13mm
6PDB1033-12mm2mmPDB1033-12mm
7PDB1033-15mm5mmPDB1033-15mm
8PDB1033-14mm0
9PDB1033-15mm6x4
10PDB1033-14mm5x4
114x6
122PDB1033-21mm3x62PDB1033-21mm
13PDB1033-22mm6x3PDB1033-22mm
14PDB1033-23mm#N/APDB1033-23mm
15PDB1033-22mm#N/APDB1033-24mm
16PDB1033-23mm#N/APDB1033-25mm
17PDB1033-24mm#N/A
18PDB1033-25mm#N/A
19PDB1033-24mm#N/A
20#N/A
213PDB1033-36x4#N/A3PDB1033-36x4
22PDB1033-35x4#N/APDB1033-35x4
23PDB1033-34x6#N/APDB1033-34x6
24PDB1033-34x6#N/APDB1033-33x6
25PDB1033-35x4#N/APDB1033-36x3
26PDB1033-36x4#N/A
27PDB1033-33x6#N/A
28PDB1033-36x3#N/A
29
Sheet1
Cell Formulas
RangeFormula
E3:E28E3=INDEX(C$3:C$28,MATCH(0,INDEX(COUNTIF(E$2:E2,C$3:C$28),0),0))
 
Upvote 0
  1. For what you have shown in post #3, please state exactly which cells you require formula for.

  2. If required, would it be acceptable to use helper columns?
 
Upvote 0
  1. For what you have shown in post #3, please state exactly which cells you require formula for.

  2. If required, would it be acceptable to use helper columns?
In coloumn E i want to use the formula.
i want unique size based on all individual model number

yes sir helper columns is also acceptable
 
Upvote 0
In coloumn E i want to use the formula.
:confused: But column E does not contain the results that you want does it? Are you sure that it isn't the results in column I that you want?
Are the values shown in columns G & H already on the sheet?
 
Upvote 0
:confused: But column E does not contain the results that you want does it? Are you sure that it isn't the results in column I that you want?
Are the values shown in columns G & H already on the sheet?
Sorry sir

i think i am not manage to explain you, so sorry for inconvenience.

Column A to C is my data.
Column E i want to use the formula and get result.

but when item #1 is over i want output result in column in E (as result highlighted column "I" in green)
when item #2 started and getting over i want result in column W only for item # 2, means for every item it extract its unique data in column E.
( for example if you see in E9 the result is from item # 3, Model # PDB1033-3 and i want result against pdb1033-3 between e21 to e28 )
 
Upvote 0
Sorry sir

i think i am not manage to explain you, so sorry for inconvenience.

Column A to C is my data.
Column E i want to use the formula and get result.

but when item #1 is over i want output result in column in E (as result highlighted column "I" in green)
when item #2 started and getting over i want result in column W only for item # 2, means for every item it extract its unique data in column E.
( for example if you see in E9 the result is from item # 3, Model # PDB1033-3 and i want result against pdb1033-3 between e21 to e28 )
 
Upvote 0
I think this does what you want then?

punit83.xlsm
ABCDE
1Data
2Item #Model #SizeResult Size
31PDB1033-11mm1mm
4PDB1033-14mm4mm
5PDB1033-13mm3mm
6PDB1033-12mm2mm
7PDB1033-15mm5mm
8PDB1033-14mm 
9PDB1033-15mm 
10PDB1033-14mm 
11 
122PDB1033-21mm1mm
13PDB1033-22mm2mm
14PDB1033-23mm3mm
15PDB1033-22mm4mm
16PDB1033-23mm5mm
17PDB1033-24mm 
18PDB1033-25mm 
19PDB1033-24mm 
20 
213PDB1033-36x46x4
22PDB1033-35x45x4
23PDB1033-34x64x6
24PDB1033-34x63x6
25PDB1033-35x46x3
26PDB1033-36x4 
27PDB1033-33x6 
28PDB1033-36x3 
Unique (2)
Cell Formulas
RangeFormula
E3:E28E3=IFERROR(INDEX(C3:INDEX(C3:C$100,MATCH(TRUE,C3:C$100="",0)),MATCH(0,INDEX(COUNTIF(INDEX(E:E,AGGREGATE(14,6,ROW(A$3:A3)/(A$3:A3<>""),1)-1):E2,C3:INDEX(C:C,AGGREGATE(15,6,ROW(C3:C$100)/(C3:C$100=""),1)-1)),0),0)),"")
 
Upvote 0
Solution
I think this does what you want then?

punit83.xlsm
ABCDE
1Data
2Item #Model #SizeResult Size
31PDB1033-11mm1mm
4PDB1033-14mm4mm
5PDB1033-13mm3mm
6PDB1033-12mm2mm
7PDB1033-15mm5mm
8PDB1033-14mm 
9PDB1033-15mm 
10PDB1033-14mm 
11 
122PDB1033-21mm1mm
13PDB1033-22mm2mm
14PDB1033-23mm3mm
15PDB1033-22mm4mm
16PDB1033-23mm5mm
17PDB1033-24mm 
18PDB1033-25mm 
19PDB1033-24mm 
20 
213PDB1033-36x46x4
22PDB1033-35x45x4
23PDB1033-34x64x6
24PDB1033-34x63x6
25PDB1033-35x46x3
26PDB1033-36x4 
27PDB1033-33x6 
28PDB1033-36x3 
Unique (2)
Cell Formulas
RangeFormula
E3:E28E3=IFERROR(INDEX(C3:INDEX(C3:C$100,MATCH(TRUE,C3:C$100="",0)),MATCH(0,INDEX(COUNTIF(INDEX(E:E,AGGREGATE(14,6,ROW(A$3:A3)/(A$3:A3<>""),1)-1):E2,C3:INDEX(C:C,AGGREGATE(15,6,ROW(C3:C$100)/(C3:C$100=""),1)-1)),0),0)),"")
Thank you Sir, This exactly what i needed. Worked...... :) :) :)
 
Upvote 0

Forum statistics

Threads
1,215,363
Messages
6,124,505
Members
449,166
Latest member
hokjock

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