MikeCook69
New Member
- Joined
- Jun 4, 2018
- Messages
- 4
I have 2 worksheets. The first work sheet has my raw data. The second worksheet has a list that I am trying to find the max and min values of the raw data and the sum. My data is not sorted.
Worksheet 1
<tbody>
</tbody>
Worksheet 2
<tbody>
</tbody>
So I'm trying to get the following results.
<tbody>
</tbody>
I was trying to use a loop with nested if statements but I'm not sure if that is the most efficient method. I also might be making this more complicated that I need to.
Worksheet 1
A | B | C | D |
g | 1 | 4 | 10 |
e | 2 | 3 | 12 |
g | 1 | 2 | 14 |
g | 4 | 4 | 16 |
e | 3 | 5 | 14 |
f | 2 | 6 | 13 |
e | 4 | 3 | 10 |
g | 2 | 2 | 12 |
<tbody>
</tbody>
Worksheet 2
A | Min B | Max C | Sum D |
g | |||
e |
<tbody>
</tbody>
So I'm trying to get the following results.
A | Min B | Max C | Sum D |
g | 1 | 4 | 52 |
e | 2 | 4 | 36 |
<tbody>
</tbody>
I was trying to use a loop with nested if statements but I'm not sure if that is the most efficient method. I also might be making this more complicated that I need to.