hedgie
Board Regular
- Joined
- Jun 23, 2004
- Messages
- 174
- Office Version
- 365
- Platform
- Windows
I am trying to find the best way to do this. I have a spreadsheet that has columns for each week of a month. The rows represent different investments. Some investments report a MTD number each week, others do not. I want a cell that looks up an investment, and returns the latest MTD number. If there is not MTD in the current month it should be 0 (this means the column is blank, not necessarily zero, as zero is a good input. If we are in week 3 and I only have a week 1 number it should be the week 1 number etc.
I started doing this with a very complicated nested if statement, that compares the month of the column and whether it is blank and then looks back 1 column etc., but I am wondering if there is a sumproduct formula that might be more efficient.
Thanks.
I started doing this with a very complicated nested if statement, that compares the month of the column and whether it is blank and then looks back 1 column etc., but I am wondering if there is a sumproduct formula that might be more efficient.
Thanks.