Array look and Sum

  • Thread starter Thread starter Fais
  • Start date Start date
F

Fais

Hi,

I have 350 codes in column H and I want to look down A1:A30 and
see if any non blank values there matche any in Column H then add
the relevant cells in other columns like B, C, D etc

Any help will be greatly appreciated.



Fais.

..
 
The query is a bit underspecified...

1]

=SUMIF($A$2:$A$30,H2,$B$2:$B$30)

2]

=SUMPRODUCT(--($A$2:$A$30=H2),$B$2:$B$30+$C$2:$C$30+$D$2:$D$30)

might point you in the right direction.
 
sorry if not clear.

My data might will look like this :

A B C H
Col Col Col Col

1 4 5 33

77 3 10 66

2 20 22 101

66 40 80 47

33 10 15 887

1110
2245
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top