View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam via OfficeKB.com Sam via OfficeKB.com is offline
external usenet poster
 
Posts: 247
Default Return Unique Consecutive Duplicate Values across Single Row

Hi Ron,

Thanks for reply. Even with Sample Data starting in cell A1 and using your
original version of the Formula I still get #N/A?

Ron Coderre wrote:
Not sure why you're getting errors.....


If anything comes to mind would appreciate further help.

I used your posted data table, beginning in A1
Maybe you have column headings in Row_1?


Yes, I just mentioned in my previous post my Data starts in Column "D", Row
"2". Row "1" has Text Labels. I think I've made the necessary adjustments for
that but I'm still getting #N/A.

If that's the case and the data range is in A2:H8
then these are the formulas


A11:
=LARGE(INDEX((FREQUENCY(($A$2:$H$8+COLUMN($A$2:$H $8)*1000),($A$2:$H$8+COLUMN($A$2:$H$8)*1000))1)*R OW($A$1:INDEX($A:$A,COUNT($A$2:$H$8)+1)),0),COLUMN S($A$11:A11))


A12: =INDEX($A$2:$H$8,CEILING(A11/8,1),MOD(A11-1,8)+1)


Does that help?
***********
Regards,
Ron

XL2002, WinXP


Cheers,
Sam

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200702/1