Hello all,
I am trying to write a function that will look up values in an array, and then return a value from a separate array. where:
Column A has a name and dates:..Column B has a number associated with the date (0 or 1)
"John" ..............................................0
6/1 ..............................................0
6/2 ..............................................1
6/3... ..............................................0
6/30 ..............................................1
"Bill" ..............................................0
6/1 ..............................................1
6/2 ..............................................1
6/3... ..............................................0
6/30 .............................................. 1
"Fred" and so on...................................0
I am trying to make a summary table that shows the dates associated with each time "1" occurs
So it will look like:
column C: ...... Column D: ...... Column E:......Column F:
John.................6/2...............6/30............... N/A
Bill ............... 6/1...............6/2............... 6/30
Fred ...............N/A ...............N/A...............N/A
and so on:
I've tried excel formulas, but can't get the right date returned, so I was hoping for some guidance on using VBA to have my own function
Thank you!
Bookmarks