Excellent022
New Member
- Joined
- May 15, 2020
- Messages
- 12
- Office Version
- 365
- Platform
- Windows
Hello,
I'm struggling to write the formula that would multiply two cells in two different columns based on one of the columns having a header that matches my reference cell. Below is a basic outline of what I'm trying to do. My reference cell is D1 with a formula that returns the current month. I need a formula for E3 that will search for the May column, then multiply C3 by D3. Any help with this? I tried a Product If formula but got hung up. Thank you!
A B C D E
1 May
2 January February May Cost Total
3 1 3 5 100
4 2 4 6 200
I'm struggling to write the formula that would multiply two cells in two different columns based on one of the columns having a header that matches my reference cell. Below is a basic outline of what I'm trying to do. My reference cell is D1 with a formula that returns the current month. I need a formula for E3 that will search for the May column, then multiply C3 by D3. Any help with this? I tried a Product If formula but got hung up. Thank you!
A B C D E
1 May
2 January February May Cost Total
3 1 3 5 100
4 2 4 6 200