#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Sumif merged cells

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Sumif merged cells

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

"Oscar" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Sumif merged cells

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" wrote:

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

"Oscar" wrote in message
...
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




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default Sumif merged cells

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" wrote in message
...
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" wrote:

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

"Oscar" wrote in message
...
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




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Sumif merged cells

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

"Roger Govier" wrote:

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" wrote in message
...
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" wrote:

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

"Oscar" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofit Merged cell Code is changing the format of my merged cells JB Excel Discussion (Misc queries) 0 August 20th 07 02:12 PM
Cells are Merged. How to know where to where??? musa.biralo New Users to Excel 2 November 5th 06 05:17 PM
how do i link merged cells to a merged cell in another worksheet. ibbm Excel Worksheet Functions 3 April 27th 06 11:40 PM
Merged Cells TerryTutor Excel Discussion (Misc queries) 1 June 14th 05 05:17 AM
Sorting merged cellsHow do I sort merged cells not identically siz Laval Excel Worksheet Functions 1 November 3rd 04 09:40 PM


All times are GMT +1. The time now is 09:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"