Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

sumproductsumif

ResolvedVersion 2010

Raani has attended:
Excel Advanced course
Excel VBA Intro Intermediate course

Sumproduct/sumif

I'm trying to create a table which, from a data report, will sum the number of hours specific roles have worked on specific projects.
The issue I'm trying to get around is that some roles need to be added together into one cell and some projects are made up of multiple job codes which also need to be added together.

I initially named the range for the multiple job codes associated with the project. I then used the following formula to add the multiple roles and job
=SUMPRODUCT(MONTH!$I:$I,--ISNUMBER(MATCH(MONTH!$G:$G,{"Account Manager", "Architect"},0)),--ISNUMBER(MATCH(MONTH!$D:$D,JOB NAMED RANGE,0)))

This was fine for three months of data until I started the current month and I was getting an error message:
"Excel cannot complete this task with available resources. Choose less data or close other applications."

I then broke the links to the prior months so it would just do the formula for the current month but still got the same message and read on a forum that this could be due to the large data and volatility of SUMPRODUCT- is this correct?

Then, I tried to use a SUMPRODUCT(SUMIF) by naming the range of roles and job codes
=SUMPRODUCT(SUMIFS(APR!$I:$I,APR!$G:$G,Data roles,APR!$D:$D,ADMIN jobs))
However it's either returning nil values or not adding everything up and I'm not sure why as the data is consistent.

I hope this all makes sense...Any help would be very appreciated

Thanks

RE: Sumproduct/sumif

Hi Raani,

Thank you the forum question.

Is it possible to make an example file to show me what you want to do.

I can see that you refer to whole columns:(=SUMPRODUCT(MONTH!$I:$I,--ISNUMBER(MATCH(MONTH!$G:$G,{"Account Manager", "Architect"},0)),--ISNUMBER(MATCH(MONTH!$D:$D,JOB NAMED RANGE,0))) )

It will take a lot of memory to handle this.

Have you tried using dynamic tables (the format as table tool)? This will reduce have much memory you will need and also update your ranges if you add new records. If you want to test this you will need to change the functions to refer to the dynamic ranges instead of the whole columns.

If I get an example file I can have a look at it and try to help you.

Please forward it to:

info@stl-training.co.uk


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.