Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ODB ODB is offline
Junior Member
 
Posts: 2
Exclamation SUMIF like formulae?? Any ideas?

Hi folks,

1st post so please be gentle!

I am after a formula that works in the same way as a Sumif.


I am trying to count particular data for a certian week. However this data is in more than 1 column!

Currently we just add multiple SUMIF's together, but I'm sure there must be a way to add a certain amount of columns together.

Example:

Current way of doing it:
=SUMIF(Master_Data!$C:$C,D38,Master_Data!$CY:$CY)+ SUMIF(Master_Data!$C:$C,D38,Master_Data!$CZ:$CZ)+S UMIF(Master_Data!$C:$C,D38,Master_Data!$DA:$DA)

Is there another formula that will add up all these neighboring columns for a particular week?

I know you can't do it with columns that are seperated but when the columns are in order eg A,B,C,D,E I figure there must be something that will do it!

Please help as we have been working this way for 2 years and I'm convinced there is an easier and tidier way of doing this


Cheers
Chris
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default SUMIF like formulae?? Any ideas?

If you're using xl2007, you can use the entire column. But before xl2007, you
have to limit your range.

But you could try:

=sumproduct((Master_Data!$C1:$C999=D38)*(Master_Da ta!$CY1:$da999))






ODB wrote:

Hi folks,

1st post so please be gentle!

I am after a formula that works in the same way as a Sumif.

I am trying to count particular data for a certian week. However this
data is in more than 1 column!

Currently we just add multiple SUMIF's together, but I'm sure there
must be a way to add a certain amount of columns together.

EXAMPLE:

-Current way of doing it:-
=SUMIF(Master_Data!$C:$C,D38,Master_Data!$CY:$CY)+ SUMIF(Master_Data!$C:$C,D38,Master_Data!$CZ:$CZ)+S UMIF(Master_Data!$C:$C,D38,Master_Data!$DA:$DA)

Is there another formula that will add up all these neighboring columns
for a particular week?

I know you can't do it with columns that are seperated but when the
columns are in order eg A,B,C,D,E I figure there must be something that
will do it!

Please help as we have been working this way for 2 years and I'm
convinced there is an easier and tidier way of doing this

Cheers
Chris

--
ODB


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default SUMIF like formulae?? Any ideas?

If I were doing this, I'd use a helper column that adds the values in CY, CZ,
DA, ...

Then use that in the =sumif() formula.

I bet it would recalculate faster (just a gut feeling).

ODB wrote:

Hi folks,

1st post so please be gentle!

I am after a formula that works in the same way as a Sumif.

I am trying to count particular data for a certian week. However this
data is in more than 1 column!

Currently we just add multiple SUMIF's together, but I'm sure there
must be a way to add a certain amount of columns together.

EXAMPLE:

-Current way of doing it:-
=SUMIF(Master_Data!$C:$C,D38,Master_Data!$CY:$CY)+ SUMIF(Master_Data!$C:$C,D38,Master_Data!$CZ:$CZ)+S UMIF(Master_Data!$C:$C,D38,Master_Data!$DA:$DA)

Is there another formula that will add up all these neighboring columns
for a particular week?

I know you can't do it with columns that are seperated but when the
columns are in order eg A,B,C,D,E I figure there must be something that
will do it!

Please help as we have been working this way for 2 years and I'm
convinced there is an easier and tidier way of doing this

Cheers
Chris

--
ODB


--

Dave Peterson
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
Anyone else have any ideas?? M&M[_2_] Excel Discussion (Misc queries) 3 August 11th 07 01:51 PM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM
Any Ideas? GAIL HORVATH Excel Worksheet Functions 2 May 30th 05 04:17 PM
Any Ideas Greg B Excel Discussion (Misc queries) 7 May 16th 05 03:41 AM
using DSUM in formulae instead of SUMIF Kevin C. McGregor Excel Worksheet Functions 12 February 13th 05 09:09 PM


All times are GMT +1. The time now is 05:12 PM.

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

About Us

"It's about Microsoft Excel"