Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Return result of IF logical test in a different cell

Is there a way to return the result of an IF logical test in a cell OTHER
than the cell that the formula is typed in?

For example, if A1 = apples and I want to check this using an IF statement
in C1 I write =IF(A1="apples" ,"yes"), but I want "yes" to appear in B1, not
C1. Is this possible? I tried C1 =IF(A1="apples" , B1="yes")...but no luck.

This is driving me absolutely crazy, since I'm sure there must be a way to
do this. So any input will be much appreciated. Thanks!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Return result of IF logical test in a different cell

in C1 I write =IF(A1="apples" ,"yes"),
but I want "yes" to appear in B1
Is this possible?


No. You'd have to put the formula in cell B1. A formula can only produce a
result in the cell that contains the formula. A formula can't "push" a
result to another cell.

--
Biff
Microsoft Excel MVP


"navyraine" wrote in message
...
Is there a way to return the result of an IF logical test in a cell OTHER
than the cell that the formula is typed in?

For example, if A1 = apples and I want to check this using an IF statement
in C1 I write =IF(A1="apples" ,"yes"), but I want "yes" to appear in B1,
not
C1. Is this possible? I tried C1 =IF(A1="apples" , B1="yes")...but no
luck.

This is driving me absolutely crazy, since I'm sure there must be a way to
do this. So any input will be much appreciated. Thanks!!



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 2000 - IF function returns wrong result from logical test Sean Duffy Excel Worksheet Functions 8 October 15th 08 09:58 PM
logical test for an #N/A condition in a cell F.Rosario Excel Discussion (Misc queries) 6 December 19th 07 10:43 PM
Logical test in IF statement returning incorrect result Isabel Excel Worksheet Functions 3 December 13th 07 06:13 PM
Logical test if cell uses formatting.. Mac Excel Worksheet Functions 2 November 6th 07 03:45 PM
logical test for each and every cell in range matt Excel Discussion (Misc queries) 4 September 16th 05 06:11 AM


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