QueenCashew
New member
- Local time
- Today, 06:32
- Joined
- Nov 26, 2018
- Messages
- 3
I am trying to sum a Group in a report if the values in the report are not null. We are trying to track inventory as it moves through the shipping phases and have information that is provided to us in spreadsheets, if the event hasn't yet happened the spot if left blank. I am trying to sum the dollar amount of the inventory at the origin, port, rail, ect. if there is a date in one of the columns. These dates are sorted by Week.
The "Total" column is the money column.
The "Port DptWk" is the Week that the merchandise departed the port. If it is Null it has not had that event occur yet.
These are all sorted according to the Week that they are estimated to arrive at our facility. So I am trying to sum just that weeks merchandise that is at the port, on the rail, ect. in the subgroup for that week.
I have tried
=Sum(IIF([Port DprtWK],<>Null))([Total])
=Sum(IIF([Port DprtWk]),Is NotNull)([Total])
I am at a loss. It will sum all the containers for the week in that subgroup, but I can't get it to exclude Nulls. I am just smart enough to know when I don't know what I am doing so any help would be appreciated.
The "Total" column is the money column.
The "Port DptWk" is the Week that the merchandise departed the port. If it is Null it has not had that event occur yet.
These are all sorted according to the Week that they are estimated to arrive at our facility. So I am trying to sum just that weeks merchandise that is at the port, on the rail, ect. in the subgroup for that week.
I have tried
=Sum(IIF([Port DprtWK],<>Null))([Total])
=Sum(IIF([Port DprtWk]),Is NotNull)([Total])
I am at a loss. It will sum all the containers for the week in that subgroup, but I can't get it to exclude Nulls. I am just smart enough to know when I don't know what I am doing so any help would be appreciated.