CsJHUN
Active Member
- Joined
- Jan 13, 2015
- Messages
- 360
- Office Version
- 365
- 2021
- 2019
- Platform
- Windows
- Mobile
Hi Board,
Does anyone has advice about this problem.
I have this 2 sample table ("A1:D11" and "F1:G6")
<tbody>
</tbody>
I would like to multiple each group "need to multiply" values for each day with the group multiplier. (with macro if possible )
For example:
- D2 has to be 12 (6*2)
- D6 = 30 (5*6)
- D9 = 4 (2*2)
Thanks in advance!
John
Does anyone has advice about this problem.
I have this 2 sample table ("A1:D11" and "F1:G6")
A | B | C | D | E | F | G | |
---|---|---|---|---|---|---|---|
1 | Grouping | Date | Data name | Data value | Group | Multiplier | |
2 | 1 | 1/1/2017 | Need to multiply | 6 | 1 | 2 | |
3 | 1 | 1/1/2017 | Not need to multiply | 10 | 2 | 6 | |
4 | 1 | 1/1/2017 | Not need to multiply | 4 | 3 | 9 | |
5 | 2 | 1/1/2017 | Not need to multiply | 10 | 4 | 2 | |
6 | 2 | 1/1/2017 | Need to multiply | 5 | 5 | 6 | |
7 | 2 | 1/1/2017 | Not need to multiply | 4 | |||
8 | 3 | 1/2/2017 | Not need to multiply | 5 | |||
9 | 1 | 1/2/2017 | Need to multiply | 2 | |||
10 | 2 | 1/2/2017 | Not need to multiply | 2 | |||
11 | 5 | 1/2/2017 | Not need to multiply | 1 |
<tbody>
</tbody>
I would like to multiple each group "need to multiply" values for each day with the group multiplier. (with macro if possible )
For example:
- D2 has to be 12 (6*2)
- D6 = 30 (5*6)
- D9 = 4 (2*2)
Thanks in advance!
John
Last edited: