Results 1 to 7 of 7

Looking to prevent duplicate text in cell

Threaded View

  1. #1
    Registered User
    Join Date
    02-20-2009
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    92

    Looking to prevent duplicate text in cell

    Hello everyone,

    Before I explain the problem I'm looking to solve, I'd like to say thanks and I appreciate all the help I've gotten so far on this project I'm working on. This fix should be the last one to complete my project - then pester you guys less frequently.

    I have one main tab which I pull data from other various tabs. To match data the data, I create a "common unique ID", in other words I create a column on each tab and connect various cells with the ampersand.

    So in each of the various tabs (and the main tab), I'll have a column with something like =A2&B2&C3

    If the "unique ID" matches between the tabs it will pull back the desired phrase, or it will be left blank. (Just using an =IF(ISNA) formula)

    If you have followed so far, on my main tab, I have a column for each of the various tabs. The information I am trying to match could be on any of the tabs, so I need a column using an =IF(ISNA) formula to attempt to match each tab. So, on the main tab, there are several columns which might have the phrase I am looking for. I use another ampersand function to add those columns. My problem is that occaisionally, what I am looking for is on multiple tabs. So, if I am normally pulling the phrase "Pending Loans Report" when a match is made, if it is on two tabs, the cell will add it twice "Pending Loans ReportPending Loans Report"

    I realize this is confusing, so I attached a spreadsheet. The "main" tab I was referring to is sheet1. I really simplified it down to post here, but I think the main idea of my problem is still evident. The problem is line 15. Note how column M has "Pending Loans ReportPending Loans Report" - I'd like it to only say this phrase once. The macro pastes special values at the end, but I've highlighted some cells in red which show the formulas I used for that column. Columns N, O, P, Q, etc. all have virtually the same formula.

    If you've managed to follow all this - thanks and give me any suggestions. If you know of a better way to do what I am trying to accomplish, I am all ears.
    Attached Files Attached Files
    Last edited by starcraftbud; 05-11-2009 at 10:14 AM.

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