Formula to write the value depending upon the all other cell values

jayexcelexlplorer

New Member
Joined
Jun 17, 2016
Messages
1
I have a table which has different test scenarios and Results Column which says PASS,FAIL or PENDING.
I have a Master sheet in the same workbook which has consolidated results from all other sheets.
How can i write a formula for each sheet in such a way that if all tests has result "PASS" then the value in the master sheet should be updated automatically to "PASS",even if a single value is "PENDING" or "FAIL" then auto populate as "PENDING" or "FAIL" in Master Sheet.This is my first post so please bare with me if i am not very clear.Let me know if you have any questions regarding this.

Please help in this regard - i thought of putting sample excel cell data here to give complete idea but it was not pasted with format correctly.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hi Jay,
something like:
=IF(COUNTIF(B2:B200,"FAIL")>0,"FAIL","NO FAILS FOUND")
Cheers,
Koen
 
Upvote 0
Try something like...

=IF(COUNTIFS(ResultsColumn,"?*"),IF(SUM(COUNTIFS(ResultsColumn,{"PENDING","FAIL"})),"PENDING/FAIL","PASS"),"")
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,699
Members
449,180
Latest member
craigus51286

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top