Hi,
I have a HUGE data that I am summarizing in a report, and want to show the maximum sales number iif certain conditions are met. I can easily do it with a pivot table, and then linking the result to the report. However, I am trying to figure if there is a formula or code that can be used that would eliminate the use of pivot table? Here is an example of the dataset: The answer I am looking for is just 265$. Thanks much in advance for any hellp!
Name sales $ Sector issue
jill 100 4 private
jack 80 5 public
joey 40 5 private
josh 60 4 private
jill 150 3 public
jack 160 4 public
joey 225 5 private
josh 150 5 private
Here is the pivot table result.
issue private
Sector 5
Sum of sales $
Name Total
joey 265
josh 150
Grand Total 415
I have a HUGE data that I am summarizing in a report, and want to show the maximum sales number iif certain conditions are met. I can easily do it with a pivot table, and then linking the result to the report. However, I am trying to figure if there is a formula or code that can be used that would eliminate the use of pivot table? Here is an example of the dataset: The answer I am looking for is just 265$. Thanks much in advance for any hellp!
Name sales $ Sector issue
jill 100 4 private
jack 80 5 public
joey 40 5 private
josh 60 4 private
jill 150 3 public
jack 160 4 public
joey 225 5 private
josh 150 5 private
Here is the pivot table result.
issue private
Sector 5
Sum of sales $
Name Total
joey 265
josh 150
Grand Total 415