Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum of field corresponding to max date from a table

Hi Guys,

Please help in finding max date from a table.

Problem description is as follows

The list box here shows the date values present in my table. The highlighted date is the max date in that table

list box.JPG

The table below shows the rows in the table corresponding to the max date

msc_med.JPG

Now my requirement is something like below:

When I come to a particular sheet i will have a gauge chart wherin I have to display the sum(msc_med_v_med_count) for the max date. But I will not have the list box or any selection object in the sheet.

How I can I do this? Please help me with a solution

Thanks in advance

Praveena

1 Solution

Accepted Solutions
RedSky001
Partner - Creator III
Partner - Creator III

See the example attached, does that help.

In your case something like this:

= num(sum(if(Date=Max(Total Date),msc_med_v_med_count)) ,'##.##','.')  / 100

View solution in original post

3 Replies
Not applicable
Author

Maybe something like

sum( if(DATE = MAX(DATE),msc_med_v_med_count))

RedSky001
Partner - Creator III
Partner - Creator III

See the example attached, does that help.

In your case something like this:

= num(sum(if(Date=Max(Total Date),msc_med_v_med_count)) ,'##.##','.')  / 100

Not applicable
Author

Thanks Mark.. This worked for me