Adding values based on date and Revenue Center

rgillson3

Board Regular
Joined
Oct 3, 2013
Messages
132
Office Version
  1. 365
Platform
  1. Windows
I'm trying to update a worksheet, and HATE continuously editing cells. ie. +5204.52+2345.61.

In my spreadsheet, I have the following sample data:

Week ending dates in D2:D5
Revenue Center names in E1:J1
Sales data in E2:J5

I have the same Revenue Center names in A2:A6, and a single date in B1.

My goal is to be able to change the date in B1, and have add the numbers from the Data field in E2:J5.

I want to a) pull Sales data for a single week and b) pull Sales data for year to date.

I'm trying to start with the formula: =SUMIFS($E$2:$J$5,$E$1:$J$1,$A2, $D$2:$D$5,B1)

I keep getting a #VALUE ! err, and can't figure out why.

I also thought a SUMPRODUCT formula might work, but don't know/understand the formula enough.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Rich (BB code):
=sumifs($e$2:$j$5,$e$1:$j$1,"="&$a2, $d$2:$d$5,"="&b1)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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