Results 1 to 3 of 3

#value errors

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2011
    Location
    Nantucket, RI
    MS-Off Ver
    Excel 2003
    Posts
    35

    #value errors

    I have a spreadsheet I have been working on.
    I finally have a working solution, but with two issues.

    First, the line is horribly long. I would love to be able to shorten this line so it isnt so cumbersome.
    Second, there are a lot of #VALUE! errors. I would like to make these go away as well.

    I have attached the sample spreadsheet.

    The solution I came up with/stole/borrowed/modified is:
    =SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,1,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")&SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,2,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")&SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,3,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")&SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,4,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")&SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,5,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")&SUBSTITUTE(TRIM(ACONCAT(IF(schedule!$D$3:$D$64=VLOOKUP(A3,Key!$A$3:$F$1000,6,FALSE),TEXT(schedule!$A$3:$A$64,",d-mmm")," ")))," "," ")
    I currently have this pasted through sheet Po, F3 through F103.
    What this should do is look at the value in the corresponding row. Then find that value on the Key sheet in Column A. The first part will use the value in that row, first column. It will look for that value on the schedule sheet and return the date only if it is found. Rinse and repeat for 6 total rows.

    If there is an easier / better way to do this I am certainly open to ideas.
    If there is a way to get the errors to go away, that would be great as well.

    Thanks,
    Anthony
    Attached Files Attached Files
    Last edited by bellicusa; 01-18-2012 at 05:35 PM. Reason: Solved

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