Check if values in each row of array are the same

noctash

New Member
Joined
Aug 4, 2022
Messages
16
Office Version
  1. 365
Platform
  1. Windows
I have a dynamic array that looks like the following on "Sheet 1". The number of samples is referenced from another sheet ("Sheet 2") and linked to a form, such that if I use the form to add another row, it will automatically update on "Sheet 1" with all tasks marked incomplete.

This is only relevant to say the example below is a variable number of rows at any given time.

Example:

Task 1Task 2Task 3
Sample 1DoneIncompleteDone
Sample 2DoneDoneDone
Sample 3DoneDoneDone

My goal: Make a fifth column that checks if all Three tasks are completed, so it looks like this:
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Task 1Task 2Task 3Tasks done?
Sample 1DoneIncompleteDoneNo
Sample 2DoneDoneDoneYes
Sample 3DoneDoneDoneYes

The key being that I want it to be dynamic, so I do not have to drag down every time I add a fourth sample to the reference sheet.

(Sorry for the incomplete message, I can't seem to edit the initial post)
 
Upvote 0
How about
Fluff.xlsm
ABCDE
1
2Sample 1DoneIncompleteDoneNo
3Sample 2DoneDoneDoneYes
4Sample 3DoneDoneDoneYes
Details
Cell Formulas
RangeFormula
A2:D4A2=Q2:T4
E2:E4E2=BYROW(A2#,LAMBDA(br,IF(SUM(--(br="Done"))=3,"Yes","No")))
Dynamic array formulas.
 
Upvote 0
Solution
How about
Fluff.xlsm
ABCDE
1
2Sample 1DoneIncompleteDoneNo
3Sample 2DoneDoneDoneYes
4Sample 3DoneDoneDoneYes
Details
Cell Formulas
RangeFormula
A2:D4A2=Q2:T4
E2:E4E2=BYROW(A2#,LAMBDA(br,IF(SUM(--(br="Done"))=3,"Yes","No")))
Dynamic array formulas.
This is great! Thank you so much!
Going to look more into the syntax of this, this is really helpful for my project.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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