in ab1 =if(countif(a1:t1,aa1)>0,countif(a1:t1,aa1),"")
On Fri, Feb 3, 2012 at 10:30 AM, qcan <comeonove...@gmail.com> wrote: > Hi, > > Not sure how to do this. > > Looking for a formula (preferably) or a macro to find a number in a > row. Kind of like a "loto checker". > > In this case..... > > - There are 20 columns per row. (A1 to T1) > - Numbers are not neccesarily sorted. > - There could possibly be the same number showing up multiple times > within the 20 columns being checked. > - Would like to be able to enter the number to be checked in cell > AA1. > - Would like the counter to be returned in cell AB1 if/when a match > has been encountered. > - Leave blank (not zero) if number is not found. > > Many 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 > -- *****Great day,* *viper* -- 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