Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
exceluser2
 
Posts: n/a
Default function to check rows


I have the following example of rows

A B C D(function)
Y N 234 N
Y Y 234 Y
N Y 234 Y
N Y 234 Y
N Y 234 Y
Y N 435 N
Y N 435 N
Y N 435 N
Y N 435 N

I would like for D to have a function where it will return either Y or
N. It would return Y if B contained Y for the set of numbers... ie 234
or 435

Would someone provide me with some help. I have this if function.
Maybe this could be expanded?

=IF((AND(J2="N",D2="Y")),"Y","N")


--
exceluser2
------------------------------------------------------------------------
exceluser2's Profile: http://www.excelforum.com/member.php...o&userid=31338
View this thread: http://www.excelforum.com/showthread...hreadid=556241

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default function to check rows

Hi!

Try this:

=IF(AND(B1="Y",OR(C1={234,435})),"Y","N")

Biff

"exceluser2" wrote
in message ...

I have the following example of rows

A B C D(function)
Y N 234 N
Y Y 234 Y
N Y 234 Y
N Y 234 Y
N Y 234 Y
Y N 435 N
Y N 435 N
Y N 435 N
Y N 435 N

I would like for D to have a function where it will return either Y or
N. It would return Y if B contained Y for the set of numbers... ie 234
or 435

Would someone provide me with some help. I have this if function.
Maybe this could be expanded?

=IF((AND(J2="N",D2="Y")),"Y","N")


--
exceluser2
------------------------------------------------------------------------
exceluser2's Profile:
http://www.excelforum.com/member.php...o&userid=31338
View this thread: http://www.excelforum.com/showthread...hreadid=556241



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
GetPivotData function returning N/A error for some rows Hari Excel Discussion (Misc queries) 1 May 15th 06 07:29 AM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
How do you ignore hidden rows in a countif() function Scott buckwalter Excel Worksheet Functions 9 August 11th 05 08:36 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM


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