#1   Report Post  
Gailwdz
 
Posts: n/a
Default Formula query

How do I create a formula where the value of one cell is dependent on the
value of two other cells? This formula would form part a nested if function.
  #2   Report Post  
 
Posts: n/a
Default

Hi
You might need an OR or AND formula. You don't say how the cell is dependent
on the other cells, though.
=IF(OR(A2="Y",A3="Y"),"Y","N")
will check if A2 or A3 = "Y" and then return a "Y" if true
=IF(AND(A2="Y",A3="Y"),"Y","N")
will check if A2 and A3 = "Y"
Hope this helps.

--
Andy.


"Gailwdz" wrote in message
...
How do I create a formula where the value of one cell is dependent on the
value of two other cells? This formula would form part a nested if
function.



  #3   Report Post  
Gailwdz
 
Posts: n/a
Default

I think the and function should do it - thanx Andy.

"Andy B" wrote:

Hi
You might need an OR or AND formula. You don't say how the cell is dependent
on the other cells, though.
=IF(OR(A2="Y",A3="Y"),"Y","N")
will check if A2 or A3 = "Y" and then return a "Y" if true
=IF(AND(A2="Y",A3="Y"),"Y","N")
will check if A2 and A3 = "Y"
Hope this helps.

--
Andy.


"Gailwdz" wrote in message
...
How do I create a formula where the value of one cell is dependent on the
value of two other cells? This formula would form part a nested if
function.




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
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
Frequency formula Curious Excel Worksheet Functions 1 April 12th 05 09:49 PM
Multiple Condition Sumif Formula momtoaj Excel Worksheet Functions 3 April 6th 05 04:06 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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

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"