Sumif merged cells

O

Oscar

How can I use the sumif [=SUMIF(A1:A3;D1;B1:B3)] if A1 and A2 are merged and
I want value from merged cell to be valid for both A1 and A2?

Oscar
 
O

Oscar

I agree but in this case I'm not in position to make such a decision. I was
just asked to provide a solution.

Oscar.

David Biddulph said:
Standard advice here is *not* to merge cells.
--
David Biddulph

Oscar said:
How can I use the sumif [=SUMIF(A1:A3;D1;B1:B3)] if A1 and A2 are merged
and
I want value from merged cell to be valid for both A1 and A2?

Oscar
 
R

Roger Govier

Hi Oscar

Assuming there are no other blanks in the range, then
=SUMIF(A1:A3,D1,B1:B3)+SUMIF(A1:A3,"",B1:B3)

--
Regards
Roger Govier

Oscar said:
I agree but in this case I'm not in position to make such a decision. I
was
just asked to provide a solution.

Oscar.

David Biddulph said:
Standard advice here is *not* to merge cells.
--
David Biddulph

Oscar said:
How can I use the sumif [=SUMIF(A1:A3;D1;B1:B3)] if A1 and A2 are
merged
and
I want value from merged cell to be valid for both A1 and A2?

Oscar
 
O

Oscar

Unfortunately there are more than 3 lines involved and more than 1 merged
area in column A (A1:A3, A5:A8, ...).

Roger Govier said:
Hi Oscar

Assuming there are no other blanks in the range, then
=SUMIF(A1:A3,D1,B1:B3)+SUMIF(A1:A3,"",B1:B3)

--
Regards
Roger Govier

Oscar said:
I agree but in this case I'm not in position to make such a decision. I
was
just asked to provide a solution.

Oscar.

David Biddulph said:
Standard advice here is *not* to merge cells.
--
David Biddulph

How can I use the sumif [=SUMIF(A1:A3;D1;B1:B3)] if A1 and A2 are
merged
and
I want value from merged cell to be valid for both A1 and A2?

Oscar
 

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

Top