nickwilshaw
New Member
- Joined
- Apr 18, 2011
- Messages
- 13
Hi All,
Guess the title sums it up but need to have a macro that will return a value dependent on the row and column.
Accept a sime Index/Match/Match set up will handle this, however, the row headers and columns might be in different row and columns as the sheets from which the data is called are not consistent.
For example, on one spreadsheet for a particular series of months, the dates are in columns B-J but in another it is C-K (appreciate that you would normally have the dates in rows, respresenting the x-axis but the sheets concern projections......)
Likewise, the named accounts might be in the first row, or second row.
I have covered this so far by using an iferror arrangement and using either B-J or C-K. However, I wondered if there was a more succinct way of doing this.
Many thanks,
Nick
Guess the title sums it up but need to have a macro that will return a value dependent on the row and column.
Accept a sime Index/Match/Match set up will handle this, however, the row headers and columns might be in different row and columns as the sheets from which the data is called are not consistent.
For example, on one spreadsheet for a particular series of months, the dates are in columns B-J but in another it is C-K (appreciate that you would normally have the dates in rows, respresenting the x-axis but the sheets concern projections......)
Likewise, the named accounts might be in the first row, or second row.
I have covered this so far by using an iferror arrangement and using either B-J or C-K. However, I wondered if there was a more succinct way of doing this.
Many thanks,
Nick