+ Reply to Thread
Results 1 to 8 of 8

"." Period filter for wire number labels

  1. #1
    Registered User
    Join Date
    12-27-2014
    Location
    Rio Rancho, NM
    MS-Off Ver
    Office 2010
    Posts
    43

    "." Period filter for wire number labels

    Hello, once again I have a difficult (for me) issue to figure out.

    Is there a way to have a column with random width data with some fields having decimal point values, and have ability sort/filter so that data with decimal point doesn't show up?

    Background:
    I have a list of wire numbers in this format: xxx-xx-xx.x , where Room-Bundle-Wire.Leg
    Most of labels are 8 or 9 positions long where we have IDs such as:
    002-01-2
    002-02-01

    But I also have trunk or distribution #s that look like this:
    Patch # Patch Name
    006-01 Coax 8 Position block in SMC1
    006-02 48 Port Network Patch Panel in SMC1
    008-01 Home Theater 24 Port Cat5e Patch Panel

    The only constant is that the decimal point separates the unique wire from a leg number.
    When determining # of patch panels, or drops, I don't need to see the leg.

    So I may have a wire that goes from 3nd bedroom room (203), 2nd drop (02), and is 5 wire in the bundle (05).
    That would be 203-02-5 or 203-02-05

    Anything that plugs into this wire (or jack) would get a .x extension.
    So if this was a network wires, PC to wall jack might be 203-02-05.1
    In equipment room, patch panel to network switch might be 203-02-05.2


    When printing wire lists or drop lists, I would like to hide the leg numbers (not show any rows with *.x)

    Any ideas?

    Thanks,
    Mario
    Last edited by mariomp; 01-09-2016 at 03:29 PM.

  2. #2
    Registered User
    Join Date
    12-27-2014
    Location
    Rio Rancho, NM
    MS-Off Ver
    Office 2010
    Posts
    43

    Re: decimal filter for wire number labels

    Ideally I would have a separate column just for the .x leg feeds and could just sort by that.
    This however presents it's own set of challenges when it comes to printing labels and dealing with existing lists.

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: decimal filter for wire number labels

    It is hard to see what to do. Can you upload a small sample with input and expected output data?
    Quang PT

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: decimal filter for wire number labels

    Is there a way to have a column with random width data with some fields having decimal point values
    I see nothing there with decimals. For something to have real decimals, it 1st needs to be an actual value/number - what you havethere is all text
    Your sample also doesnt really match what you describe - you indicate a format of "xxx-xx-xx.x", yet your samples are 002-01-2/002-02-01 no .x?

    If you want to only show data up to the , you could try a helper with this...
    =LEFT(A1,FIND(".",A1,1)-1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    12-27-2014
    Location
    Rio Rancho, NM
    MS-Off Ver
    Office 2010
    Posts
    43

    Re: decimal filter for wire number labels

    Quote Originally Posted by FDibbins View Post
    I see nothing there with decimals. For something to have real decimals, it 1st needs to be an actual value/number - what you have there is all text
    Your sample also doesn't really match what you describe - you indicate a format of "xxx-xx-xx.x", yet your samples are 002-01-2/002-02-01 no .x?

    If you want to only show data up to the , you could try a helper with this...
    =LEFT(A1,FIND(".",A1,1)-1)
    Ford, you're absolutely correct. I don't have numbers. I have a string using digits.
    You're also right that it's not really a decimal point.
    In this example: 203-02-05.2 I'm using a "." period to separate main wire run from shorter, legs of said wire as patch cables.

    With that said, how can I use your formula as a filter?
    Could I do something like "if period=true then Yes" or any other qualifier?
    That way I can have a separate column that I can choose if I want to see lines with a string that contains a period or not.

  6. #6
    Registered User
    Join Date
    12-27-2014
    Location
    Rio Rancho, NM
    MS-Off Ver
    Office 2010
    Posts
    43

    Re: decimal filter for wire number labels

    Quote Originally Posted by bebo021999 View Post
    It is hard to see what to do. Can you upload a small sample with input and expected output data?
    Absolutely.Wiring Example.xlsx
    I've shorten the file significantly.
    This example shows different string lengths (A2, A8, A15, A25) as well as the lines in question that I would like to sometimes omit in reports, printouts, etc.
    Rows A77, A83, A84 are examples of the ones I would like to be able to omit (hide).

    I just realized that I can use the "sort --> Text Filters --> Does Not Contain..." to filter out any lines that do not contain "." period.
    If all else is too difficult to figure out or implement, I'll resort to this method.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: decimal filter for wire number labels

    In a separate column, if all you want is an indicator that the dot is there, maybe something like...
    =IF(ISERROR(SEARCH(".",A1,1)),"No","Yes")

  8. #8
    Registered User
    Join Date
    12-27-2014
    Location
    Rio Rancho, NM
    MS-Off Ver
    Office 2010
    Posts
    43

    Re: decimal filter for wire number labels

    Quote Originally Posted by FDibbins View Post
    In a separate column, if all you want is an indicator that the dot is there, maybe something like...
    =IF(ISERROR(SEARCH(".",A1,1)),"No","Yes")
    You are the MAN!
    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 02-11-2015, 11:46 PM
  2. [SOLVED] copy number with 3 or more decimal places and paste the actual value as 2 decimal number
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-29-2013, 12:57 AM
  3. Down to the wire...
    By lvanroos in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-05-2013, 02:36 PM
  4. Duplicate Report Filter and Row Labels Filter Across Multiple Pivot Tables
    By tash in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 05:32 PM
  5. Replies: 2
    Last Post: 06-29-2012, 07:52 PM
  6. Paste two decimal number in excel without extra decimal places appearing
    By jeffery_frick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 07:49 PM
  7. Replies: 3
    Last Post: 03-18-2006, 02:25 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