diygail123
New Member
- Joined
- Oct 24, 2018
- Messages
- 25
Hi
Column B of my spreadsheet contains many occurrences of the period numbers 1 - 12, not always in numerical order.
Column G contains many occurrences of different journal numbers, in the format Jnnn.
I am looking for a formula in cell H1 onwards that returns the word "Reversal" if the Journal number in cell G1 occurs further down column G, but has a period number 1 less than that in cell B1.
For example, Cell B1 contains the period number 4. Cell G1 contains the text J123. If J123 occurs somewhere else in column G, and has a corresponding period number of 3 in column B, I would like a formula in Cell H1 that returns the word "Reversal".
I have a feeling this may need and array formula, and I am not too familiar with these, so any help would be very much appreciated.
Thanks
Gail
Column B of my spreadsheet contains many occurrences of the period numbers 1 - 12, not always in numerical order.
Column G contains many occurrences of different journal numbers, in the format Jnnn.
I am looking for a formula in cell H1 onwards that returns the word "Reversal" if the Journal number in cell G1 occurs further down column G, but has a period number 1 less than that in cell B1.
For example, Cell B1 contains the period number 4. Cell G1 contains the text J123. If J123 occurs somewhere else in column G, and has a corresponding period number of 3 in column B, I would like a formula in Cell H1 that returns the word "Reversal".
I have a feeling this may need and array formula, and I am not too familiar with these, so any help would be very much appreciated.
Thanks
Gail