if statement - If and Vlookup across range in Excel -


essentially, need work out each unique id(column a), whether or not "y" exists in set range of cells unique id (column $d). id's there once (where use vlookup) other id's repeated different values in return column.

ideally i'd output sheet output sheet. each id grouped (no duplicate id's).

raw sheet

raw sheet

output sheet

output sheet

please let me know if i've structured incorectly or other feedback. appreciated,

sam

in output sheet try countifs. first test count id in raw data, second check if there y's:

=if(countifs( 'raw sheet'a:a, a1, 'raw sheet'!d:d,"y")>0, "y","n") 

countifs looks rows satisfy having both matched id in column , @ least 1 "y" in column d. if there 1 or more matches, if condition returns "y" otherwise "n".

let me know if need removing duplicates raw data column a.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -