YTD Values based on a Date.

James8761

Board Regular
Joined
Apr 24, 2012
Messages
156
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am trying to create a SUMIF based on a date. The Date is based in Sheet 1, Cell C7 and the 12 options that can be input are May 18 through to Apr 19.

In Sheet2, Cells B4:M4 I have the 12 months of the year (May 18 - Apr 19) for Budget data. Then in Cells A7 all the way down to A100 i have a number of headings. The figures appear in Columns B:M as per the dates.

Concentrating on Sheet 2, Row 7. I want to put a formula in Cell O7 that will pick up the YTD Figures based on the Date input in to Cell Sheet 1, Cell C7.

I tried SUMIFS(B7:M7,B4:M4,">=Shetet1!C7"), but this does not work.



Any help appreciated

Kind regards,
James
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try:
Code:
[COLOR=#333333]=SUMIFS(B7:M7,B4:M4,">=" & Sheet1!C7)[/COLOR]
 
Upvote 0
Try:
Code:
[COLOR=#333333]=SUMIFS(B7:M7,B4:M4,">=" & Sheet1!C7)[/COLOR]


Hi,

thanks for the quick response. That works perfect. I just changed the > to < from what you mentioned, but that was my fault for not explaining correctly.

Thanks again,
James
 
Upvote 0
You are welcome.

I just changed the > to < from what you mentioned, but that was my fault for not explaining correctly.
Yes, I thought you might have had the arrow going the wrong way, but wasn't entirely sure from the explanation.
 
Upvote 0

Forum statistics

Threads
1,224,937
Messages
6,181,865
Members
453,068
Latest member
DCD1872

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