BookmarkSubscribeRSS Feed
FelixT
Calcite | Level 5

Hi,

I have been struggling with a formula for the past 3 weeks. 

 

Here's the situation:

 

I have a data table with data from 2005 to 2020. I need to extract a single week data from the table so it can become my report. Here's a capture.

FelixT_0-1605558000602.png

I want a formula Excel equivalent to a SUMIF(data dates, < my week, SumWeek) in the column Sum Week T-1.

 

Right now I have this formula that works when no filters are applied. 

FelixT_1-1605558190764.png

 

But when I applied the filters, it starts to sum only on the first row, not the entire data set.

 

Thank you for your help.

 

Felix

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 727 views
  • 0 likes
  • 1 in conversation