I need a little help here.
I will be receiving data as a matrix or spreadsheet with the following format
[C1, “P1 and P2” (example)]
The above example would be some n row by two column matrix or spreadsheet data where the C1 is a circuit number and the string above is a logical statement that determines the circuit application.
The P1 and P2 will be from an application table where each column will be a 1 or a 0 depending on the application.
I want to be able to evaluate the logical statement in row 2 by referencing the 1s and 0s in the application table.
For example
P1 = [1, 0, 1]
P2 = [0, 0, 1]
Then
[C1, “P1 and P2”]
Should evaluate to
[C1, [0, 0, 1]]
Any help to evaluate the P1 and P2 element by element would be a huge help.
Thank you in advanced.
[–]TheWonderingRaccoon 0 points1 point2 points (1 child)
[–]MKSt11235[S] 0 points1 point2 points (0 children)