Thanks for replying sumproduct returns the number of occurences of my
array, therefore the 1 refers to the number of occurences of
('>45Days'!H4:H318<>"")*('>45Days'!T4:T318="")
Well, 1 would be the result if there were only one match, but I understand what
you're tyring to say.
and not the column in which ir resides. I am looking for something
that will return the row and column for where this occurence is found.
Here's where *YOU* are being unclear. You're searching through two separate
columns for different conditions in each columns, and declaring a 'match' when
both criteria are satisfied in both columns on the same row. In other words, the
'match' occurs when both columns H and T satisfy your criteria. Let's say
there's only one such match, and it occurs in row 100. So '>45Days'!H100<>"" and
'>45Days'!T100="". In which column would you consider such a match occurs? H, T
or some as yet unmentioned column?
You have provided nothing so far that would allow anyone to figure out what you
mean by returning the *column* where this occurrence is found. It's pretty
clearly found in *both* columns H and T, but that doesn't seem to be the answer
you want. Since it is unclear (to put it mildly) what else it could be, I think
you need to provide a simple example of possible data, 4 rows of cols H and T
only with one of the rows satisfying both criteria would be sufficent, and the
column result you'd expect.
For example i found 1 occurence and in the cell where the formula
resides I would like it to return the exact row x col or just the row.
If you mean the row within the range processed (H4:T318), so that a match in
H100 and T100 would return 97, which is the 97th row in the range H4:T318, then
(to repeat) use the array formula
=MATCH(1,('>45Days'!H4:H318<>"")*('>45Days'!T4:T318=""),0)
and *NOTE* that I'm not summing anything, rather I'm locating the first
(topmost) instance in which the values in cols H and T on the same row are
nonempty (<>"") and empty (""), respectively. If you want the match to give the
row number within the worksheet, use
=MATCH(1,('>45Days'!H4:H318<>"")*('>45Days'!T4:T318=""),0)+CELL("Row",H4:T318)-1
One or the other of these gives you the row index or number you claim to be
seeking. If that's not what you want, then you've done an exceptionally poor job
of describing what you want.