Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Replace text in formula

Hi,
Two questions:
1.
I have a formula which is in quite a few cells. I want to change a specific
text can I do this en mass, or do I have to do each on manually.
e.g.
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173="P"))/D178*100
I want to change the "P" to search for any entry in a cell in the relevant
columns.

2.
What do I replace the "P" with to be able to search for any entry in the
relveant column?

Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Replace text in formula

1. Select the column. Hit Ctrl+H. Find What: "P" Replace with "C" and hit
Replace All

2. Change your formula to a cell reference
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173=J1))/D178*100
where J1 holds the text string P


If this post helps click Yes
---------------
Jacob Skaria


"J Alcorn" wrote:

Hi,
Two questions:
1.
I have a formula which is in quite a few cells. I want to change a specific
text can I do this en mass, or do I have to do each on manually.
e.g.
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173="P"))/D178*100
I want to change the "P" to search for any entry in a cell in the relevant
columns.

2.
What do I replace the "P" with to be able to search for any entry in the
relveant column?

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Replace text in formula

Click Edit/Replace on Excel's menu bar, put this in the "Find what" field...

="P"

and put this in the "Replace with" field...

<""

Then hit the Replace All button.

--
Rick (MVP - Excel)


"J Alcorn" wrote in message
...
Hi,
Two questions:
1.
I have a formula which is in quite a few cells. I want to change a
specific
text can I do this en mass, or do I have to do each on manually.
e.g.
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173="P"))/D178*100
I want to change the "P" to search for any entry in a cell in the relevant
columns.

2.
What do I replace the "P" with to be able to search for any entry in the
relveant column?

Thanks in advance


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Replace text in formula

Seeing Ricks reponse I think I have misunderstood. You should be using <""
within quotes

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

1. Select the column. Hit Ctrl+H. Find What: "P" Replace with "C" and hit
Replace All

2. Change your formula to a cell reference
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173=J1))/D178*100
where J1 holds the text string P


If this post helps click Yes
---------------
Jacob Skaria


"J Alcorn" wrote:

Hi,
Two questions:
1.
I have a formula which is in quite a few cells. I want to change a specific
text can I do this en mass, or do I have to do each on manually.
e.g.
=SUMPRODUCT(--(B7:B173=B178),--(G7:G173="P"))/D178*100
I want to change the "P" to search for any entry in a cell in the relevant
columns.

2.
What do I replace the "P" with to be able to search for any entry in the
relveant column?

Thanks in advance

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
macro that adds formula to replace text Lawribird Excel Worksheet Functions 4 July 3rd 09 09:50 PM
Replace formula to text art Excel Discussion (Misc queries) 4 March 4th 08 03:07 PM
Replace text with formula hmm Excel Discussion (Misc queries) 3 October 31st 07 03:35 PM
How do I replace text within a formula with a diff cell value? Eric_G Excel Worksheet Functions 1 July 18th 07 03:30 PM
How do I replace my vlookup FORMULA with just the TEXT of results J Lew Excel Worksheet Functions 1 May 26th 07 01:41 AM


All times are GMT +1. The time now is 10:19 PM.

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"