Using Sum If for a given date

hedgie

Board Regular
Joined
Jun 23, 2004
Messages
174
Office Version
  1. 365
Platform
  1. Windows
I am having some difficulty getting this to work correctly. I have a spreadsheet that has columns that indicate various dates, the rows are for various customers, some of which might have multiple inputs on any date. I am looking to create a summary page where I can input a date and have the sum of each customer shown.

Currently I do this manually - if 12/31/17 is Column X, and the cusotmer name is on customerpage!A2 then my sum if equation looks like : =SUMIF(page1!B:B,'customerpage!A2',page1!X:X)

Instead I would like to look up the column fo the date and use indirect to make this dynamic based on the date chosen.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
you could use a SUMIFS()
and combine both customer name and date range

SUMIFS( Range to Sum , range for customer name, customer name , range for dates , date)
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top