A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditions



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 03:17 PM posted to microsoft.public.excel.misc
Jim
external usenet poster
 
Posts: 1,404
Default Conditions

Hello,

Thanks in advance for the help.

I want to return the word "TRUE" in column G2 if column A2 shows "SF" and
Column I2 is blank.

If column A shows anything other than "SF" it will not meat the condition
and G2 should remain blank. If I2 shows any data, then G2 should remian
blank.

Again, thanks for the help.

Jim


  #2  
Old November 9th, 2009, 03:25 PM posted to microsoft.public.excel.misc
Bob Phillips[_2_]
external usenet poster
 
Posts: 1,562
Default Conditions

=IF(AND(A2="SF",I2=""),TRUE,"")

--
__________________________________
HTH

Bob

"Jim" wrote in message
...
Hello,

Thanks in advance for the help.

I want to return the word "TRUE" in column G2 if column A2 shows "SF" and
Column I2 is blank.

If column A shows anything other than "SF" it will not meat the condition
and G2 should remain blank. If I2 shows any data, then G2 should remian
blank.

Again, thanks for the help.

Jim




  #3  
Old November 9th, 2009, 03:36 PM posted to microsoft.public.excel.misc
Ms-Exl-Learner
external usenet poster
 
Posts: 522
Default Conditions

Use this formula.

=IF(AND((A2="SF"),(I2="")),"TRUE","")

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"Jim" wrote:

Hello,

Thanks in advance for the help.

I want to return the word "TRUE" in column G2 if column A2 shows "SF" and
Column I2 is blank.

If column A shows anything other than "SF" it will not meat the condition
and G2 should remain blank. If I2 shows any data, then G2 should remian
blank.

Again, thanks for the help.

Jim


  #4  
Old November 9th, 2009, 04:14 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Conditions

Yes, but you don't need so many parentheses.
You can change
=IF(AND((A2="SF"),(I2="")),"TRUE","")
to
=IF(AND(A2="SF",I2=""),"TRUE","")

And are you sure that the OP wanted the text string "TRUE"? If Jim wanted
the boolean value TRUE, throw away the quote marks round it, and make it
=IF(AND(A2="SF",I2=""),TRUE,"")
--
David Biddulph

"Ms-Exl-Learner" wrote in message
...
Use this formula.

=IF(AND((A2="SF"),(I2="")),"TRUE","")

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"Jim" wrote:

Hello,

Thanks in advance for the help.

I want to return the word "TRUE" in column G2 if column A2 shows "SF" and
Column I2 is blank.

If column A shows anything other than "SF" it will not meat the condition
and G2 should remain blank. If I2 shows any data, then G2 should remian
blank.

Again, thanks for the help.

Jim




  #5  
Old November 11th, 2009, 03:31 AM posted to microsoft.public.excel.misc
Ms-Exl-Learner
external usenet poster
 
Posts: 522
Default Conditions

David Sir,

I am getting lot of valuable informations from you...

--------------------
(Ms-Exl-Learner)
--------------------



"David Biddulph" wrote:

Yes, but you don't need so many parentheses.
You can change
=IF(AND((A2="SF"),(I2="")),"TRUE","")
to
=IF(AND(A2="SF",I2=""),"TRUE","")

And are you sure that the OP wanted the text string "TRUE"? If Jim wanted
the boolean value TRUE, throw away the quote marks round it, and make it
=IF(AND(A2="SF",I2=""),TRUE,"")
--
David Biddulph

"Ms-Exl-Learner" wrote in message
...
Use this formula.

=IF(AND((A2="SF"),(I2="")),"TRUE","")

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"Jim" wrote:

Hello,

Thanks in advance for the help.

I want to return the word "TRUE" in column G2 if column A2 shows "SF" and
Column I2 is blank.

If column A shows anything other than "SF" it will not meat the condition
and G2 should remain blank. If I2 shows any data, then G2 should remian
blank.

Again, thanks for the help.

Jim




.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.