+ Reply to Thread
Results 1 to 4 of 4

Lookup cell containing "MR"

  1. #1
    Registered User
    Join Date
    05-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Lookup cell containing "MR"

    Hi All

    I am new to my job and use excel which is very interesting to me . Can somebody tell me if i can make the following manual task automatic in excel . Any help greatly apreciated.

    Task

    Sheet 2 Cell A4 needs to display the results of checking the following in sheet 1.

    Have a list of cells that need to be checked that has txt starting with ME . Cells c4 , h4 , m4 , r4 , c8 . h8 . m8 , r8 etc

    If it finds ME then to check another list of 50 different cells for text "7ft 360" and count the number of occurrences.


    Any help greatly appreciated.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Lookup cell containing "MR"

    I think it would help if you posted a sample workbook for people to see what exactly you want/need and be able to test possible solutions.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-22-2012
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Lookup cell containing "MR"

    Hi Thank you for reply. i attach file for you to look at.

    I need to display in sheet 2 cell d3 how many times it finds string "7ft 360" in sheet 1 that also has the cell before it that starts with M.



    I hope makes sense and hope it can be possible.


    Thanks you
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Lookup cell containing "MR"

    D3: =SUMPRODUCT(--(LEFT(Sheet1!$D$6:$U$124,1)=LEFT($D$1,1)),--(Sheet1!$F$6:$W$124=$C3))
    I3: =SUMPRODUCT(--(LEFT(Sheet1!$D$6:$U$124,1)=LEFT($I$1,1)),--(Sheet1!$F$6:$W$124=$H3))

    and drag both formulae down.


    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1