+ Reply to Thread
Results 1 to 3 of 3

If/Lookup Forumla

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    If/Lookup Forumla

    Hi,
    Can anyone help me with a formula please...
    I need a formula to go in column “B” which looks up the contents of Column A and matches it with a table on another sheet “product group”.

    If there is a match I need it to return the contents of the data table (1st column only)

    If there isn’t a match I need it to return “other”

    I have uploaded an example which will explain it better than I have above.

    Any suggestions?
    Paul
    Attached Files Attached Files
    Last edited by pauldaddyadams; 04-10-2012 at 09:10 AM.

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: If/Lookup Forumla

    Try this formula in cell C2 and copy down:

    =IF(COUNTIF('Product Group'!$C$5:$F$22,A2),INDEX('Product Group'!B:B,MAX(INDEX(ROW('Product Group'!$C$5:$F$22)*('Product Group'!$C$5:$F$22=A2),0))),"Doesn't appear in product group sheet")
    Last edited by Andrew-R; 04-10-2012 at 07:45 AM. Reason: Can't spell "Doesn't"

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,702

    Re: If/Lookup Forumla

    Thanks Andrew - worked brilliantly!

+ 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