Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Cell Content via Secondary Formula

Hello... I was wondering if it were possible to have a formula that
evaluates the content of a cell and then change the values of another cell
based on the criteria?

Range A1 has the evaluation formula
Range B1 has the data to evaluate
Range Sheet2 A1 is changed per A1's Logic

Range A1 = IF(B1="Yes",Sheet2!A1="OK",Sheet2!A1="")


Thanks in Advance,
Rob
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default Cell Content via Secondary Formula

Don't worry about using B1 on the first sheet, instead put your IF function
into A1 on Sheet2, looking back at A1 on the other sheet. In A1 on Sheet2:
=IF(Sheet1!A1="YES","OK","")


"Rob" wrote:

Hello... I was wondering if it were possible to have a formula that
evaluates the content of a cell and then change the values of another cell
based on the criteria?

Range A1 has the evaluation formula
Range B1 has the data to evaluate
Range Sheet2 A1 is changed per A1's Logic

Range A1 = IF(B1="Yes",Sheet2!A1="OK",Sheet2!A1="")


Thanks in Advance,
Rob

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Cell Content via Secondary Formula

On Tue, 7 Jul 2009 04:28:01 -0700, Rob wrote:

Hello... I was wondering if it were possible to have a formula that
evaluates the content of a cell and then change the values of another cell
based on the criteria?

Range A1 has the evaluation formula
Range B1 has the data to evaluate
Range Sheet2 A1 is changed per A1's Logic

Range A1 = IF(B1="Yes",Sheet2!A1="OK",Sheet2!A1="")


Thanks in Advance,
Rob


All that a formula can do is return a value. It cannot alter another cell.

So the way to do this would be to have a formula in Sheet2!A1 that looks at
Range A1 (or even at B1 directly).

If you cannot have a formula in Sheet2!A1, but must have only a value, then you
will need to use a VBA Sub.
--ron
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
how to get formula content of a cell? muster Excel Worksheet Functions 16 July 31st 06 04:02 PM
Cell content differes from formula bar philtyler Excel Discussion (Misc queries) 4 May 9th 06 05:56 PM
Cell content / formula bar different philtyler Excel Discussion (Misc queries) 1 May 5th 06 05:44 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


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