PC Review


Reply
Thread Tools Rate Thread

How can put a text string in a cell

 
 
=?Utf-8?B?RGVubmlzIEMgQnJvYWRXYXJl?=
Guest
Posts: n/a
 
      10th Nov 2006
How can put a text string in a cell (message) based on tha calculation in
another cell?
 
Reply With Quote
 
 
 
 
Ron Rosenfeld
Guest
Posts: n/a
 
      10th Nov 2006
On Thu, 9 Nov 2006 16:38:02 -0800, Dennis C BroadWare <Dennis C
(E-Mail Removed)> wrote:

>How can put a text string in a cell (message) based on tha calculation in
>another cell?


In message cell, enter a formula of the type:

=IF(another_cell = good_result,"another_cell showed good result", "")




--ron
 
Reply With Quote
 
AndrewArmstrong
Guest
Posts: n/a
 
      10th Nov 2006
Ron,
Are you trying to do this with VBA? If so,
For example, cell C4 will show result, if C3=C2

Range("C4").Select
ActiveCell.FormulaR1C1 = "=IF(R[-1]C=R[-2]C,""good"",""bad"")"
The RC lets you select the offset of the rows and columns, this says if
cell one row above = cell two rows above, then return "good", else
"bad"

Let me know if this is what you're looking for

Andrew J Armstrong

To do this
Ron Rosenfeld wrote:
> On Thu, 9 Nov 2006 16:38:02 -0800, Dennis C BroadWare <Dennis C
> (E-Mail Removed)> wrote:
>
> >How can put a text string in a cell (message) based on tha calculation in
> >another cell?

>
> In message cell, enter a formula of the type:
>
> =IF(another_cell = good_result,"another_cell showed good result", "")
>
>
>
>
> --ron


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
word match in string text in cell, color format cell =?Utf-8?B?anBtYWhvbnk=?= Microsoft Excel Misc 1 31st Oct 2007 03:56 PM
FIND / SEARCH text compare cell to string in 3rd cell =?Utf-8?B?bmFzdGVjaA==?= Microsoft Excel Misc 0 29th Oct 2007 02:51 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel Misc 1 1st Aug 2007 09:03 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel Worksheet Functions 1 1st Aug 2007 09:01 AM
Compare text string of a cell in Column A VS another cell in Colum =?Utf-8?B?VGFu?= Microsoft Excel Programming 0 30th Jul 2007 05:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 PM.