# INDIRECT and SUMIFS with 2 way criteria

1. ## INDIRECT and SUMIFS with 2 way criteria

Purpose: Each week I forecast the next three months on a separate tab. Each week I summarize each month's totals on a summary tab
Objective: To automatically update the Summary Sheet with weekly totals from each tab by matching vertical and horizontal criteria.

Current formula(on summary sheet): =SUMIFS(INDIRECT(C\$3&"!\$I:\$I"),INDIRECT(C\$3&"!\$A:\$A"),Summary!\$A7,INDIRECT(C\$3&"!\$C:\$C"),Summary!\$B7)
With this I have i have matched tabname, region, and product. Now I need to match the date and the columname

C3:tabname

Notes:
No tabs need to be summed
The date will not always be in the same column on each monthly tab
The length of the data will vary

Here is a crude set up of summary page. Each column represents a tab with similar information but it may not be in the same column on each sheet
Current Period 1/11/2019

A B C D E

tabname Jan2019Detail Feb2019Detail Mar2019Detail
date 1/11/2019 1/11/2019 1/11/2019
col name Volume Volume Volume
Region Product
North Apples 107.00 174.00 298.00
North Oranges 106.00 173.00 297.00
South Apples 61.00 128.00 252.00
South Oranges 38.00 105.00 229.00

2. ## Re: INDIRECT and SUMIFS with 2 way criteria

Hi, unable to understand your query. Could you please post image or upload excel file along with your requirement.

3. ## Re: INDIRECT and SUMIFS with 2 way criteria

Don't post an image!!!

Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever). Please DO NOT attach a picture of an Excel sheet (I do not have the patience to re-type any/all your stuff before starting).

1. It does NOT have to be your real sheet - mock up a SAMPLE if you need to. But not 1000's of rows!!! It makes manual checking so tedious. Whatever you do... make sure that all confidential information is removed first!!

2. Make sure that your sample data are truly REPRESENTATIVE of your real data. For example, don't show text in a column if it's really a number. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

3. Make sure that your desired solution is also shown (mock up the results manually). To be honest, I am not interested in seeing a non-working formula... or a pile of blank cells. However, I am very interested in seeing your EXPECTED results in their EXPECTED location.

4. Try not to use merged cells. They cause lots of problems and are DEFINITELY best avoided!

Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

##### Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1