View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Beric Dondarrion Beric Dondarrion is offline
external usenet poster
 
Posts: 8
Default Why won't ADDRESS work nested inside SUMIF?

If I do this:

=ADDRESS(4,MATCH(E37,A2:JW2,0))

I get:

$L$4

If I do:

=SUMIF(A3:JW3,"Units",ADDRESS(4,MATCH(E37,A2:JW2,0 )):JW4)

I get an error. However if I do:

=SUMIF(A3:JW3,"Units",INDIRECT(G1):JW4)

I get the answer I want. However, I'd prefer to not have a helper cell.

Please help!