Thanks for replying quickly. I just have a quick question. When I change cell D12, then, I get two of the same part numbers on cells H5 and H6. I used your sheet.
Thanks for replying quickly. I just have a quick question. When I change cell D12, then, I get two of the same part numbers on cells H5 and H6. I used your sheet.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
AlKey, I think mc wants to return both part numbers with duplicate amounts.
Dave
This is one way.
Array-enter this formula in F3 and fill down.Then in H3 this array formula.Formula:![]()
=IFERROR(INDEX($B$3:$B$15,SMALL(IF(G3=$D$3:$D$15,ROW($B$3:$B$15)-MIN(ROW($B$3:$B$15))+1),COUNTIF($G$3:G3,G3))),"")and fill down.Formula:![]()
=IFERROR(INDEX($B$3:$B$15,SMALL(IF(I3=$D$3:$D$15,ROW($B$3:$B$15)-MIN(ROW($B$3:$B$15))+1),COUNTIF($I$3:I3,I3))),"")
If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
Thank you so much. I got it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks