WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Find data to the Right of...

 
   Home -> Office -> Worksheet Functions RSS
Next:  Multiple Sumif conditions  
Author Message
Mike R.

External


Since: Sep 16, 2007
Posts: 5



(Msg. 1) Posted: Mon Aug 18, 2008 9:05 am
Post subject: Find data to the Right of...
Archived from groups: microsoft>public>excel>worksheet>functions (more info?)

Hi -
I have a cell with data in which I am trying to pull the data from the right
of a colon. The challenge I am facing is the data may have more than one
colon. I only want the data to the right of the last colon.
help.
Mike
Back to top
Login to vote
Mike H

External


Since: May 24, 2006
Posts: 4671



(Msg. 2) Posted: Mon Aug 18, 2008 9:14 am
Post subject: RE: Find data to the Right of... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

try

=MID(SUBSTITUTE(A1,":","^",LEN(A1)-LEN(SUBSTITUTE(A1,":",""))),FIND("^",SUBSTITUTE(A1,":","^",LEN(A1)-LEN(SUBSTITUTE(A1,":",""))))+1,256)

Mike

"Mike R." wrote:

> Hi -
> I have a cell with data in which I am trying to pull the data from the right
> of a colon. The challenge I am facing is the data may have more than one
> colon. I only want the data to the right of the last colon.
> help.
> Mike
Back to top
Login to vote
Ron Rosenfeld

External


Since: Aug 26, 2003
Posts: 4172



(Msg. 3) Posted: Mon Aug 18, 2008 1:50 pm
Post subject: Re: Find data to the Right of... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 18 Aug 2008 09:05:01 -0700, Mike R. <MikeR.TakeThisOut@discussions.microsoft.com>
wrote:

>Hi -
>I have a cell with data in which I am trying to pull the data from the right
>of a colon. The challenge I am facing is the data may have more than one
>colon. I only want the data to the right of the last colon.
>help.
>Mike


=TRIM(RIGHT(SUBSTITUTE(TRIM(A1),":",REPT(" ",99)),99))

If the string you are returning might be longer than 99 characters, increase
that value appropriately in both sections. e.g:

=TRIM(RIGHT(SUBSTITUTE(TRIM(A1),":",REPT(" ",1024)),1024))

--ron
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Worksheet Functions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET