+ Reply to Thread
Results 1 to 2 of 2

Autofill question

Hybrid View

  1. #1
    Registered User
    Join Date
    08-16-2006
    Posts
    1

    Autofill question

    Hi,

    I'm trying to do this

    ---------------------------
    |     B    |	   C	  |	
    |-------------------------|
    | vic      |	vic2fxs	  |	when I write vic2fxs in the C column it autofill B column with vic
    | vic      |	vic2bri	  |	when I write vic2bri in the C column it autofill B column with vic
    | vic      |	vic4fxs	  |	when I write vic4fxs in the C column it autofill B column with vic
    | wic      |	wic1-enet |	when I write wic-1-enet in the C column it autofill B column with wic
    | switch   |	sw2950	  |	when I write sw2950 in the C column it autofill B column with switch
    ---------------------------
    Help me to resolve this question...and sorry for my english

    Thanks
    Last edited by darksides; 08-16-2006 at 10:48 AM.

  2. #2
    Die_Another_Day
    Guest

    Re: Autofill question

    This can be done without code:
    B1 = "=If(C1 = "","",If(Left(C1,2) = "sw","switch",Left(C1,3))"

    HTH

    Charles

    darksides wrote:
    > Hi,
    >
    > I'm trying to do this
    >
    >
    > Code:
    > --------------------
    >
    > ---------------------------
    > | B | C |
    > |-------------------------|
    > | vic | vic2fxs | when I write vic2fxs in the C column it autofill B column with vic
    > | vic | vic2bri | when I write vic2bri in the C column it autofill B column with vic
    > | vic | vic4fxs | when I write vic4fxs in the C column it autofill B column with vic
    > | wic | wic1-enet | when I write wic-1-enet in the C column it autofill B column with wic
    > | switch | sw2950 | when I write sw2950 in the C column it autofill B column with switch
    > ---------------------------
    >
    > --------------------
    >
    >
    > Help me to resolve this question...and sorry for my english
    >
    > Thanks
    >
    >
    > --
    > darksides
    > ------------------------------------------------------------------------
    > darksides's Profile: http://www.excelforum.com/member.php...o&userid=37595
    > View this thread: http://www.excelforum.com/showthread...hreadid=572211



+ Reply to Thread

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