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 Simple AND formula


Hi Guys

I know this is simple but can somebody tell me how the below formula
should be written

=IF(C2="PARENT" AND B2="B",90)

I know the "AND" part in the middle is incorrect

Thanks inadvance

Digital


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=562765

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Simple AND formula


=if(and(c2="parent",b2="b"),90,"")


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562765

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Simple AND formula

=IF(AND(C2="PARENT", B2="B"),90)

.... and if false?

=IF(AND(C2="PARENT", B2="B"),90,???)

HTH

"digital21st" wrote:


Hi Guys

I know this is simple but can somebody tell me how the below formula
should be written

=IF(C2="PARENT" AND B2="B",90)

I know the "AND" part in the middle is incorrect

Thanks inadvance

Digital


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=562765


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Simple AND formula


Thanks for that VBA Noob

Just expanding on that:

Can i add two more conditions to the formula.

ie.

if

=if(and(c2="parent",b2="b"),90,"") if this is fasle try...

=if(and(c2="parent",b2="a"),120,"") ...if this is not true try...

=if(and(c2="child",b2="b"),60,"") and if this is not true try...

=if(and(c2="child",b2="a"),80,"")

So basically it is trying the three formulas on the same field.

thanks in advance

Digital


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=562765

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Simple AND formula

yes .....


=if(and(c2="parent",b2="b"),90,if(and(c2="parent", b2="a"),120,if(and(c2="child",b2="b"),60,if(and(c2 ="child",b2="a"),80,""))))


"digital21st" wrote:


Thanks for that VBA Noob

Just expanding on that:

Can i add two more conditions to the formula.

ie.

if

=if(and(c2="parent",b2="b"),90,"") if this is fasle try...

=if(and(c2="parent",b2="a"),120,"") ...if this is not true try...

=if(and(c2="child",b2="b"),60,"") and if this is not true try...

=if(and(c2="child",b2="a"),80,"")

So basically it is trying the three formulas on the same field.

thanks in advance

Digital


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=562765




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Simple AND formula


Thanks Toppers


--
digital21st
------------------------------------------------------------------------
digital21st's Profile: http://www.excelforum.com/member.php...o&userid=29575
View this thread: http://www.excelforum.com/showthread...hreadid=562765

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
Simple Excel Formula Help robert145 New Users to Excel 7 March 17th 06 04:32 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM


All times are GMT +1. The time now is 12:35 PM.

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"