Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Formulas in UltraWinGrid
posted

Hi,

 

I need a bit of help with using formulas in summaries in the UltraWinGrid.  I have a string column that can display, depending on the row, one of four things:

1. A decimal number in string form e.g. 1234.56

2. The string "<TO_RECALC>"

3. Another string e.g. "Incl", "Excl", etc

4. Nothing, i.e. empty string

 

I want to summary to show the following:

1. If all rows have a decimal number in that column then it will display the sum of those numbers. It will ignore empty string rows.

2. If any row has "<TO_RECALC>" in it, then the summary will display the same, no matter what values are in the other columns.

3. If all rows have the same string in them (no 3) then the summary will display that string, otherwise it will display '0'.

4. If all rows are empty string, then the summary will display empty string.

 

If anyone can giv e me an idea of how to do this using formulas, or possibly anything else, that would be fantastic!

Thanks,

Dane.