Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Find out if a Value is Contained in a cell

Ok this should be easy... I've got a 4k plus line spreadsheets with
multiple users that are entering in a parameter that SHOULD have been
the same. However every user has a different appendage to the
parameter. I'm trying to use an if statement to parse the expected
value so things show up correctly in my Pivot table. anyhow here is the
formula that I got to work:

=IF(ISERROR(SEARCH("3GPP",D2,1)),"HSDPA","3GPP")

can someone please help me find a way to see if the cell contains the
text? this works but it is very ugly.

TIA

Die_Another_Day

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Find out if a Value is Contained in a cell

It may be easier to use autofilter to fix the values. Turn on the autofilter
and select Custom Contains 3GPP

This will hide all the rows not containing the string. Next put a common
replacement in and un-used cell, copy it, and paste over the filtered data.

The paste will fix only the visible cells and leave the hidden ones alone.
--
Gary's Student


"Die_Another_Day" wrote:

Ok this should be easy... I've got a 4k plus line spreadsheets with
multiple users that are entering in a parameter that SHOULD have been
the same. However every user has a different appendage to the
parameter. I'm trying to use an if statement to parse the expected
value so things show up correctly in my Pivot table. anyhow here is the
formula that I got to work:

=IF(ISERROR(SEARCH("3GPP",D2,1)),"HSDPA","3GPP")

can someone please help me find a way to see if the cell contains the
text? this works but it is very ugly.

TIA

Die_Another_Day


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Find out if a Value is Contained in a cell

I'm not sure this is much better than the klugy formula I'm already
using. I thought for sure that there was a function to return a partial
match. I just can't find it.

Die_Another_Day

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
Find cell entry contained anywhere within a text string VickiMc Excel Worksheet Functions 2 February 12th 09 03:07 AM
Characters contained in a cell DHallgren Excel Discussion (Misc queries) 3 March 14th 07 03:46 PM
find partial text contained in another cell Jim G Excel Discussion (Misc queries) 1 December 11th 06 12:59 AM
Find & Replace a string contained in a link Matt from GVA Excel Discussion (Misc queries) 3 September 5th 06 01:24 PM
Making a cell self contained. dogangel Excel Discussion (Misc queries) 2 December 21st 04 05:08 PM


All times are GMT +1. The time now is 12:27 AM.

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"