Hi Please find attached Sheet
=SUM(1/COUNTIF(OFFSET(INDEX(Range,MATCH(A2,Range,0),1),,1,COUNTIF(Range,A2), COUNTA(D1:AC1)-1),OFFSET(INDEX(Range,MATCH(A2,Range,0),1),,1,COUNTIF(Range,A 2),COUNTA(D1:AC1)-1)))-1 Rajan From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of CoRe Sent: Apr/Fri/2012 12:58 To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: formula required for count or count if Hello Lee, PFA! If you have any queries ,give a shout ... On Friday, April 27, 2012 7:30:32 AM UTC+3, lee wrote: hi i have data as in the attached data. i need count of unique values of column A.... i.e i need output as in column AB, AC... pls advise a formula thanks -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ---------------------------------------------------------------------------- -------------------------- To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com
Copy of Book2.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet