purpleozzie
Board Regular
- Joined
- Jun 8, 2015
- Messages
- 64
Hi guys,
In my spreadsheet there is a sheet called 'pre-packaged beer' which has a list of all beer we produce.
We produce some of our beers in keg, some in cask, and some in cans
I've used this formula on another sheet that pulls the list of beers in three times.. Once for Keg once for Cask and once for Cans...
On 'pre-packaged beer' sheet there are three columns O(Keg), P(Cask), Q(Cans) which have a Y in if we produce that product or N if we don't... What I want is for this formula to go down the list checking column O and if there's a 'N' skipping this line of data but not leaving a blank line if that all makes sense..
I also don't want to use Macros
In my spreadsheet there is a sheet called 'pre-packaged beer' which has a list of all beer we produce.
We produce some of our beers in keg, some in cask, and some in cans
I've used this formula on another sheet that pulls the list of beers in three times.. Once for Keg once for Cask and once for Cans...
Code:
=IF(ROW()<=COUNTA('Pre-Packaged Beer'!A:A)*3+4,INDEX('Pre-Packaged Beer'!A:A,MOD(ROW()-5,COUNTA('Pre-Packaged Beer'!A:A))+2),"")
On 'pre-packaged beer' sheet there are three columns O(Keg), P(Cask), Q(Cans) which have a Y in if we produce that product or N if we don't... What I want is for this formula to go down the list checking column O and if there's a 'N' skipping this line of data but not leaving a blank line if that all makes sense..
I also don't want to use Macros