PC Review


Reply
Thread Tools Rate Thread

conditionally copying cells

 
 
=?Utf-8?B?Um9u?=
Guest
Posts: n/a
 
      9th Oct 2006
Thanks to some great help last week, I am using the below formula to
conditionally copy the contents of cells.

=IF(ISNUMBER(SEARCH("[ Named",C[4])),C[4],"")

I need to expand on this by limiting what is copied from C[4]. I still need
to conditionally copy the contents of the 4th cell over, but I need to ignore
the first 20 characters AND the last 2 characters.

My input data looks like:
[ Named Symbology - T_Gas Meter High Pressure ]
001Default TextTextSymbology
002Default PointPointSymbology

[ Named Symbology - T_Gas Misc ]
001Default TextTextSymbology
002Default PointPointSymbology

[ Named Symbology - T_Gas Valve High Pressure ]
001Default TextTextSymbology
002Default PointPointSymbology

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      9th Oct 2006
You have lots of replies at your other post.

Ron wrote:
>
> Thanks to some great help last week, I am using the below formula to
> conditionally copy the contents of cells.
>
> =IF(ISNUMBER(SEARCH("[ Named",C[4])),C[4],"")
>
> I need to expand on this by limiting what is copied from C[4]. I still need
> to conditionally copy the contents of the 4th cell over, but I need to ignore
> the first 20 characters AND the last 2 characters.
>
> My input data looks like:
> [ Named Symbology - T_Gas Meter High Pressure ]
> 001Default TextTextSymbology
> 002Default PointPointSymbology
>
> [ Named Symbology - T_Gas Misc ]
> 001Default TextTextSymbology
> 002Default PointPointSymbology
>
> [ Named Symbology - T_Gas Valve High Pressure ]
> 001Default TextTextSymbology
> 002Default PointPointSymbology


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
conditionally formatting cells based on other cells Derrick Microsoft Excel Misc 1 7th Jul 2009 09:43 PM
Conditionally format cells Jose Ruben Gonzalez-Baird Microsoft Excel Programming 3 8th Jan 2008 01:36 AM
Copying a format that has been conditionally formated =?Utf-8?B?dGFsb21hNzE1?= Microsoft Excel Misc 1 14th Jan 2006 03:07 PM
selecting or copying columns conditionally busyman5_au Microsoft Excel New Users 2 23rd Feb 2004 03:21 AM
Copying image to cell - conditionally Mike Microsoft Excel Misc 1 26th Sep 2003 07:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:02 PM.