hobgoblinvasya
Board Regular
- Joined
- Jun 29, 2005
- Messages
- 215
hi all,
here is a hard one for all you gurus
i need to find the first non blank cell, checking cells in the same row in every third column to the left of the original cell, up until a certain column.
so lets say i have a cell "AB1". I need to find the first non empty cell to the left of AB1 that is 3,6,9... etc columns from it. So lets say either Y1, V1 or S1. Then if that cell contains "Yes", i need to get the value of that cell. So if Y1 is non empty, i check if Y1 = "Yes", i need to use Y1, if not then i put an empty value. If Y1 was empty, i need to check for V1, then for S1, etc. This should accommodate more then 8 conditions, thus i would like to avoid nested IFs.
so, something like this, but without IFs:
=IF(TRIM(Y1)<>"",IF(Y1<>"Yes",Y1,""),IF(TRIM(V1)<>"",IF(V1<>"Yes",V1,""))
Thanks in advance!
here is a hard one for all you gurus
i need to find the first non blank cell, checking cells in the same row in every third column to the left of the original cell, up until a certain column.
so lets say i have a cell "AB1". I need to find the first non empty cell to the left of AB1 that is 3,6,9... etc columns from it. So lets say either Y1, V1 or S1. Then if that cell contains "Yes", i need to get the value of that cell. So if Y1 is non empty, i check if Y1 = "Yes", i need to use Y1, if not then i put an empty value. If Y1 was empty, i need to check for V1, then for S1, etc. This should accommodate more then 8 conditions, thus i would like to avoid nested IFs.
so, something like this, but without IFs:
=IF(TRIM(Y1)<>"",IF(Y1<>"Yes",Y1,""),IF(TRIM(V1)<>"",IF(V1<>"Yes",V1,""))
Thanks in advance!