#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default If Statement

I have written a formula IF(M15="L","X","") but I want to add to the formula
IF(T15="BA","")

Can anyone help me with this?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default If Statement

I'm going to assume that the 2nd formula was supposed to be...
IF(T15="BA","X","")

That would make your 'combined' formula...
IF(or(M15="L", T15="BA"),"X","")

Hope this helps.
Gary Brown


"RWilson130" wrote:

I have written a formula IF(M15="L","X","") but I want to add to the formula
IF(T15="BA","")

Can anyone help me with this?

Thanks!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default If Statement

No I am trying to do two things here....first i want to know if in cell M15 =
L then I need an X, if it doesn't = L then leave it blank, but if T15= BA I
need it to come back a blank no matter if M15 = L or not.

Thanks for your help with this!

"Gary Brown" wrote:

I'm going to assume that the 2nd formula was supposed to be...
IF(T15="BA","X","")

That would make your 'combined' formula...
IF(or(M15="L", T15="BA"),"X","")

Hope this helps.
Gary Brown


"RWilson130" wrote:

I have written a formula IF(M15="L","X","") but I want to add to the formula
IF(T15="BA","")

Can anyone help me with this?

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default If Statement

=IF(T15="BA","",IF(M15="L","X",""))
or
=IF(OR(T15="BA",M15<"L"),"","X")
or
=IF(AND(T15<"BA",M15="L"),"X","")
--
David Biddulph

"RWilson130" wrote in message
...
No I am trying to do two things here....first i want to know if in cell
M15 =
L then I need an X, if it doesn't = L then leave it blank, but if T15= BA
I
need it to come back a blank no matter if M15 = L or not.

Thanks for your help with this!

"Gary Brown" wrote:

I'm going to assume that the 2nd formula was supposed to be...
IF(T15="BA","X","")

That would make your 'combined' formula...
IF(or(M15="L", T15="BA"),"X","")

Hope this helps.
Gary Brown


"RWilson130" wrote:

I have written a formula IF(M15="L","X","") but I want to add to the
formula
IF(T15="BA","")

Can anyone help me with this?

Thanks!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default If Statement

Thank You David!!!

"David Biddulph" wrote:

=IF(T15="BA","",IF(M15="L","X",""))
or
=IF(OR(T15="BA",M15<"L"),"","X")
or
=IF(AND(T15<"BA",M15="L"),"X","")
--
David Biddulph

"RWilson130" wrote in message
...
No I am trying to do two things here....first i want to know if in cell
M15 =
L then I need an X, if it doesn't = L then leave it blank, but if T15= BA
I
need it to come back a blank no matter if M15 = L or not.

Thanks for your help with this!

"Gary Brown" wrote:

I'm going to assume that the 2nd formula was supposed to be...
IF(T15="BA","X","")

That would make your 'combined' formula...
IF(or(M15="L", T15="BA"),"X","")

Hope this helps.
Gary Brown


"RWilson130" wrote:

I have written a formula IF(M15="L","X","") but I want to add to the
formula
IF(T15="BA","")

Can anyone help me with this?

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
if statement Karen Smith Excel Discussion (Misc queries) 11 October 31st 07 03:32 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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