Results 1 to 6 of 6

Help refining a formula - not sure if it needs to VBA or not.

Threaded View

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    Elgin
    MS-Off Ver
    Excel 2013
    Posts
    52

    Help refining a formula - not sure if it needs to VBA or not.

    Hey guys,

    Back again.

    I wanted to try and refine this formula, because it works, but can produce errors pretty easily.

    I have two lists of data. Column A can have multiple values in a cell. Column B will have lots of matching values in Column A, but only one value per cell.

    This is my helper formula. I put this in column E. I need to hit ctrl+shift+enter.
    =MAX(ISNUMBER(SEARCH(B2&",",$A$2:$A$84))*ROW($A$2:$A$84))
    Then I also use this formula in column C. Also ctrl+shift+enter.
    =IF(E2=0,222,SUM(--(FREQUENCY(IF(($E$2:$E$343<=E2)*($E$2:$E$343>0),$E$2:$E$343),$E$2:$E$343)>0)))
    What they do in combination is number the values in column B based on when they are seen in Column A.

    The only problem with this is it looks for ANY matching case. You will see in my example that D1 (column B, row 33) is seen as the same as FD1 (column A, row 12). The same is true for R1 (column B row 48) being seen the same as VR1 (column A, row 36).
    How can I make this so it searches for EXACT cases only? So far my workaround has been to scan the list for data that might be similar and replace it with a different name (FD1 -> FN1) Unfortunately I easily miss stuff when I do that.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Modifying n Refining VBA
    By dineshsachidananda in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-07-2015, 02:56 PM
  2. Refining Price Lists
    By VFSFINANCE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2014, 11:06 AM
  3. Refining VBA Code
    By johannes2008 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2011, 08:37 PM
  4. Refining a Find Statement
    By Jordan Kidd in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-02-2010, 08:06 AM
  5. Formula refining
    By jackandjill in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-23-2010, 08:32 AM
  6. Refining Countif
    By asg2307 in forum Excel General
    Replies: 5
    Last Post: 02-14-2006, 03:20 PM

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