Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel formula help

Thread Tools
 
Search this Thread
 
Old Apr 23, 2009 | 11:18 AM
  #1  
druddle's Avatar
druddle
Thread Starter
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
Default Excel formula help

Hello all

I have a spreadsheet with column A, cell 1 with some text in it in the form "servername_win2k3.lun". I am trying to work out how to automatically fill in column B, cell 1 with "servername_win2k3.qt" by copying the data in column A, cell 1 and replacing .lun with .qt .

Anyone know how I might be able to do this ?

Dave
Reply
Old Apr 23, 2009 | 11:31 AM
  #2  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Default

=SUBSTITUTE(A1,"lun","qt")

. . . should do it fine Dave.
Reply
Old Apr 23, 2009 | 11:33 AM
  #3  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Default

Or =SUBSTITUTE(A1,".lun",".qt")

in case 'lun' appears in the filename somewhere else.
Reply
Old Apr 23, 2009 | 11:36 AM
  #4  
druddle's Avatar
druddle
Thread Starter
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
Default

Spot on, thanks Dunk
Reply
Old Apr 23, 2009 | 08:17 PM
  #5  
hodgy0_2's Avatar
hodgy0_2
Scooby Regular
15 Year Member
Liked
Loved
Community Favorite
 
Joined: Jul 2008
Posts: 15,634
Likes: 22
From: K
Default

or the concatenate comand
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
leg200
Subaru Parts
5
Oct 7, 2015 07:31 AM
Ganz1983
Subaru
5
Oct 2, 2015 09:22 AM




All times are GMT +1. The time now is 06:13 AM.