ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Scan group of cells and result based on condition (https://www.excelbanter.com/excel-discussion-misc-queries/186665-scan-group-cells-result-based-condition.html)

Manan

Scan group of cells and result based on condition
 
Hello,

I have group of cells in a coulmn, that have values of
N/A
N/A
N/A
N/A
B

The result cell should scan a group showing above and show result as B. It
means if any of the cell in the group shows B it should show B otherwise N/A.
If the group of cells would be
N/A
N/A
N/A
N/A
N/A
The result cell should show N/A. Any help please?

Thanks,
Manan

AKphidelt

Scan group of cells and result based on condition
 
Type in to a cell the formula

=If(Iserror(Match("B",A1:A5,0)),"N/A","B")

Change A1:A5 to whatever the range of data you have.

"Manan" wrote:

Hello,

I have group of cells in a coulmn, that have values of
N/A
N/A
N/A
N/A
B

The result cell should scan a group showing above and show result as B. It
means if any of the cell in the group shows B it should show B otherwise N/A.
If the group of cells would be
N/A
N/A
N/A
N/A
N/A
The result cell should show N/A. Any help please?

Thanks,
Manan


Manan

Scan group of cells and result based on condition
 
Awsome! I was keep trying different function did not work out. Finally, you
made my day. Thanks a bunch for your great help....

"akphidelt" wrote:

Type in to a cell the formula

=If(Iserror(Match("B",A1:A5,0)),"N/A","B")

Change A1:A5 to whatever the range of data you have.

"Manan" wrote:

Hello,

I have group of cells in a coulmn, that have values of
N/A
N/A
N/A
N/A
B

The result cell should scan a group showing above and show result as B. It
means if any of the cell in the group shows B it should show B otherwise N/A.
If the group of cells would be
N/A
N/A
N/A
N/A
N/A
The result cell should show N/A. Any help please?

Thanks,
Manan



All times are GMT +1. The time now is 12:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com