PC Review


Reply
Thread Tools Rate Thread

Excel Formula Troubles

 
 
Patrick.Killela@gmail.com
Guest
Posts: n/a
 
      8th Jul 2008
I'm having trouble with excel formulas.......

If i have a large table with numerical data and i am interested in
writing a formula that will take all cells with #'s greater then 2 and
replacing that # with the word "Up".

Is this possible?

Any Feedback is appreciated

Thanks!!
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      8th Jul 2008
Formulas cannot replace values in another cell.

They can only return results into the cell in which they are written.

You would need a macro to replace.

Sub change_to_Up()
Dim rr As Range
For Each rr In Selection
If rr.Value > 2 Then
rr.Value = "Up"
End If
Next rr
End Sub


Gord Dibben MS Excel MVP

On Tue, 8 Jul 2008 10:08:54 -0700 (PDT), (E-Mail Removed) wrote:

>I'm having trouble with excel formulas.......
>
> If i have a large table with numerical data and i am interested in
>writing a formula that will take all cells with #'s greater then 2 and
>replacing that # with the word "Up".
>
>Is this possible?
>
>Any Feedback is appreciated
>
>Thanks!!


 
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
Excel 2007 Formula troubles lmh Microsoft Excel Worksheet Functions 6 13th Aug 2009 11:08 PM
Formula troubles =?Utf-8?B?RXhjbHV4ZQ==?= Microsoft Excel Misc 6 16th Jul 2007 05:16 PM
Formula troubles egeorge4 Microsoft Excel Discussion 6 24th Feb 2006 08:45 PM
formula troubles JohnE Microsoft Excel Worksheet Functions 1 27th Aug 2004 06:07 PM
Formula troubles =?Utf-8?B?QmlsbCBH?= Microsoft Excel Misc 1 22nd Aug 2004 05:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:35 PM.