View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Milind Keer[_2_] Milind Keer[_2_] is offline
external usenet poster
 
Posts: 46
Default SUM IF - What if column number is unknown

Hi

I am using formula,

{=SUM(IF($B$66:$B$200=A28,$D$66:$D$200))}

But what if I don't know the coulmn number, i.e. 'D' In my source file
values which I want to retriev are not always in D column, it could b E or F
and evry time I don't want to update my formula...

Coloum Header is always same but not column number. Is ther any way to
retreive column number by using column header and then use that in above
array formula?

Please advise

-- Milind