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

Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default If Statement

Try this:

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","")

--
Biff
Microsoft Excel MVP


"Trish Smith" wrote in message
...
Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish



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

Try this in I1:

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","")

Hope this helps,

Hutch

"Trish Smith" wrote:

Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish

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

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","whatever you want
if the conditions aren't met")
--
David Biddulph

"Trish Smith" wrote in message
...
Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish



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

Thank you Tom,

That's great!
--
Trish


"Tom Hutchins" wrote:

Try this in I1:

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","")

Hope this helps,

Hutch

"Trish Smith" wrote:

Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish



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

Thank you David,

Looks easy when you do it!
--
Trish


"David Biddulph" wrote:

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","whatever you want
if the conditions aren't met")
--
David Biddulph

"Trish Smith" wrote in message
...
Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
--
Trish




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

It's always easy when you know how! Glad it helped.
--
David Biddulph

"Trish Smith" wrote in message
...
Thank you David,

Looks easy when you do it!
--
Trish


"David Biddulph" wrote:

=IF(AND(A1="A",OR(E1<"A",F1<"A"),OR(G1="A",H1="A ")),"A","whatever you
want
if the conditions aren't met")
--
David Biddulph

"Trish Smith" wrote in message
...
Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it
be
done in one go?

Many thanks
--
Trish






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
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 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
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 02:00 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"