0

If Statement and NL rows Function

Hi

I want to get the data using NL Rows function from the table that include emply field (e.g. list of job code in GL Entry table where Job code could be blank)

I used if statement as below and it only give me the first record not the list of records I wanted.

=IF(NL("ROWS",NP("UNION",NL("FILTER","G/L ENTRY","JOB CODE",....... FILTERS......)="","''",NL("ROWS",NO("UNION",NL("FILTER","G/L ENTRY","JOB CODE",............FILTERS.........))))

(Filters in above fomular are g/l account no., posting date and cost centre)

How can I make this work?

Thanks in advance.

 

3 comments

Please sign in to leave a comment.