Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Autofill question


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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofill question Gor_yee Excel Discussion (Misc queries) 2 November 12th 09 10:53 PM
Autofill Question James8309 Excel Worksheet Functions 1 August 24th 08 11:03 AM
Autofill question lob Excel Worksheet Functions 2 February 17th 05 04:07 PM
Q. Autofill question: Can I autofill alpha characters like I can numbers? George[_22_] Excel Programming 5 August 7th 04 10:33 AM
Autofill question Eric Dreshfield Excel Programming 3 September 3rd 03 02:10 PM


All times are GMT +1. The time now is 03:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"