Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Change text based on other cell criteria?

If d1 - c1 30 then I want to change the value of F1 -
how do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 186
Default Change text based on other cell criteria?

Hi,
Not sure where you are going with this question, but...

Assume that D1=50 and C1=10.
In F1 enter: IF(D1-C130,"Change","")
The result will be the word "Change" in F1.
If D1-C1 is not 30, then F1 will remain blank.
--
Ken Hudson


"ansoriano1" wrote:

If d1 - c1 30 then I want to change the value of F1 -
how do I do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Change text based on other cell criteria?

You cannot "push" a value to another cell using a formula.

Formulas can only "pull" to the cell in which they are written.

In F1 enter a formula.

=IF(D1-C130,"greater than 30","no change")

You could use VBA code to change the value in F1 based on the results of your
D1-C1 value.


Gord Dibben MS Excel MVP


On Tue, 22 Aug 2006 14:17:01 -0700, ansoriano1
wrote:

If d1 - c1 30 then I want to change the value of F1 -
how do I do this?


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
Stumped: If a cell contains a formula, can you make text color automatically change? qwopzxnm Excel Worksheet Functions 7 April 5th 06 04:07 AM
Cell Limitations ? Formatting and Size when exporting to Tab based Text file? PaulH_1980 Excel Worksheet Functions 1 March 15th 06 11:51 PM
Locate a cell, based on a criteria, then use the 'Cell' command... cdavidson Excel Discussion (Misc queries) 1 November 17th 05 06:30 PM
Cell text based on 4 condition test Bob Wall Excel Worksheet Functions 3 November 16th 05 07:34 PM
Format text in one cell based on value in another cell Liz C Excel Worksheet Functions 2 June 23rd 05 07:48 PM


All times are GMT +1. The time now is 03:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"