madkinson
Board Regular
- Joined
- Dec 17, 2004
- Messages
- 113
- Office Version
- 365
- Platform
- Windows
I generate a sheet every day that has 4 activities and associated data. I need to capture the MIN and MAX as part of the requirement. that is easy manually but how can you automate this every day to account for a different Activity range? In my example sheet, Activity 12 is rows 22 thru 25. Tomorrow, it may be rows 25 thru 40. I tried to do an INDEX/MATCH but it too wasn't flexible enough to deal with different ranges. Am I making this too hard?
Book3 | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Doc # | Date | Act # | Qty | MIN | MAX | ||
2 | 1092043890 | 5/23/2022 | 1 | 14.37 | ||||
3 | 1092043633 | 5/23/2022 | 1 | 25.67 | (3,000) | |||
4 | 1092043641 | 5/23/2022 | 1 | 26.56 | 820 | |||
5 | 1092043643 | 5/23/2022 | 1 | 24.60 | (1,500) | |||
6 | 1092043646 | 5/23/2022 | 1 | 23.70 | (5,400) | |||
7 | 1092043662 | 5/23/2022 | 2 | 21.16 | (2,400) | |||
8 | 1092043676 | 5/23/2022 | 2 | 22.54 | ||||
9 | 1092043753 | 5/23/2022 | 2 | 25.14 | (520) | |||
10 | 1092043762 | 5/23/2022 | 2 | 22.30 | (1,160) | |||
11 | 1092043765 | 5/23/2022 | 2 | 18.75 | ||||
12 | 1092043767 | 5/23/2022 | 2 | 16.92 | 2,520 | |||
13 | 1092043828 | 5/23/2022 | 11 | 24.29 | (500) | |||
14 | 1092043843 | 5/23/2022 | 11 | 25.86 | ||||
15 | 1092043847 | 5/23/2022 | 11 | 24.20 | ||||
16 | 1092043854 | 5/23/2022 | 11 | 23.85 | ||||
17 | 1092043864 | 5/23/2022 | 11 | 22.88 | (500) | |||
18 | 1092043881 | 5/23/2022 | 11 | 24.44 | ||||
19 | 1092043886 | 5/23/2022 | 11 | 23.60 | ||||
20 | 1092043887 | 5/23/2022 | 11 | 24.65 | ||||
21 | 1092043898 | 5/23/2022 | 11 | 23.50 | (500) | |||
22 | 1092043609 | 5/23/2022 | 12 | 22.49 | 1,250 | |||
23 | 1092043612 | 5/23/2022 | 12 | 27.71 | ||||
24 | 1092043617 | 5/23/2022 | 12 | 25.25 | 460 | |||
25 | 1092043621 | 5/23/2022 | 12 | 24.33 | ||||
Sheet1 |