+ Reply to Thread
Results 1 to 14 of 14

How to lookup values between a delimiter and replace based on range?

Hybrid View

cda How to lookup values between... 10-22-2010, 11:25 AM
StephenR Re: How to lookup values... 10-22-2010, 11:57 AM
cda Re: How to lookup values... 10-22-2010, 03:18 PM
StephenR Re: How to lookup values... 10-22-2010, 04:06 PM
cda Re: How to lookup values... 10-22-2010, 04:07 PM
StephenR Re: How to lookup values... 10-22-2010, 04:09 PM
cda Re: How to lookup values... 10-22-2010, 04:26 PM
StephenR Re: How to lookup values... 10-22-2010, 06:01 PM
cda Re: How to lookup values... 10-25-2010, 09:40 AM
StephenR Re: How to lookup values... 10-25-2010, 10:13 AM
cda Re: How to lookup values... 10-25-2010, 10:32 AM
StephenR Re: How to lookup values... 10-25-2010, 11:53 AM
cda Re: How to lookup values... 10-25-2010, 12:03 PM
line4xl Re: How to lookup values... 03-06-2011, 04:34 PM
  1. #1
    Registered User
    Join Date
    10-22-2010
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: How to lookup values between a delimiter and replace based on range?

    I apologize for not explaining better. I hope this makes more sense.

    I thought that the values were not being written in Column C if an ID from Column B was referenced and didn't exist.

    What I didn't realize until I physically clicked in one of the cells is that it's writing the values, but for some reason the values in the cell are not visible unless I click on it; then, the value is only visible in the formula bar. I've tried changing the formatting of the affected cells and I still can't see them, however if I copy the cell to another worksheet, it becomes visible. Strange, but it can be overcome by copy/paste.

    What I can't seem to overcome is if one of the id's doesn't exist, the function isn't inserting a comma between the values that do exist. I've uploaded a range of cells that I copied from the master sheet. On row 33 you can see that Part Numbers 8703 & 8704 were copied, but no comma was inserted between them.

    Looking at the code I can see that you're splitting the values between the semi-colons, doing the lookup, then on line 9 inserting a comma between the returned values. For some reason this isn't working when one of the id's doesn't exist. I'm not sure where to begin to fix that.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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