Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default replace value in excel?

Hi,

Is there a replace function that can be used within IF function on
excel worksheet?
In one column A, I have two same number underneath each other...like

1755 - A1
1755 - A2

On the other column B, I have two different values...like

17500 - b1
25000 - b2

Now, what I want to do is insert a column C, and want to compare &
replace: =if(a1=a2, replace b2 to b1....means I want b1 to replace by
value of b2.

Can someone help me with that?

Thank you in advance for your help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
goober
 
Posts: n/a
Default replace value in excel?


Unfortunately the worksheet functions cannot alter the values of a cell
outside of the one with the formula. For example a formula in A1 can
only change cell A1. To do that you would need you would have to use
code in the VBA. Perhaps if you re-posted your problem in the
Programing section someone could give you some help.

Sorry I couldn't be more helpful.


--
goober
------------------------------------------------------------------------
goober's Profile: http://www.excelforum.com/member.php...o&userid=19838
View this thread: http://www.excelforum.com/showthread...hreadid=498969

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do i replace #deel/0! in excel Menno Excel Worksheet Functions 1 December 27th 05 04:47 PM
Using Excel, how do I replace cells containing blanks with nulls? Nither1 Excel Discussion (Misc queries) 2 May 9th 05 10:32 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
How do I replace a worksheet with another worksheet in excel Ammnon Excel Worksheet Functions 1 January 12th 05 10:48 AM


All times are GMT +1. The time now is 04:37 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"