A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Need help with a formula



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2010, 08:07 PM posted to microsoft.public.word.docmanagement
mike
external usenet poster
 
Posts: 3,942
Default Need help with a formula

I am trying to find a formula to search for text in a range of cells that if
found it would return data in another cell. For instance, Retun Jones in the
Sunday cell in the XXXX cell and so on. Also Tuesday it would return Doe and
Jones in the SA 61/1 XXXX cell on Monday.

Name Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Smith W T DO DO W
PT 60 PT 61/1
Doe T PT 61/1 PT 60 PT 61/1 DO DO
W
Jones PT 60 PT 61/1 W T PT 60 PT
61/1 W

PT 60 XXXX XXXX XXXX XXXX XXXX XXXX XXXX
PT61/1 XXXX XXXX XXXX XXXX XXXX XXXX XXXX
  #2  
Old April 15th, 2010, 02:21 AM posted to microsoft.public.word.docmanagement
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Need help with a formula

Hi Mike,

It's not possible to test cells containing text with field coding and cell references. You would need to bookmark each string (not
the whole cell) for the test. Even then, the ability to test the contents of each bookmark is severely limited and there really is
no practical way (even if there is a feasible way) of doing what you want via field coding. What you want to do is better done via a
macro or in Excel (you could embed an Excel worksheet in your document) via, say, an Index/Match combination.

--
Cheers
macropod
[Microsoft MVP - Word]


"Mike" wrote in message ...
I am trying to find a formula to search for text in a range of cells that if
found it would return data in another cell. For instance, Retun Jones in the
Sunday cell in the XXXX cell and so on. Also Tuesday it would return Doe and
Jones in the SA 61/1 XXXX cell on Monday.

Name Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Smith W T DO DO W
PT 60 PT 61/1
Doe T PT 61/1 PT 60 PT 61/1 DO DO
W
Jones PT 60 PT 61/1 W T PT 60 PT
61/1 W

PT 60 XXXX XXXX XXXX XXXX XXXX XXXX XXXX
PT61/1 XXXX XXXX XXXX XXXX XXXX XXXX XXXX


  #3  
Old April 15th, 2010, 03:08 PM posted to microsoft.public.word.docmanagement
mike
external usenet poster
 
Posts: 3,942
Default Need help with a formula

Thanks,
I'll post it in Excel discussion group.
Mike

"Mike" wrote:

I am trying to find a formula to search for text in a range of cells that if
found it would return data in another cell. For instance, Retun Jones in the
Sunday cell in the XXXX cell and so on. Also Tuesday it would return Doe and
Jones in the SA 61/1 XXXX cell on Monday.

Name Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Smith W T DO DO W
PT 60 PT 61/1
Doe T PT 61/1 PT 60 PT 61/1 DO DO
W
Jones PT 60 PT 61/1 W T PT 60 PT
61/1 W

PT 60 XXXX XXXX XXXX XXXX XXXX XXXX XXXX
PT61/1 XXXX XXXX XXXX XXXX XXXX XXXX XXXX

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:00 AM.


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