Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splitting cell into 2

Status
Not open for further replies.

Arde

Technical User
Aug 25, 2008
15
FI
Hi,

Can one data cell be separated into two cells?

I am making a report where partly delivered saleorders needs to be in both confirmed and delivered saleorders.

Example:
Saleorder number is x and saleorder total is 10$ where delivered amount is 6$. 4$ needs to be in confirmed saleorders group and 6$ needs to be in delivered saleorders group. Both in the same saleorder number.

What is the best practise to do this.


 
You can create formulas to handle

//@DeliveredAmount
{table.salesordr}*.4

//@SalesOrderGrp
{table.salesordr} - @DeliveredAmount
 
How do you know the amount in the delivered vs. confirmed categories? Is there a field that distinguishes the amounts?

-LB
 
The fields that i have or I can count are.
{@deliveredAmount}
{@UndliveredAmount}
{@SaleOrderNumber}
SaleOrder.status (1=confirmed, 2=partly delivered, 3=delivered)
etc.

I tried to use the SaleOrder.status as to group the orders, but I can't figure how the {@deliveredAmount} and
{@UndliveredAmount} can be in both places at once (status 1 and 2).

Help needed, I have figured out this for too long and i am stuck.

 
Please show the contents of your formulas.
 
I'd use a formula for confirmed of
if {SaleOrder.status} = 1 then {@SaleOrderNumber}

and for Partly deliverd of
if {SaleOrder.status} = 2 then {@SaleOrderNumber}

What are you wanting to do? if it is jsut a count then use
if {SaleOrder.status} = 1 then 1

then sum that column.

Editor and Publisher of Crystal Clear
 
So, the basic idea is to look each order by saleordernumber and group them by confirmed and delivered orders.
ie.
saleordernumber customername subtotal profits date

confirmed group
100 Custname 4$ 30% 2009.1.1

delivered group
100 Custname 6$ 30% 2009.1.1

 
As already requested, please show the contents of your formulas (and any formulas nested within them).

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top