+ Reply to Thread
Results 1 to 6 of 6

Finding a matching value & returning another value

  1. #1
    Registered User
    Join Date
    12-30-2008
    Location
    Nevada City, CA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Finding a matching value & returning another value

    I am a novice at this, but I need to search through a set of workbook pages, compare an activity code from one column, then return the number of hours next to it to another location. Ideally I'd like to summarize all of it on a separate page, but I'll settle for each page.

    See the attached for my start at setting it up. I've placed a column under each numbered category and was trying to compare the Activity Code from D to the numbers in the column and returning the hours if there is a match.

    If there's an easier way, please share. Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Finding a matching value & returning another value

    Hi

    Does this help?

    Please Login or Register  to view this content.

    rylo

  3. #3
    Registered User
    Join Date
    12-30-2008
    Location
    Nevada City, CA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Finding a matching value & returning another value

    Maybe what I'm trying to do is easier than I thought.

    I've entered this formula, but can only get it to return the false, not the value it's referring to in $E4

    =IF($D4='NCARB CODES'!H4:H18,$E4,0)

    I've also tried =OR...

    Thanks for the help.

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Finding a matching value & returning another value

    Hi

    1) There is no 'NCARB CODES' sheet in your example file, so I've got no idea what this is referencing.

    2) Have you array entered the formula? You will need to, and then extract the max value from the resulting array result.

    If you really want to have a formula result for this, then can you move the post to the Worksheet Functions sub forum. You may get more formula type options there.

    rylo

  5. #5
    Registered User
    Join Date
    12-30-2008
    Location
    Nevada City, CA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Finding a matching value & returning another value

    Sorry, I changed hrses in the middle of the stream...


    here's the latest.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Finding a matching value & returning another value

    Hi

    Try

    =IF(ISNA(MATCH($D4,'NCARB CODES'!H$4:H$18,0)),0,$E4)
    rylo

+ 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