Hi,
I need to know if it's possible to do the following in a one formula from the following data.
studyID Review IDno Color
A Normal 1233 Blue
R Special 1233 Blue
A Normal 1234 Red
B Normal 2222 Red
R Special 2222 Red
B Normal 2228 Yellow
C Normal 3859 Yellow
R Special 3859 Black
C Normal 3477 Black
D Normal 4447 Green
D Normal 4448 Green
R Special 4448 Green
I need to return a number depending on which color is selected.
Let's say Blue=1, Red=2, Yellow=3,Black=4, Green=5
But it is conditioned by the following.
So for example I need to count the entries in which Idno=Idno where review=Special and
study=a
So if 1233=1233 and study = A it should return a 3.
I need to reference a Whole column not just a defined set.
So basically I need to check if ID's are the same, then specify if its special or normal and the color.
Thanks for any insights.
Bookmarks