#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Siva and surya

Subject site column A column B column C Columnd
E001 1 Hyperthyroidsm Astma
E001 1 Astma
cold

E001 1 cold cough

E001 1 cough


Hi can anyone let us know which formula will give me whether the value in
column A is present in Col B or Col C or Col D for a single subject. Like
many subjects and site will be present along with columns.
For example subject E001 at site 1 in Col A if Hypothyroidism is present and
exits in Col C, so COL E value will be ok else need to be as check in column D

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Siva and surya

If columnA is your header text and is in Excel Column C (as below); try the
below formula in G2
=IF(AND(C2<"",COUNTIF(D:F,C2)),"ok","")

ColA ColB ColC ColD ColE ColF
Subject site column A column B column C Columnd
E001 1 Hyperthyroidsm Astma
E001 1 Astma
E001 1 cold cough
E001 1 cough

If this post helps click Yes
---------------
Jacob Skaria


"siva" wrote:

Subject site column A column B column C Columnd
E001 1 Hyperthyroidsm Astma
E001 1 Astma
cold

E001 1 cold cough

E001 1 cough


Hi can anyone let us know which formula will give me whether the value in
column A is present in Col B or Col C or Col D for a single subject. Like
many subjects and site will be present along with columns.
For example subject E001 at site 1 in Col A if Hypothyroidism is present and
exits in Col C, so COL E value will be ok else need to be as check in column D

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Siva and surya

Hi,
=IF(A2="","",IF(OR(A2=B2,A2=C2,A2=D2,A2=E2,A2=F2), "OK",""))

"siva" wrote:

Subject site column A column B column C Columnd
E001 1 Hyperthyroidsm Astma
E001 1 Astma
cold

E001 1 cold cough

E001 1 cough


Hi can anyone let us know which formula will give me whether the value in
column A is present in Col B or Col C or Col D for a single subject. Like
many subjects and site will be present along with columns.
For example subject E001 at site 1 in Col A if Hypothyroidism is present and
exits in Col C, so COL E value will be ok else need to be as check in column D

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
Compare multiple columns-----siva and surya siva Excel Worksheet Functions 0 June 22nd 09 07:05 AM
surya and siva surya and siva[_2_] Excel Worksheet Functions 0 June 16th 09 05:31 AM
comparing dates: surya surya and siva[_2_] New Users to Excel 5 June 10th 09 02:19 PM


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