+ Reply to Thread
Results 1 to 5 of 5

Just find match and return same

  1. #1
    Registered User
    Join Date
    12-14-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    97

    Smile Just find match and return same

    Hi

    Very simple one, its to do with lottery drawn numbers. B1:B6 are the drawn numbers and A10:A59 are heading number 1 to 49. When draw is out, the relevant number will appear under its relevant heading number.

    Thx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Just find match and return same

    Put this in B10:

    =IF(ISNUMBER(MATCH($A10,B$1:B$6,0)),$A10,"")

    Then copy down to A59.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-14-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    97

    Re: Just find match and return same

    Sorry, I got my col and row mixed up and confused you. Let me do it properly on the sheet, here goes...

    Draw number B8:F8
    Heading numbers: 1 to 49 from G7:SA7
    I did try to use the formula you gave me by changing the cell ref but got it wrong.
    Thx again

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Just find match and return same

    Okay, put this in G8:

    =IF(ISNUMBER(MATCH(G$7,$B$8:$F$8,0)),G$7,"")

    then copy across - probably to BC8.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    12-14-2012
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    97

    Thumbs up Re: Just find match and return same

    Hi Pete

    Thanx for that, does work but when copy down, it all goes funny, just need to remove or add the dollar sign somewhere really.
    Anyway, I don't really know what I have done but works fine now. It just shows 1 when it matches instead of the actual number. It does what I want so thanks again.

+ 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